Skip to content

Get validation schema for a template

Request

Retrieve the validation schema for a specific template identified by its ID.

Security
sessionAuth
Path
orgIdstringrequired

The ID of the organization.

idstringrequired

The ID of the template or "global" for the global template.

curl -i -X GET \
  'https://api.aipim.fynd.com/service/panel/templates/v1.0/org/{orgId}/template/validation/{id}' \
  -b cc.session=YOUR_API_KEY_HERE

Responses

The validation schema for the template.

Bodyapplication/json
propertiesobject

The properties of the validation schema.

typestring

The type of the validation schema.

requiredArray of strings

An array of required property names.

Response
{ "properties": {}, "type": "string", "required": [ "string" ] }