Skip to content

The requirements a case covers

GET
/v1/test-cases/{id}/requirements
curl --request GET \
--url https://beta-api.plune.ai/v1/test-cases/example/requirements \
--header 'Authorization: Bearer <token>'

The other side of the link: the requirements of the project that are not archived and have this case linked. A case with none answers an empty list — it is not an error.

id
required
string

The requirements

Media type application/json
object
requirements
required
Array<object>
object
id
required
string
key
required
string
type
required
string
Allowed values: user_story feature epic
status
required
string
Allowed values: draft active done
title
required
string
Example
{
"requirements": [
{
"type": "user_story",
"status": "draft"
}
]
}

No / invalid token or session

No such case in your projects

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