Skip to content

upsertQualityDocument

WRITE

Upsert quality document.

POST /api/v1/quality/upsertQualityDocument
curl -X POST '<your-host>/api/v1/quality/upsertQualityDocument' \
  -H 'Authorization: Bearer <api-key>' \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "string",
    "version": 0
  }'
Response
{
  "id": "string"
}

Parameters

ParameterType
min length 1
min 0

Input schema

schema
{
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "minLength": 1
    },
    "version": {
      "type": "number",
      "minimum": 0
    },
    "content": {
      "type": "string"
    },
    "copyFromId": {
      "type": "string"
    },
    "id": {
      "type": "string"
    }
  },
  "required": [
    "name",
    "version"
  ]
}