Hub capabilities API - GET categories
Lists all available categories of Hub items.
The request produces an application/json
payload.
GET | ManagedDynatrace for Government | https://{your-domain}/e/{your-environment-id}/api/v2/hub/categories |
SaaS | https://{your-environment-id}.live.dynatrace.com/api/v2/hub/categories | |
Environment ActiveGate | https://{your-activegate-domain}/e/{your-environment-id}/api/v2/hub/categories |
Authentication
To execute this request, you need an access token with hub.read
scope.
To learn how to obtain and use it, see Tokens and authentication.
Parameters
The request doesn't provide any configurable parameters.
Response
Response codes
Code | Type | Description |
---|---|---|
200 | Category | OK |
503 | ErrorEnvelope | Unavailable |
Response body objects
The CategoryList
object
Element | Type | Description |
---|---|---|
items | Category[] | A list of available categories. |
The Category
object
A list of available categories.
Element | Type | Description |
---|---|---|
description | string | Description of the category |
id | string | Id of the category |
name | string | Name of the category |
Response body JSON model
{
"items": [
{
"description": "string",
"id": "string",
"name": "string"
}
]
}