-
GET /artifacts/:id
to list the steps
- Note: the value can already be retrieved with
/testmanagement_definition/:id
route however we need to add the step definition here to be on par with what POST
and PUT
allows. Otherwise we would have to create 2 brand new routes (POST /testmanagement_definitions
and PUT /testmanagement_definitions/:id
) and, for the end users that wants to manipulate the API, to create a test with steps it would require 1 call to create artifact and 1 call to define steps).
For all routes, the step field will looks like (it's the same format than steps
field in /testmanagement_definition/:id
route) :
{
"field_id": int,
"type": "ttmstepdef",
"label": "string",
"value": [
{
"id": int,
"description": string,
"description_format": string,
"expected_results": string,
"expected_results_format": string,
"rank": int
},
...
]
}