Vai al contenuto principale
GET
/
api
/
v1
/
v-ciso
/
organizations
/
{organizationid}
/
workflows
/
{workflowid}
/
tasks
/
{taskid}
/
spec
JSON column spec for a table task
curl --request GET \
  --url https://app.aegister.com/api/v1/v-ciso/organizations/{organizationid}/workflows/{workflowid}/tasks/{taskid}/spec \
  --header 'X-Aegister-Token: <api-key>'
{
  "error": 0,
  "messages": "<array>",
  "data": {
    "task_id": "<string>",
    "title": {
      "en": "<string>",
      "it": "<string>"
    },
    "description": {
      "en": "<string>",
      "it": "<string>"
    },
    "columns": [
      {
        "id": "<string>",
        "label": {
          "en": "<string>",
          "it": "<string>"
        },
        "type": "<string>",
        "multiple": true,
        "required": true,
        "editable": true,
        "custom": true,
        "choices": [
          {
            "value": "<string>",
            "label": {
              "en": "<string>",
              "it": "<string>"
            }
          }
        ],
        "depends_on": "<string>",
        "choices_by_parent": {},
        "source": {},
        "format": {}
      }
    ]
  }
}

Autorizzazioni

X-Aegister-Token
string
header
obbligatorio

Parametri del percorso

organizationid
integer
obbligatorio
taskid
string
obbligatorio
workflowid
string
obbligatorio

Parametri della query

lan
string

Language for labels/validation (en|it).

Risposta

error
integer

Any value different from 0 indicates an error.
More details can be found in messages.

Intervallo richiesto: 0 <= x <= 0
Esempio:

0

messages
array

If error is 1, contains zero or more details on the error.

Esempio:
[]
data
object