POST /api/admin/schema/validate
As of Version | product version 1.0 | component version 1.0 |
---|---|
Request Method | POST |
Response Format | JSON |
Required Permission | available if listed in |
Description | This endpoint is used to validate a tenant schema candidate file. |
Request Headers | Content-Type: application/xml |
Request Example | |
Response Example | The result is a JSON structure containing a 200 - no validation errors { "validationErrors": [] } 422 - there were validation errors { "validationErrors": [ { "message": "Ambiguous ids. There are 2 property type definitions with the id 'tenDefault:from'.", "serviceErrorCode": 2110 }, { "message": "Wrong base id. The base id of the system:document type definition 'tenDefault:email' must be 'system:document', but it is 'system:folder'.", "serviceErrorCode": 2131 }, { "message": "Invalid property reference 'fromm' in type definition 'tenDefault:email'.", "serviceErrorCode": 2132 }, { "message": "Invalid secondary object type reference 'appAcl:aclowner' in type definition 'tenDefault:email'.", "serviceErrorCode": 2135 } ] } |