List Statuses
This request returns a list of statuses.
Resource
GET /statuses
Parameters
Payload
None
Response
Context
Authorization |
Administrator |
Errors
Example
Request
GET https://xelion.nl/api/v1/master/statuses
Response
{
"data": [
{
"object": {
"commonName": "automatic",
"oid": "2082146",
"objectType": "XCCStatus"
},
"links": [
{
"rel": "self",
"method": "GET"
}
]
},
{
"object": {
"commonName": "available",
"oid": "2082147",
"objectType": "XCCStatus"
},
"links": [
{
"rel": "self",
"method": "GET"
}
]
},
{
"object": {
"commonName": "unavailable",
"oid": "2082148",
"objectType": "XCCStatus"
},
"links": [
{
"rel": "self",
"method": "GET"
}
]
}
],
"meta": {
"links": [
{
"rel": "refresh",
"href": "https://xelion.nl/api/v1/master/statuses",
"method": "GET"
},
{
"rel": "next",
"href": "https://xelion.nl/api/v1/master/statuses?after=2122008",
"method": "GET"
},
{
"rel": "previous",
"href": "https://xelion.nl/api/v1/master/statuses?before=2082146",
"method": "GET"
}
],
"paging": {
"previousId": "2082146",
"nextId": "2122008"
}
}
}