Get schema by ID
Get a schema by its ID. This will return the default revision of the schema.
Get a schema by its ID. This will return the default revision of the schema.
Authorization
oauth2 schema.readIn: header
Scope: schema.read
Path Parameters
Query Parameters
The unique identifier of the project
The unique identifier of the team
Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/schemas/string?project_id=river-8421"{ "$schema": "https://json-schema.org/draft/2020-12/schema", "objectType": "human-user", "kind": "user-schema", "metaSchema": "http://example.com", "x-auth-methods": { "password": { "enabled": true, "position": 0 }, "passkey": { "enabled": true, "position": 0 }, "magic_link": { "enabled": true, "position": 0 }, "sso": { "enabled": true, "position": 0 }, "otp": { "enabled": true, "position": 0 } }, "properties": { "property1": { "x-verify": "string", "x-unique": "unspecified", "x-claim": "string", "x-editable": true, "x-sensitive": false, "x-mfa": false, "properties": {} }, "property2": { "x-verify": "string", "x-unique": "unspecified", "x-claim": "string", "x-editable": true, "x-sensitive": false, "x-mfa": false, "properties": {} } }}{ "code": "string", "message": "string", "details": {}}{ "code": "string", "message": "string", "details": {}}{ "code": "string", "message": "string", "details": {}}Create new schema POST
Create a new schema. The schema definition must include a unique $id field, which will be used to identify the schema in future requests. The $id must be a valid URI and should ideally point to the location where the schema can be accessed. The schema can either be a concrete schema, e.g. a user schema, or a schema-url which will be resolved by the server.
System
OpenAPI operations for server health, liveness, and readiness probes.