cURL
curl --request POST \ --url https://api.example.com/schemas \ --header 'Content-Type: application/json' \ --data ' { "name": "My Schema", "schema": { "foo": "bar" } } '
{ "id": "123e4567-e89b-12d3-a456-426614174000", "name": "My Schema", "schema": { "foo": "bar" } }
The name of the schema
"My Schema"
The schema
{ "foo": "bar" }
Schema created successfully
The id of the schema
"123e4567-e89b-12d3-a456-426614174000"