Categories / Get one by key

Return specific category by unique_key.

Route: /api/{tenant:minlength(2)}/v{version:apiVersion}/categories/key/{unique_key}

Method: GET

Authorisation: Minimum role: USER

Request Arguments
Name Type Source
unique_keyString

  Request body example

Response object

Response status: 200 (OK)

Response type: DTO_category

Wrapper: DTO_response_wrap

Other response statuses: 400 (BadRequest), 403 (Forbidden)

  Response body example

DTO_category
NameTypeReadOnlyDescription
created_byDTO_reference_userReadOnlyCreated by
last_updated_byDTO_reference_userReadOnlyLast updated by
childrenDTO_category[]ReadOnlyChildren
idInt32ReadOnlyLeave empty when Creating object
parent_idInt32Parent id
nameStringName
name_pathString[]ReadOnlyName path
unique_keyStringUnique key
descriptionStringDescription
visibilityENUM category_visibilityVisibility
icon_idInt32Icon id
icon_fileStringReadOnlyIcon file
createdDateTimeReadOnlyCreated
last_updatedDateTimeReadOnlyLast updated
DTO_reference_user
NameTypeReadOnlyDescription
profile_picStringReadOnlyProfile pic
emailStringReadOnlyEmail
idInt32Id
labelObjectReadOnlyLabel
DTO_category
NameTypeReadOnlyDescription
created_byDTO_reference_userReadOnlyCreated by
last_updated_byDTO_reference_userReadOnlyLast updated by
childrenDTO_category[]ReadOnlyChildren
idInt32ReadOnlyLeave empty when Creating object
parent_idInt32Parent id
nameStringName
name_pathString[]ReadOnlyName path
unique_keyStringUnique key
descriptionStringDescription
visibilityENUM category_visibilityVisibility
icon_idInt32Icon id
icon_fileStringReadOnlyIcon file
createdDateTimeReadOnlyCreated
last_updatedDateTimeReadOnlyLast updated
ENUM category_visibility
ValueNameDescription
0UNKNOWNUNKNOWN
1INTERNALINTERNAL
2HELP_CENTERHELP CENTER