• Home
  • Dynatrace API
  • Environment
  • Hub items
  • GET categories

Hub capabilities API - GET categories

Lists all available categories of Hub items.

The request produces an application/json payload.

GETManagedDynatrace for Governmenthttps://{your-domain}/e/{your-environment-id}/api/v2/hub/categories
SaaShttps://{your-environment-id}.live.dynatrace.com/api/v2/hub/categories
Environment ActiveGatehttps://{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

CodeTypeDescription
200CategoryList

OK

503ErrorEnvelope

Unavailable

Response body objects

The CategoryList object

ElementTypeDescription
itemsCategory[]

A list of available categories.

The Category object

A list of available categories.

ElementTypeDescription
idstring

Id of the category

namestring

Name of the category

descriptionstring

Description of the category

Response body JSON model

json
{ "items": [ { "id": "string", "name": "string", "description": "string" } ] }