Schema
Query parameters
typestringOptional
Filter by schema type
namestringOptional
Filter by schema name
versionnumber · doubleOptional
Filter by schema version
sortBystring · enumOptionalPossible values:
Sort field
sortOrderstring · enumOptionalPossible values:
Sort order
Responses
200
Found
application/json
400
Bad Request - Invalid query parameters
application/json
get
/api/v1/schemasAuthorizations
x-client-secretstringRequired
Body
Schema definition including name, type, version and credential subject
namestringRequiredExample:
Name of the schema
DriverLicensetypestringRequiredExample:
Type of the schema
https://schema.org/DriverLicenseversionnumber · doubleOptionalExample:
Schema version
1Responses
201
Created
application/json
400
Bad Request - Invalid input parameters
application/json
401
Unauthorized - Invalid client secret
application/json
409
Conflict - Schema already exists
application/json
post
/api/v1/schemasAuthorizations
x-client-secretstringRequired
Path parameters
idstringRequired
Schema ID to delete
Responses
204
No Content
400
Bad Request - Invalid schema ID format
application/json
401
Unauthorized - Invalid client secret
application/json
404
Not Found - Schema with specified ID not found
application/json
409
Conflict - Schema is in use by credentials
application/json
delete
/api/v1/schemas/{id}No content
Last updated