Return the contents of a schema.


This call returns the contents of the staging or published schema as a JSON or XML document. The possible values for state are staging or published. The possible values for type are json or xml. The schema is the schema name.


200 Ok

The response is either an XML or JSON document, depending on the schema type, containing the schema text.

403 Forbidden

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

404 Not Found

Schema not found