get https://ioe.droplit.io/v0/api/schemas/
Get a schema by its file name.
The structures of JSON schemas themselves are highly variable, and aside from a requirement to include the standard JSON Schema address, they can contain any valid JSON required.
Parameters
path
- schemaName (required): The file name of a JSON schema.
Responses
200
{
"schema": "JSON-SCHEMA-ADDRESS"
}
400
- No Query String Allowed: The standard error structure defines this error as invalid parameters, with additional parameters in the query string. In this context, it means that no query string is allowed at all when calling this endpoint.
404
- Schema Not Found: This error means that a schema with the given file name was not found. The file does not need its full path attached, but any file name extension should be included.
Examples
HTTP
GET https://ioe.droplit.io/api/schemas/SCHEMA-NAME HTTP/1.1
Droplit Console
droplit schema read SCHEMA-NAME
Droplit SDK
droplit.schemas.read("SCHEMA-NAME");