YAML Schema
Returns the JSON Schema for the specified entity type. Supports entityType=PROCESS, ACTIVITY, and PROCESS_INPUT.
Query parameters
orgIdentifierstringOptional
Organisation Identifier
projectIdentifierstringOptional
Project Identifier
entityTypestring · enumRequiredPossible values:
The entity type whose YAML schema to retrieve
Header parameters
Harness-AccountstringRequired
Account Identifier
Responses
200
JSON Schema for the requested entity type
application/json
A valid JSON Schema document
Other propertiesanyOptional
400
Error Response body
application/json
403
Error Response body
application/json
500
Error Response body
application/json
get/yamlSchema
GET /api/yamlSchema?entityType=PROCESS HTTP/1.1
Harness-Account: text
Accept: */*
{
"ANY_ADDITIONAL_PROPERTY": "anything"
}Last updated
Was this helpful?