The Open API specification for Synapse is now available for download!

Download Open API Spec

GET /entity/{id}/schema/validation/statistics

Get the The summary statistics of the JSON schema validation results for a single container Entity such as a Project or Folder. Only direct children of the container are included in the results. The statistics include the total number of children in the container, and the counts for both the invalid and valid children. If an Entity has not been validated for the first time, or it does not have bound schema it will be counted as 'unknown'.

The validation of an Entity against its bound schema is automatic and eventually consistent. Keep checking this method to get the latest validation statistics for the given container.

Note: The caller must be granted the ACCESS_TYPE.READ permission on the container Entity. The resulting statistics will only include children that the caller has the READ permission on.

Resource URL

https://repo-prod.prod.sagebase.org/repo/v1/entity/{id}/schema/validation/statistics

Resource URL Variables
{id} The ID of the container Entity.
Resource Information
Authentication Required
Required OAuth Scopes view
HTTP Method GET
Request Object None
Response Object ValidationSummaryStatistics
(application/json)