Skip to main content
POST
/
api
/
v1
/
schema
Create schemas.
curl --request POST \
  --url https://api.revong.com/api/v1/schema \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "desc": "<string>",
  "category": "<string>",
  "active": true,
  "locked": true
}'

Authorizations

Authorization
string
header
required

Bearer token with Platform JWT token or API Key.

Body

application/json
name
string
required

Name.

active
boolean
required

You need to provide if schematic is active to be selected.

locked
boolean
required

You can mark schema as locked, so it cannot be edited.

desc
string

Description.

category
string

Category.

Response

OK.