Details
Description
Get properties
GET /properties/{definitionName}
response
{ {jsonSchema: ...}, {uiSchema: ...}, {properties: ...} }
Triggers on a single property
POST /properties/{definitionName}/validate/{propName}
POST /properties/{definitionName}/beforeActivate/{propName}
POST /properties/{definitionName}/beforeRender/{propName}
POST /properties/{definitionName}/after/{propName}
request
{ {form-data: …} }
response
{ {json-schema: ...}, {ui-schema: ...}, {form-data (properties): ...} }
Validate component properties
POST /properties/{definitionName}
request
{ {form-data: …} }
response OK
HTTP code 204 (no content)
response KO HTTP 400 (ui specs with errors)
{ ui-specs : {}, dataset-ui-specs : {} }
Get dataset properties
POST /properties/{datastoreDefinitionName}/dataset
request
{form-data: …} // datastore form data
response
{ {json-schema: ...}, {ui-schema: ...}, {form-data: ...} }
Validate dataset properties (no connection to datastore)
POST /properties/{datasetDefinitionName}
(same as validating any properties but content is different since is requires both datastore and dataset form data.)
request
{ datastore-form-data: {}, dataset-form-data: {} }
response OK
HTTP code 204 (no content)
response KO HTTP 400 (ui specs with errors)
{ datastore-ui-specs : {}, dataset-ui-specs : {} }