Get a category
GET/categories/:id
Get a category
Request
Path Parameters
Possible values: >= 1
The category ID
Responses
- 200
- 401
- 403
- 404
- 405
- 500
Categories response
- application/json
- Schema
- Example (from schema)
Schema
ID of the category
Name of the category
Description of the category
{
"docc": "string",
"name": "string",
"description": "string"
}
Unauthorized client
Insufficient scope for accessing this resource
- application/json
- Schema
- Example (from schema)
Schema
Array [
BAD_REQUEST
- Malformed request, please advice the description and details fields for more informationFORBIDDEN
- Insufficient scope to access the resourceINTERNAL_SERVER_ERROR
- Unexpected server errorMETHOD_NOT_ALLOWED
- Method not allowedUNSUPPORTED_MEDIA_TYPE
- Unsupported media typeSERVICE_UNAVAILABLE
- Service is unavailable]
errors
object[]
required
Errors
Possible values: non-empty
and <= 100 characters
The application name that generated this error.
Possible values: non-empty
and <= 100 characters
A unique constant identifying the error case encountered during request processing.
Possible values: <= 1000 characters
Short description of the reasonCode field.
Indicates whether this error will always be returned for this request, or retrying could change the outcome.
{
"errors": [
{
"source": "string",
"reasonCode": "string",
"description": "string",
"recoverable": false
}
]
}
One or more resources within the request was not found
- application/json
- Schema
- Example (from schema)
Schema
Array [
BAD_REQUEST
- Malformed request, please advice the description and details fields for more informationFORBIDDEN
- Insufficient scope to access the resourceINTERNAL_SERVER_ERROR
- Unexpected server errorMETHOD_NOT_ALLOWED
- Method not allowedUNSUPPORTED_MEDIA_TYPE
- Unsupported media typeSERVICE_UNAVAILABLE
- Service is unavailable]
errors
object[]
required
Errors
Possible values: non-empty
and <= 100 characters
The application name that generated this error.
Possible values: non-empty
and <= 100 characters
A unique constant identifying the error case encountered during request processing.
Possible values: <= 1000 characters
Short description of the reasonCode field.
Indicates whether this error will always be returned for this request, or retrying could change the outcome.
{
"errors": [
{
"source": "string",
"reasonCode": "string",
"description": "string",
"recoverable": false
}
]
}
Method not allowed
- application/json
- Schema
- Example (from schema)
Schema
Array [
BAD_REQUEST
- Malformed request, please advice the description and details fields for more informationFORBIDDEN
- Insufficient scope to access the resourceINTERNAL_SERVER_ERROR
- Unexpected server errorMETHOD_NOT_ALLOWED
- Method not allowedUNSUPPORTED_MEDIA_TYPE
- Unsupported media typeSERVICE_UNAVAILABLE
- Service is unavailable]
errors
object[]
required
Errors
Possible values: non-empty
and <= 100 characters
The application name that generated this error.
Possible values: non-empty
and <= 100 characters
A unique constant identifying the error case encountered during request processing.
Possible values: <= 1000 characters
Short description of the reasonCode field.
Indicates whether this error will always be returned for this request, or retrying could change the outcome.
{
"errors": [
{
"source": "string",
"reasonCode": "string",
"description": "string",
"recoverable": false
}
]
}
Unexpected server error
- application/json
- Schema
- Example (from schema)
Schema
Array [
BAD_REQUEST
- Malformed request, please advice the description and details fields for more informationFORBIDDEN
- Insufficient scope to access the resourceINTERNAL_SERVER_ERROR
- Unexpected server errorMETHOD_NOT_ALLOWED
- Method not allowedUNSUPPORTED_MEDIA_TYPE
- Unsupported media typeSERVICE_UNAVAILABLE
- Service is unavailable]
errors
object[]
required
Errors
Possible values: non-empty
and <= 100 characters
The application name that generated this error.
Possible values: non-empty
and <= 100 characters
A unique constant identifying the error case encountered during request processing.
Possible values: <= 1000 characters
Short description of the reasonCode field.
Indicates whether this error will always be returned for this request, or retrying could change the outcome.
{
"errors": [
{
"source": "string",
"reasonCode": "string",
"description": "string",
"recoverable": false
}
]
}