Skip to content

Resolve up to 500 identifiers in one request

POST
/v1/test-cases/resolve
curl --request POST \
--url https://beta-api.plune.ai/v1/test-cases/resolve \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "keys": [ { "kind": "path-title", "value": "e2e/checkout.spec.ts > Checkout — empty cart" }, { "value": "3a9f2c1d7b4e6f80" } ] }'

What a reporter calls once for a whole run rather than once per test. Answers 200 with a null id for every key that matches nothing — a list of questions, each of which may be answered “no”.

Media type application/json
object
keys
required
Array<object>
>= 1 items <= 500 items
object
kind
string
value
required
string
Example
{
"keys": [
{
"kind": "path-title",
"value": "e2e/checkout.spec.ts > Checkout — empty cart"
},
{
"value": "3a9f2c1d7b4e6f80"
}
]
}

One answer per key, in the order they were asked

Media type application/json
object
results
required
Array<object>
object
key
object
testCaseId
string
nullable
matchedKind
string
nullable
Example
{
"results": [
{
"key": {
"kind": "path-title",
"value": "e2e/checkout.spec.ts > Checkout — empty cart"
},
"testCaseId": "6f1c2b3a-0000-4000-8000-0000000000c1",
"matchedKind": "path-title"
},
{
"key": {
"value": "3a9f2c1d7b4e6f80"
},
"testCaseId": null,
"matchedKind": null
}
]
}

Empty batch, more than 500 keys, or a kind that does not exist

Media type application/json
object
error
required
string
Example generated
{
"error": "example"
}

Rate-limited: either the per-route throttle or a tenant quota. Retry-After carries the seconds until the window rolls over.

Media type application/json
object
error
required
string
Example generated
{
"error": "example"
}
Retry-After
integer

Seconds until the window rolls over