• Home
  • Dynatrace API
  • Environment
  • Settings
  • Schemas
  • Custom property validator on a list

Settings API - Custom Property-Validator on a list schema table

Custom Property-Validator on a list (builtin:example.custom-validation.property-validator-for-list)

Showcase of a Custom Property-Validator working on a list property and executed in the cluster.

It will check that no duplicate range entries will be added to the list.

For the Java implementation check out ExamplePropertyValidatorForListSchema.java

Schema IDSchema groupsScope
builtin:example.custom-validation.property-validator-for-list
  • group:example
environment
environment-default
Retrieve schema via Settings API
GETManagedhttps://{your-domain}/e/{your-environment-id}/api/v2/settings/schemas/builtin:example.custom-validation.property-validator-for-list
SaaShttps://{your-environment-id}.live.dynatrace.com/api/v2/settings/schemas/builtin:example.custom-validation.property-validator-for-list
Environment ActiveGatehttps://{your-activegate-domain}/e/{your-environment-id}/api/v2/settings/schemas/builtin:example.custom-validation.property-validator-for-list

Authentication

To execute this request, you need an access token with Read settings (settings.read) scope. To learn how to obtain and use it, see Tokens and authentication.

Parameters

PropertyLabelTypeDescriptionRequired
numberRangeListRange Listlist

A list of number ranges. This list may not contain duplicate entries.

required

Request body objects

The NumberRange object
PropertyLabelTypeDescriptionRequired
startStartinteger

Start of the range.

required
endEndinteger

End of the range.

required