Countermeasure Statuses
Get all Countermeasure statuses
This endpoint returns a list of Countermeasure status resources.
GET /api/v2/task-statuses/
Query Parameters
The following parameters may be used to filter the Countermeasure status resources in the response.
Parameter | Description |
---|---|
meaning | Returns a list of the Countermeasure statuses with the specified meaning field. |
id | Returns the id of the Countermeasure status. |
name | Returns the name of the Countermeasure status. |
GET /api/v2/task-statuses/ HTTP/1.1
Accept: application/json
Authorization: Token "YOUR SDE ACCESS TOKEN"
HTTP/1.1 200 OK
Content-Type: application/json
{
"results": [
{
"id": "TS3",
"meaning": "NA",
"icon": "minus-circle",
"name": "Not Applicable",
"requires_comment": false,
"slug": "NA"
},
{
"id": "TS2",
"meaning": "TODO",
"icon": "clock-o",
"name": "Incomplete",
"requires_comment": false,
"slug": "TODO"
},
{
"id": "TS1",
"meaning": "DONE",
"icon": "check",
"name": "Complete",
"requires_comment": false,
"slug": "DONE"
}
]
}