Content resources API - GET configuration

Gets the configuration of content providers in your Dynatrace environment.

The request produces an application/json payload.

Early Adopter

This request is an Early Adopter release and may be changed in non-compatible way.

  • Managed https://{your-domain}/e/{your-environment-id}/api/config/v1/contentResources
  • SaaS https://{your-environment-id}


To execute this request, you need the Read configuration (ReadConfig) permission assigned to your API token. To learn how to obtain and use it, see Tokens and authentication.


The request doesn't provide any configurable parameters.

Response format

The ContentResources object

Content resource settings

Element Type Description
resourceProviders ResourceProvider[]

The resource provider settings

resourceUrlCleanupRules ResourceUrlCleanupRule[]

The resource url cleanup rules

resourceTypes ResourceType[]

The resource type settings

The ResourceType object

Settings for detecting file extensions for resources

Element Type Description
regularExpression string

The regular expression of the resource that will be detected for

primaryResourceType string

The primary resource type

The primaryResourceType element can hold these values.
secondaryResourceType string

The secondary resource type used to override the default resource type

The ResourceUrlCleanupRule object

Resource url cleanup rules are used to aggregate resource urls

Element Type Description
resourceName string

The resource name

regularExpression string

The regular expression

replaceWith string

Replace with, masks the resource name

The ResourceProvider object

Settings for detecting third party content provider

Element Type Description
resourceName string

The resource name

resourceType string

The resource type

The resourceType element can hold these values.
brandIconUrl string

The url for provider's brand icon

domainNamePatterns string[]

The domain name pattern list

Possible values

Possible values for the primaryResourceType element in the ResourceType object:

  • CSS

Possible values for the resourceType element in the ResourceProvider object: