List schemas matching the given criteria.

GET /v1/schemas?query

This call accepts the following query parameters

type
Either json or xml. If omitted, both XML and JSON schemas are returned.
name
Schema name filter. Schemas whose name containing the given string will be returned.
staging
If true, then the staging schemas are returned.
published
If true, then published schemas are returned.
from
Starting offset in the result set. Result set is ordered by name.
n
Maximum results to return. If omitted, result set is capped at 100.

Response

200 Ok

The response is a list of schema metadata objects for schemas that match the given query.

{
  "total":2,
  "schemas": [
    { "name": "FHIR4.0/Patient",
      "schemaMimeType": "application/schema+json",
      "valid": true,
      "published": true},
      ...
  ]
}
400 Bad Request

Malformed request, invalid value, etc. The return value is a JSON error object containing diagnostic information.

403 Forbidden

The authenticated key does not have the privileges for this operation. The return value is a JSON error object containing diagnostic information.