Request

Executes the validators assigned to the content item's fields against their persisted values and returns the results grouped by validation mode. Fields with no assigned validators are omitted. If a single validator fails to execute, its failure is captured as an error result for that validator only and does not prevent other validators from executing.

Security
Bearer
Path
idstringrequired

The content item identifier.

Example:76036f5e-cbce-46d1-af0a-4143f9b557aa
Query
environmentIdstring

The environment identifier. Defaults to "main". Currently only "main" is supported.

Example:environmentId=main
curl -i -X GET \
  'https://edge-platform.sitecorecloud.io/authoring/api/v1/content-items/76036f5e-cbce-46d1-af0a-4143f9b557aa/validate?environmentId=main' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

Successful operation

Bodyapplication/json
idstring or null
groupsobject or null

Field validation results grouped by validation mode (for example ValidatorBar, FieldRegexValidation). Fields with no assigned validators are omitted.

Response
{ "id": "string", "groups": { "property1": [ … ], "property2": [ … ] } }