Skip to content

createRevision

WRITE

Create revision.

POST /api/v1/items/createRevision
curl -X POST '<your-host>/api/v1/items/createRevision' \
  -H 'Authorization: Bearer <api-key>' \
  -H 'Content-Type: application/json' \
  -d '{
    "item": "string",
    "revision": "string"
  }'
Response
{
  "id": "string"
}

Parameters

ParameterType

Input schema

schema
{
  "type": "object",
  "properties": {
    "item": {},
    "revision": {
      "type": "string"
    },
    "active": {
      "type": "boolean"
    }
  },
  "required": [
    "item",
    "revision"
  ]
}