Get all DACS categories
GET/api/v1/dacs
Request
Query Parameters
code string
The DACS code to filter on. If passed, only the category with the given code will be returned. Otherwise all categories will.
Responses
- 200
successful operation
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
serverTime date-time
error stringnullable
description of error in natural language, absent in case of successful operation
payload
object[]
nullable
The response data
id int32
The ID of the category
code string
Used to help locate this category within the DACS universe. Child categories will have the same prefix as their parent. E.G parent will have code 10, and child will have code 1010.
name string
Name of the category
colourRgb string
RGB colour value to use for UI rendering
parentId int32nullable
The category's parent ID, if it has one
{
"serverTime": "2024-01-01T09:00:00.000Z",
"error": "string",
"payload": [
{
"id": 0,
"code": "1010",
"name": "string",
"colourRgb": "#5F7CC6",
"parentId": 0
}
]
}
Loading...