---
openapi: "3.0.3"
info:
  title: "Query Service ReST API"
  license:
    name: "© null-null null. All rights reserved"
  version: "0.0.1-PR-562-889-SNAPSHOT"
servers:
- url: "/"
tags:
- name: "application-admin-controller"
  description: "Application Admin Controller"
- name: "application-controller"
  description: "Application Controller"
- name: "process-definition-admin-controller"
  description: "Process Definition Admin Controller"
- name: "process-definition-controller"
  description: "Process Definition Controller"
- name: "process-instance-admin-controller"
  description: "Process Instance Admin Controller"
- name: "process-instance-controller"
  description: "Process Instance Controller"
- name: "process-instance-delete-controller"
  description: "Process Instance Delete Controller"
- name: "process-instance-diagram-admin-controller"
  description: "Process Instance Diagram Admin Controller"
- name: "process-instance-diagram-controller"
  description: "Process Instance Diagram Controller"
- name: "process-instance-service-tasks-admin-controller"
  description: "Process Instance Service Tasks Admin Controller"
- name: "process-instance-tasks-controller"
  description: "Process Instance Tasks Controller"
- name: "process-instance-variable-admin-controller"
  description: "Process Instance Variable Admin Controller"
- name: "process-instance-variable-controller"
  description: "Process Instance Variable Controller"
- name: "process-model-admin-controller"
  description: "Process Model Admin Controller"
- name: "process-model-controller"
  description: "Process Model Controller"
- name: "service-task-admin-controller"
  description: "Service Task Admin Controller"
- name: "service-task-integration-context-admin-controller"
  description: "Service Task Integration Context Admin Controller"
- name: "task-admin-controller"
  description: "Task Admin Controller"
- name: "task-controller"
  description: "Task Controller"
- name: "task-delete-controller"
  description: "Task Delete Controller"
- name: "task-variable-admin-controller"
  description: "Task Variable Admin Controller"
- name: "task-variable-controller"
  description: "Task Variable Controller"
paths:
  /admin/v1/applications:
    get:
      tags:
      - "application-admin-controller"
      summary: "findAll"
      operationId: "findAll"
      parameters:
      - name: "maxItems"
        in: "query"
        required: false
        style: "form"
        schema:
          type: "integer"
          format: "int32"
      - name: "skipCount"
        in: "query"
        required: false
        style: "form"
        schema:
          type: "integer"
          format: "int32"
      - name: "sort"
        in: "query"
        required: false
        style: "form"
        schema:
          type: "string"
      responses:
        "200":
          description: "OK"
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListResponseContentOfCloudApplication"
            application/hal+json:
              schema:
                $ref: "#/components/schemas/ListResponseContentOfCloudApplication"
        "401":
          description: "Unauthorized"
        "403":
          description: "Forbidden"
        "404":
          description: "Not Found"
      security:
      - oauth: []
  /v1/applications:
    get:
      tags:
      - "application-controller"
      summary: "findAll"
      operationId: "findAll"
      parameters:
      - name: "maxItems"
        in: "query"
        required: false
        style: "form"
        schema:
          type: "integer"
          format: "int32"
      - name: "skipCount"
        in: "query"
        required: false
        style: "form"
        schema:
          type: "integer"
          format: "int32"
      - name: "sort"
        in: "query"
        required: false
        style: "form"
        schema:
          type: "string"
      responses:
        "200":
          description: "OK"
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListResponseContentOfCloudApplication"
            application/hal+json:
              schema:
                $ref: "#/components/schemas/ListResponseContentOfCloudApplication"
        "401":
          description: "Unauthorized"
        "403":
          description: "Forbidden"
        "404":
          description: "Not Found"
      security:
      - oauth: []
  /admin/v1/process-definitions:
    get:
      tags:
      - "process-definition-admin-controller"
      summary: "findAll"
      operationId: "findAll"
      parameters:
      - name: "maxItems"
        in: "query"
        required: false
        style: "form"
        schema:
          type: "integer"
          format: "int32"
      - name: "skipCount"
        in: "query"
        required: false
        style: "form"
        schema:
          type: "integer"
          format: "int32"
      - name: "sort"
        in: "query"
        required: false
        style: "form"
        schema:
          type: "string"
      responses:
        "200":
          description: "OK"
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListResponseContentOfCloudProcessDefinition"
            application/hal+json:
              schema:
                $ref: "#/components/schemas/ListResponseContentOfCloudProcessDefinition"
        "401":
          description: "Unauthorized"
        "403":
          description: "Forbidden"
        "404":
          description: "Not Found"
      security:
      - oauth: []
  /v1/process-definitions:
    get:
      tags:
      - "process-definition-controller"
      summary: "findAll"
      operationId: "findAll"
      parameters:
      - name: "maxItems"
        in: "query"
        required: false
        style: "form"
        schema:
          type: "integer"
          format: "int32"
      - name: "skipCount"
        in: "query"
        required: false
        style: "form"
        schema:
          type: "integer"
          format: "int32"
      - name: "sort"
        in: "query"
        required: false
        style: "form"
        schema:
          type: "string"
      responses:
        "200":
          description: "OK"
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListResponseContentOfCloudProcessDefinition"
            application/hal+json:
              schema:
                $ref: "#/components/schemas/ListResponseContentOfCloudProcessDefinition"
        "401":
          description: "Unauthorized"
        "403":
          description: "Forbidden"
        "404":
          description: "Not Found"
      security:
      - oauth: []
  /admin/v1/process-instances:
    get:
      tags:
      - "process-instance-admin-controller"
      summary: "findAll"
      operationId: "findAll"
      parameters:
      - name: "maxItems"
        in: "query"
        required: false
        style: "form"
        schema:
          type: "integer"
          format: "int32"
      - name: "skipCount"
        in: "query"
        required: false
        style: "form"
        schema:
          type: "integer"
          format: "int32"
      - name: "sort"
        in: "query"
        required: false
        style: "form"
        schema:
          type: "string"
      responses:
        "200":
          description: "OK"
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListResponseContentOfCloudProcessInstance"
            application/hal+json:
              schema:
                $ref: "#/components/schemas/ListResponseContentOfCloudProcessInstance"
        "401":
          description: "Unauthorized"
        "403":
          description: "Forbidden"
        "404":
          description: "Not Found"
      security:
      - oauth: []
    delete:
      tags:
      - "process-instance-delete-controller"
      summary: "deleteProcessInstances"
      operationId: "deleteProcessInstances"
      responses:
        "200":
          description: "OK"
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListResponseContentOfCloudProcessInstance"
            application/hal+json:
              schema:
                $ref: "#/components/schemas/ListResponseContentOfCloudProcessInstance"
        "204":
          description: "No Content"
        "401":
          description: "Unauthorized"
        "403":
          description: "Forbidden"
      security:
      - oauth: []
  /admin/v1/process-instances/{processInstanceId}:
    get:
      tags:
      - "process-instance-admin-controller"
      summary: "findById"
      operationId: "findById"
      parameters:
      - name: "processInstanceId"
        in: "path"
        description: "processInstanceId"
        required: true
        style: "simple"
        schema:
          type: "string"
      responses:
        "200":
          description: "OK"
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/EntryResponseContentOfCloudProcessInstance"
            application/hal+json:
              schema:
                $ref: "#/components/schemas/EntryResponseContentOfCloudProcessInstance"
        "401":
          description: "Unauthorized"
        "403":
          description: "Forbidden"
        "404":
          description: "Not Found"
      security:
      - oauth: []
  /v1/process-instances:
    get:
      tags:
      - "process-instance-controller"
      summary: "findAll"
      operationId: "findAll"
      parameters:
      - name: "maxItems"
        in: "query"
        required: false
        style: "form"
        schema:
          type: "integer"
          format: "int32"
      - name: "skipCount"
        in: "query"
        required: false
        style: "form"
        schema:
          type: "integer"
          format: "int32"
      - name: "sort"
        in: "query"
        required: false
        style: "form"
        schema:
          type: "string"
      responses:
        "200":
          description: "OK"
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListResponseContentOfCloudProcessInstance"
            application/hal+json:
              schema:
                $ref: "#/components/schemas/ListResponseContentOfCloudProcessInstance"
        "401":
          description: "Unauthorized"
        "403":
          description: "Forbidden"
        "404":
          description: "Not Found"
      security:
      - oauth: []
  /v1/process-instances/{processInstanceId}:
    get:
      tags:
      - "process-instance-controller"
      summary: "findById"
      operationId: "findById"
      parameters:
      - name: "processInstanceId"
        in: "path"
        description: "processInstanceId"
        required: true
        style: "simple"
        schema:
          type: "string"
      responses:
        "200":
          description: "OK"
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/EntryResponseContentOfCloudProcessInstance"
            application/hal+json:
              schema:
                $ref: "#/components/schemas/EntryResponseContentOfCloudProcessInstance"
        "401":
          description: "Unauthorized"
        "403":
          description: "Forbidden"
        "404":
          description: "Not Found"
      security:
      - oauth: []
  /v1/process-instances/{processInstanceId}/subprocesses:
    get:
      tags:
      - "process-instance-controller"
      summary: "subprocesses"
      operationId: "subprocesses"
      parameters:
      - name: "maxItems"
        in: "query"
        required: false
        style: "form"
        schema:
          type: "integer"
          format: "int32"
      - name: "processInstanceId"
        in: "path"
        description: "processInstanceId"
        required: true
        style: "simple"
        schema:
          type: "string"
      - name: "skipCount"
        in: "query"
        required: false
        style: "form"
        schema:
          type: "integer"
          format: "int32"
      - name: "sort"
        in: "query"
        required: false
        style: "form"
        schema:
          type: "string"
      responses:
        "200":
          description: "OK"
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListResponseContentOfCloudProcessInstance"
            application/hal+json:
              schema:
                $ref: "#/components/schemas/ListResponseContentOfCloudProcessInstance"
        "401":
          description: "Unauthorized"
        "403":
          description: "Forbidden"
        "404":
          description: "Not Found"
      security:
      - oauth: []
  /admin/v1/process-instances/{processInstanceId}/diagram:
    get:
      tags:
      - "process-instance-diagram-admin-controller"
      summary: "getProcessDiagram"
      operationId: "getProcessDiagram"
      parameters:
      - name: "processInstanceId"
        in: "path"
        description: "processInstanceId"
        required: true
        style: "simple"
        schema:
          type: "string"
      responses:
        "200":
          description: "OK"
          content:
            image/svg+xml:
              schema:
                type: "string"
        "401":
          description: "Unauthorized"
        "403":
          description: "Forbidden"
        "404":
          description: "Not Found"
      security:
      - oauth: []
  /v1/process-instances/{processInstanceId}/diagram:
    get:
      tags:
      - "process-instance-diagram-controller"
      summary: "getProcessDiagram"
      operationId: "getProcessDiagram"
      parameters:
      - name: "processInstanceId"
        in: "path"
        description: "processInstanceId"
        required: true
        style: "simple"
        schema:
          type: "string"
      responses:
        "200":
          description: "OK"
          content:
            image/svg+xml:
              schema:
                type: "string"
        "401":
          description: "Unauthorized"
        "403":
          description: "Forbidden"
        "404":
          description: "Not Found"
      security:
      - oauth: []
  /admin/v1/process-instances/{processInstanceId}/service-tasks:
    get:
      tags:
      - "process-instance-service-tasks-admin-controller"
      summary: "getTasks"
      operationId: "getTasks"
      parameters:
      - name: "maxItems"
        in: "query"
        required: false
        style: "form"
        schema:
          type: "integer"
          format: "int32"
      - name: "processInstanceId"
        in: "path"
        description: "processInstanceId"
        required: true
        style: "simple"
        schema:
          type: "string"
      - name: "skipCount"
        in: "query"
        required: false
        style: "form"
        schema:
          type: "integer"
          format: "int32"
      - name: "sort"
        in: "query"
        required: false
        style: "form"
        schema:
          type: "string"
      responses:
        "200":
          description: "OK"
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListResponseContentOfCloudServiceTask"
            application/hal+json:
              schema:
                $ref: "#/components/schemas/ListResponseContentOfCloudServiceTask"
        "401":
          description: "Unauthorized"
        "403":
          description: "Forbidden"
        "404":
          description: "Not Found"
      security:
      - oauth: []
  /v1/process-instances/{processInstanceId}/tasks:
    get:
      tags:
      - "process-instance-tasks-controller"
      summary: "getTasks"
      operationId: "getTasks"
      parameters:
      - name: "maxItems"
        in: "query"
        required: false
        style: "form"
        schema:
          type: "integer"
          format: "int32"
      - name: "processInstanceId"
        in: "path"
        description: "processInstanceId"
        required: true
        style: "simple"
        schema:
          type: "string"
      - name: "skipCount"
        in: "query"
        required: false
        style: "form"
        schema:
          type: "integer"
          format: "int32"
      - name: "sort"
        in: "query"
        required: false
        style: "form"
        schema:
          type: "string"
      responses:
        "200":
          description: "OK"
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListResponseContentOfQueryCloudTask"
            application/hal+json:
              schema:
                $ref: "#/components/schemas/ListResponseContentOfQueryCloudTask"
        "401":
          description: "Unauthorized"
        "403":
          description: "Forbidden"
        "404":
          description: "Not Found"
      security:
      - oauth: []
  /admin/v1/process-instances/{processInstanceId}/variables:
    get:
      tags:
      - "process-instance-variable-admin-controller"
      summary: "getVariables"
      operationId: "getVariables"
      parameters:
      - name: "maxItems"
        in: "query"
        required: false
        style: "form"
        schema:
          type: "integer"
          format: "int32"
      - name: "processInstanceId"
        in: "path"
        description: "processInstanceId"
        required: true
        style: "simple"
        schema:
          type: "string"
      - name: "skipCount"
        in: "query"
        required: false
        style: "form"
        schema:
          type: "integer"
          format: "int32"
      - name: "sort"
        in: "query"
        required: false
        style: "form"
        schema:
          type: "string"
      responses:
        "200":
          description: "OK"
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListResponseContentOfCloudVariableInstance"
            application/hal+json:
              schema:
                $ref: "#/components/schemas/ListResponseContentOfCloudVariableInstance"
        "401":
          description: "Unauthorized"
        "403":
          description: "Forbidden"
        "404":
          description: "Not Found"
      security:
      - oauth: []
  /v1/process-instances/{processInstanceId}/variables:
    get:
      tags:
      - "process-instance-variable-controller"
      summary: "getVariables"
      operationId: "getVariables"
      parameters:
      - name: "maxItems"
        in: "query"
        required: false
        style: "form"
        schema:
          type: "integer"
          format: "int32"
      - name: "processInstanceId"
        in: "path"
        description: "processInstanceId"
        required: true
        style: "simple"
        schema:
          type: "string"
      - name: "skipCount"
        in: "query"
        required: false
        style: "form"
        schema:
          type: "integer"
          format: "int32"
      - name: "sort"
        in: "query"
        required: false
        style: "form"
        schema:
          type: "string"
      responses:
        "200":
          description: "OK"
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListResponseContentOfCloudVariableInstance"
            application/hal+json:
              schema:
                $ref: "#/components/schemas/ListResponseContentOfCloudVariableInstance"
        "401":
          description: "Unauthorized"
        "403":
          description: "Forbidden"
        "404":
          description: "Not Found"
      security:
      - oauth: []
  /admin/v1/process-definitions/{processDefinitionId}/model:
    get:
      tags:
      - "process-model-admin-controller"
      summary: "getProcessModel"
      operationId: "getProcessModel"
      parameters:
      - name: "processDefinitionId"
        in: "path"
        description: "processDefinitionId"
        required: true
        style: "simple"
        schema:
          type: "string"
      responses:
        "200":
          description: "OK"
          content:
            application/xml:
              schema:
                type: "string"
        "401":
          description: "Unauthorized"
        "403":
          description: "Forbidden"
        "404":
          description: "Not Found"
      security:
      - oauth: []
  /v1/process-definitions/{processDefinitionId}/model:
    get:
      tags:
      - "process-model-controller"
      summary: "getProcessModel"
      operationId: "getProcessModel"
      parameters:
      - name: "processDefinitionId"
        in: "path"
        description: "processDefinitionId"
        required: true
        style: "simple"
        schema:
          type: "string"
      responses:
        "200":
          description: "OK"
          content:
            application/xml:
              schema:
                type: "string"
        "401":
          description: "Unauthorized"
        "403":
          description: "Forbidden"
        "404":
          description: "Not Found"
      security:
      - oauth: []
  /admin/v1/service-tasks:
    get:
      tags:
      - "service-task-admin-controller"
      summary: "findAll"
      operationId: "findAll"
      parameters:
      - name: "maxItems"
        in: "query"
        required: false
        style: "form"
        schema:
          type: "integer"
          format: "int32"
      - name: "skipCount"
        in: "query"
        required: false
        style: "form"
        schema:
          type: "integer"
          format: "int32"
      - name: "sort"
        in: "query"
        required: false
        style: "form"
        schema:
          type: "string"
      responses:
        "200":
          description: "OK"
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListResponseContentOfCloudServiceTask"
            application/hal+json:
              schema:
                $ref: "#/components/schemas/ListResponseContentOfCloudServiceTask"
        "401":
          description: "Unauthorized"
        "403":
          description: "Forbidden"
        "404":
          description: "Not Found"
      security:
      - oauth: []
  /admin/v1/service-tasks/{serviceTaskId}:
    get:
      tags:
      - "service-task-admin-controller"
      summary: "findById"
      operationId: "findById"
      parameters:
      - name: "serviceTaskId"
        in: "path"
        description: "serviceTaskId"
        required: true
        style: "simple"
        schema:
          type: "string"
      responses:
        "200":
          description: "OK"
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/EntryResponseContentOfCloudServiceTask"
            application/hal+json:
              schema:
                $ref: "#/components/schemas/EntryResponseContentOfCloudServiceTask"
        "401":
          description: "Unauthorized"
        "403":
          description: "Forbidden"
        "404":
          description: "Not Found"
      security:
      - oauth: []
  /admin/v1/service-tasks/{serviceTaskId}/integration-context:
    get:
      tags:
      - "service-task-integration-context-admin-controller"
      summary: "findById"
      operationId: "findById"
      parameters:
      - name: "serviceTaskId"
        in: "path"
        description: "serviceTaskId"
        required: true
        style: "simple"
        schema:
          type: "string"
      responses:
        "200":
          description: "OK"
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/EntryResponseContentOfCloudIntegrationContext"
            application/hal+json:
              schema:
                $ref: "#/components/schemas/EntryResponseContentOfCloudIntegrationContext"
        "401":
          description: "Unauthorized"
        "403":
          description: "Forbidden"
        "404":
          description: "Not Found"
      security:
      - oauth: []
  /admin/v1/tasks:
    get:
      tags:
      - "task-admin-controller"
      summary: "findAll"
      operationId: "findAll"
      parameters:
      - name: "maxItems"
        in: "query"
        required: false
        style: "form"
        schema:
          type: "integer"
          format: "int32"
      - name: "rootTasksOnly"
        in: "query"
        description: "rootTasksOnly"
        required: false
        style: "form"
        schema:
          type: "boolean"
      - name: "skipCount"
        in: "query"
        required: false
        style: "form"
        schema:
          type: "integer"
          format: "int32"
      - name: "sort"
        in: "query"
        required: false
        style: "form"
        schema:
          type: "string"
      - name: "variables.name"
        in: "query"
        required: false
        style: "form"
        schema:
          type: "string"
      - name: "variables.type"
        in: "query"
        required: false
        style: "form"
        schema:
          type: "string"
      - name: "variables.value"
        in: "query"
        required: false
        style: "form"
        schema:
          type: "string"
      - name: "standalone"
        in: "query"
        description: "standalone"
        required: false
        style: "form"
        schema:
          type: "boolean"
      responses:
        "200":
          description: "OK"
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListResponseContentOfQueryCloudTask"
            application/hal+json:
              schema:
                $ref: "#/components/schemas/ListResponseContentOfQueryCloudTask"
        "401":
          description: "Unauthorized"
        "403":
          description: "Forbidden"
        "404":
          description: "Not Found"
      security:
      - oauth: []
    delete:
      tags:
      - "task-delete-controller"
      summary: "deleteTasks"
      operationId: "deleteTasks"
      responses:
        "200":
          description: "OK"
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListResponseContentOfQueryCloudTask"
            application/hal+json:
              schema:
                $ref: "#/components/schemas/ListResponseContentOfQueryCloudTask"
        "204":
          description: "No Content"
        "401":
          description: "Unauthorized"
        "403":
          description: "Forbidden"
      security:
      - oauth: []
  /admin/v1/tasks/{taskId}:
    get:
      tags:
      - "task-admin-controller"
      summary: "findById"
      operationId: "findById"
      parameters:
      - name: "taskId"
        in: "path"
        description: "taskId"
        required: true
        style: "simple"
        schema:
          type: "string"
      responses:
        "200":
          description: "OK"
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/EntryResponseContentOfQueryCloudTask"
            application/hal+json:
              schema:
                $ref: "#/components/schemas/EntryResponseContentOfQueryCloudTask"
        "401":
          description: "Unauthorized"
        "403":
          description: "Forbidden"
        "404":
          description: "Not Found"
      security:
      - oauth: []
  /admin/v1/tasks/{taskId}/candidate-groups:
    get:
      tags:
      - "task-admin-controller"
      summary: "getTaskCandidateGroups"
      operationId: "getTaskCandidateGroups"
      parameters:
      - name: "taskId"
        in: "path"
        description: "taskId"
        required: true
        style: "simple"
        schema:
          type: "string"
      responses:
        "200":
          description: "OK"
          content:
            application/json:
              schema:
                type: "array"
                items:
                  type: "string"
            application/hal+json:
              schema:
                type: "array"
                items:
                  type: "string"
        "401":
          description: "Unauthorized"
        "403":
          description: "Forbidden"
        "404":
          description: "Not Found"
      security:
      - oauth: []
  /admin/v1/tasks/{taskId}/candidate-users:
    get:
      tags:
      - "task-admin-controller"
      summary: "getTaskCandidateUsers"
      operationId: "getTaskCandidateUsers"
      parameters:
      - name: "taskId"
        in: "path"
        description: "taskId"
        required: true
        style: "simple"
        schema:
          type: "string"
      responses:
        "200":
          description: "OK"
          content:
            application/json:
              schema:
                type: "array"
                items:
                  type: "string"
            application/hal+json:
              schema:
                type: "array"
                items:
                  type: "string"
        "401":
          description: "Unauthorized"
        "403":
          description: "Forbidden"
        "404":
          description: "Not Found"
      security:
      - oauth: []
  /v1/tasks:
    get:
      tags:
      - "task-controller"
      summary: "findAll"
      operationId: "findAll"
      parameters:
      - name: "maxItems"
        in: "query"
        required: false
        style: "form"
        schema:
          type: "integer"
          format: "int32"
      - name: "rootTasksOnly"
        in: "query"
        description: "rootTasksOnly"
        required: false
        style: "form"
        schema:
          type: "boolean"
      - name: "skipCount"
        in: "query"
        required: false
        style: "form"
        schema:
          type: "integer"
          format: "int32"
      - name: "sort"
        in: "query"
        required: false
        style: "form"
        schema:
          type: "string"
      - name: "variables.name"
        in: "query"
        required: false
        style: "form"
        schema:
          type: "string"
      - name: "variables.type"
        in: "query"
        required: false
        style: "form"
        schema:
          type: "string"
      - name: "variables.value"
        in: "query"
        required: false
        style: "form"
        schema:
          type: "string"
      - name: "standalone"
        in: "query"
        description: "standalone"
        required: false
        style: "form"
        schema:
          type: "boolean"
      responses:
        "200":
          description: "OK"
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListResponseContentOfQueryCloudTask"
            application/hal+json:
              schema:
                $ref: "#/components/schemas/ListResponseContentOfQueryCloudTask"
        "401":
          description: "Unauthorized"
        "403":
          description: "Forbidden"
        "404":
          description: "Not Found"
      security:
      - oauth: []
  /v1/tasks/{taskId}:
    get:
      tags:
      - "task-controller"
      summary: "findById"
      operationId: "findById"
      parameters:
      - name: "taskId"
        in: "path"
        description: "taskId"
        required: true
        style: "simple"
        schema:
          type: "string"
      responses:
        "200":
          description: "OK"
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/EntryResponseContentOfQueryCloudTask"
            application/hal+json:
              schema:
                $ref: "#/components/schemas/EntryResponseContentOfQueryCloudTask"
        "401":
          description: "Unauthorized"
        "403":
          description: "Forbidden"
        "404":
          description: "Not Found"
      security:
      - oauth: []
  /v1/tasks/{taskId}/candidate-groups:
    get:
      tags:
      - "task-controller"
      summary: "getTaskCandidateGroups"
      operationId: "getTaskCandidateGroups"
      parameters:
      - name: "taskId"
        in: "path"
        description: "taskId"
        required: true
        style: "simple"
        schema:
          type: "string"
      responses:
        "200":
          description: "OK"
          content:
            application/json:
              schema:
                type: "array"
                items:
                  type: "string"
            application/hal+json:
              schema:
                type: "array"
                items:
                  type: "string"
        "401":
          description: "Unauthorized"
        "403":
          description: "Forbidden"
        "404":
          description: "Not Found"
      security:
      - oauth: []
  /v1/tasks/{taskId}/candidate-users:
    get:
      tags:
      - "task-controller"
      summary: "getTaskCandidateUsers"
      operationId: "getTaskCandidateUsers"
      parameters:
      - name: "taskId"
        in: "path"
        description: "taskId"
        required: true
        style: "simple"
        schema:
          type: "string"
      responses:
        "200":
          description: "OK"
          content:
            application/json:
              schema:
                type: "array"
                items:
                  type: "string"
            application/hal+json:
              schema:
                type: "array"
                items:
                  type: "string"
        "401":
          description: "Unauthorized"
        "403":
          description: "Forbidden"
        "404":
          description: "Not Found"
      security:
      - oauth: []
  /admin/v1/tasks/{taskId}/variables:
    get:
      tags:
      - "task-variable-admin-controller"
      summary: "getVariables"
      operationId: "getVariables"
      parameters:
      - name: "maxItems"
        in: "query"
        required: false
        style: "form"
        schema:
          type: "integer"
          format: "int32"
      - name: "skipCount"
        in: "query"
        required: false
        style: "form"
        schema:
          type: "integer"
          format: "int32"
      - name: "sort"
        in: "query"
        required: false
        style: "form"
        schema:
          type: "string"
      - name: "taskId"
        in: "path"
        description: "taskId"
        required: true
        style: "simple"
        schema:
          type: "string"
      responses:
        "200":
          description: "OK"
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListResponseContentOfCloudVariableInstance"
            application/hal+json:
              schema:
                $ref: "#/components/schemas/ListResponseContentOfCloudVariableInstance"
        "401":
          description: "Unauthorized"
        "403":
          description: "Forbidden"
        "404":
          description: "Not Found"
      security:
      - oauth: []
  /v1/tasks/{taskId}/variables:
    get:
      tags:
      - "task-variable-controller"
      summary: "getVariables"
      operationId: "getVariables"
      parameters:
      - name: "maxItems"
        in: "query"
        required: false
        style: "form"
        schema:
          type: "integer"
          format: "int32"
      - name: "skipCount"
        in: "query"
        required: false
        style: "form"
        schema:
          type: "integer"
          format: "int32"
      - name: "sort"
        in: "query"
        required: false
        style: "form"
        schema:
          type: "string"
      - name: "taskId"
        in: "path"
        description: "taskId"
        required: true
        style: "simple"
        schema:
          type: "string"
      responses:
        "200":
          description: "OK"
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListResponseContentOfCloudVariableInstance"
            application/hal+json:
              schema:
                $ref: "#/components/schemas/ListResponseContentOfCloudVariableInstance"
        "401":
          description: "Unauthorized"
        "403":
          description: "Forbidden"
        "404":
          description: "Not Found"
      security:
      - oauth: []
components:
  schemas:
    CloudApplication:
      title: "CloudApplication"
      type: "object"
      properties:
        id:
          type: "string"
        name:
          type: "string"
        version:
          type: "string"
    CloudIntegrationContext:
      title: "CloudIntegrationContext"
      type: "object"
      properties:
        appName:
          type: "string"
        appVersion:
          type: "string"
        businessKey:
          type: "string"
        clientId:
          type: "string"
        clientName:
          type: "string"
        clientType:
          type: "string"
        connectorType:
          type: "string"
        errorClassName:
          type: "string"
        errorCode:
          type: "string"
        errorDate:
          type: "string"
          format: "date-time"
        errorMessage:
          type: "string"
        executionId:
          type: "string"
        id:
          type: "string"
        inBoundVariables:
          type: "object"
        outBoundVariables:
          type: "object"
        parentProcessInstanceId:
          type: "string"
        processDefinitionId:
          type: "string"
        processDefinitionKey:
          type: "string"
        processDefinitionVersion:
          type: "integer"
          format: "int32"
        processInstanceId:
          type: "string"
        requestDate:
          type: "string"
          format: "date-time"
        resultDate:
          type: "string"
          format: "date-time"
        rootProcessInstanceId:
          type: "string"
        serviceFullName:
          type: "string"
        serviceName:
          type: "string"
        serviceType:
          type: "string"
        serviceVersion:
          type: "string"
        stackTraceElements:
          type: "array"
          items:
            $ref: "#/components/schemas/StackTraceElement"
        status:
          type: "string"
          enum:
          - "INTEGRATION_ERROR_RECEIVED"
          - "INTEGRATION_REQUESTED"
          - "INTEGRATION_RESULT_RECEIVED"
    CloudProcessDefinition:
      title: "CloudProcessDefinition"
      type: "object"
      properties:
        appName:
          type: "string"
        appVersion:
          type: "string"
        category:
          type: "string"
        description:
          type: "string"
        formKey:
          type: "string"
        id:
          type: "string"
        key:
          type: "string"
        name:
          type: "string"
        serviceFullName:
          type: "string"
        serviceName:
          type: "string"
        serviceType:
          type: "string"
        serviceVersion:
          type: "string"
        version:
          type: "integer"
          format: "int32"
    CloudProcessInstance:
      title: "CloudProcessInstance"
      type: "object"
      properties:
        appName:
          type: "string"
        appVersion:
          type: "string"
        businessKey:
          type: "string"
        completedDate:
          type: "string"
          format: "date-time"
        id:
          type: "string"
        initiator:
          type: "string"
        name:
          type: "string"
        parentId:
          type: "string"
        processDefinitionId:
          type: "string"
        processDefinitionKey:
          type: "string"
        processDefinitionName:
          type: "string"
        processDefinitionVersion:
          type: "integer"
          format: "int32"
        serviceFullName:
          type: "string"
        serviceName:
          type: "string"
        serviceType:
          type: "string"
        serviceVersion:
          type: "string"
        startDate:
          type: "string"
          format: "date-time"
        status:
          type: "string"
          enum:
          - "CANCELLED"
          - "COMPLETED"
          - "CREATED"
          - "RUNNING"
          - "SUSPENDED"
    CloudServiceTask:
      title: "CloudServiceTask"
      type: "object"
      properties:
        activityName:
          type: "string"
        activityType:
          type: "string"
        appName:
          type: "string"
        appVersion:
          type: "string"
        businessKey:
          type: "string"
        cancelledDate:
          type: "string"
          format: "date-time"
        completedDate:
          type: "string"
          format: "date-time"
        elementId:
          type: "string"
        executionId:
          type: "string"
        id:
          type: "string"
        processDefinitionId:
          type: "string"
        processDefinitionKey:
          type: "string"
        processDefinitionVersion:
          type: "integer"
          format: "int32"
        processInstanceId:
          type: "string"
        serviceFullName:
          type: "string"
        serviceName:
          type: "string"
        serviceType:
          type: "string"
        serviceVersion:
          type: "string"
        startedDate:
          type: "string"
          format: "date-time"
        status:
          type: "string"
          enum:
          - "CANCELLED"
          - "COMPLETED"
          - "ERROR"
          - "STARTED"
    CloudVariableInstance:
      title: "CloudVariableInstance"
      type: "object"
      properties:
        appName:
          type: "string"
        appVersion:
          type: "string"
        name:
          type: "string"
        processInstanceId:
          type: "string"
        serviceFullName:
          type: "string"
        serviceName:
          type: "string"
        serviceType:
          type: "string"
        serviceVersion:
          type: "string"
        taskId:
          type: "string"
        taskVariable:
          type: "boolean"
        type:
          type: "string"
        value:
          type: "object"
    EntriesResponseContentOfCloudApplication:
      title: "EntriesResponseContentOfCloudApplication"
      type: "object"
      properties:
        entries:
          type: "array"
          items:
            $ref: "#/components/schemas/EntryResponseContentOfCloudApplication"
        pagination:
          $ref: "#/components/schemas/PaginationMetadata"
    EntriesResponseContentOfCloudProcessDefinition:
      title: "EntriesResponseContentOfCloudProcessDefinition"
      type: "object"
      properties:
        entries:
          type: "array"
          items:
            $ref: "#/components/schemas/EntryResponseContentOfCloudProcessDefinition"
        pagination:
          $ref: "#/components/schemas/PaginationMetadata"
    EntriesResponseContentOfCloudProcessInstance:
      title: "EntriesResponseContentOfCloudProcessInstance"
      type: "object"
      properties:
        entries:
          type: "array"
          items:
            $ref: "#/components/schemas/EntryResponseContentOfCloudProcessInstance"
        pagination:
          $ref: "#/components/schemas/PaginationMetadata"
    EntriesResponseContentOfCloudServiceTask:
      title: "EntriesResponseContentOfCloudServiceTask"
      type: "object"
      properties:
        entries:
          type: "array"
          items:
            $ref: "#/components/schemas/EntryResponseContentOfCloudServiceTask"
        pagination:
          $ref: "#/components/schemas/PaginationMetadata"
    EntriesResponseContentOfCloudVariableInstance:
      title: "EntriesResponseContentOfCloudVariableInstance"
      type: "object"
      properties:
        entries:
          type: "array"
          items:
            $ref: "#/components/schemas/EntryResponseContentOfCloudVariableInstance"
        pagination:
          $ref: "#/components/schemas/PaginationMetadata"
    EntriesResponseContentOfQueryCloudTask:
      title: "EntriesResponseContentOfQueryCloudTask"
      type: "object"
      properties:
        entries:
          type: "array"
          items:
            $ref: "#/components/schemas/EntryResponseContentOfQueryCloudTask"
        pagination:
          $ref: "#/components/schemas/PaginationMetadata"
    EntryResponseContentOfCloudApplication:
      title: "EntryResponseContentOfCloudApplication"
      type: "object"
      properties:
        entry:
          $ref: "#/components/schemas/CloudApplication"
    EntryResponseContentOfCloudIntegrationContext:
      title: "EntryResponseContentOfCloudIntegrationContext"
      type: "object"
      properties:
        entry:
          $ref: "#/components/schemas/CloudIntegrationContext"
    EntryResponseContentOfCloudProcessDefinition:
      title: "EntryResponseContentOfCloudProcessDefinition"
      type: "object"
      properties:
        entry:
          $ref: "#/components/schemas/CloudProcessDefinition"
    EntryResponseContentOfCloudProcessInstance:
      title: "EntryResponseContentOfCloudProcessInstance"
      type: "object"
      properties:
        entry:
          $ref: "#/components/schemas/CloudProcessInstance"
    EntryResponseContentOfCloudServiceTask:
      title: "EntryResponseContentOfCloudServiceTask"
      type: "object"
      properties:
        entry:
          $ref: "#/components/schemas/CloudServiceTask"
    EntryResponseContentOfCloudVariableInstance:
      title: "EntryResponseContentOfCloudVariableInstance"
      type: "object"
      properties:
        entry:
          $ref: "#/components/schemas/CloudVariableInstance"
    EntryResponseContentOfQueryCloudTask:
      title: "EntryResponseContentOfQueryCloudTask"
      type: "object"
      properties:
        entry:
          $ref: "#/components/schemas/QueryCloudTask"
    ListResponseContentOfCloudApplication:
      title: "ListResponseContentOfCloudApplication"
      type: "object"
      properties:
        list:
          $ref: "#/components/schemas/EntriesResponseContentOfCloudApplication"
    ListResponseContentOfCloudProcessDefinition:
      title: "ListResponseContentOfCloudProcessDefinition"
      type: "object"
      properties:
        list:
          $ref: "#/components/schemas/EntriesResponseContentOfCloudProcessDefinition"
    ListResponseContentOfCloudProcessInstance:
      title: "ListResponseContentOfCloudProcessInstance"
      type: "object"
      properties:
        list:
          $ref: "#/components/schemas/EntriesResponseContentOfCloudProcessInstance"
    ListResponseContentOfCloudServiceTask:
      title: "ListResponseContentOfCloudServiceTask"
      type: "object"
      properties:
        list:
          $ref: "#/components/schemas/EntriesResponseContentOfCloudServiceTask"
    ListResponseContentOfCloudVariableInstance:
      title: "ListResponseContentOfCloudVariableInstance"
      type: "object"
      properties:
        list:
          $ref: "#/components/schemas/EntriesResponseContentOfCloudVariableInstance"
    ListResponseContentOfQueryCloudTask:
      title: "ListResponseContentOfQueryCloudTask"
      type: "object"
      properties:
        list:
          $ref: "#/components/schemas/EntriesResponseContentOfQueryCloudTask"
    PaginationMetadata:
      title: "PaginationMetadata"
      type: "object"
      properties:
        count:
          type: "integer"
          format: "int64"
        hasMoreItems:
          type: "boolean"
        maxItems:
          type: "integer"
          format: "int64"
        skipCount:
          type: "integer"
          format: "int64"
        totalItems:
          type: "integer"
          format: "int64"
    QueryCloudTask:
      title: "QueryCloudTask"
      type: "object"
      properties:
        appName:
          type: "string"
        appVersion:
          type: "string"
        assignee:
          type: "string"
        businessKey:
          type: "string"
        candidateGroups:
          type: "array"
          items:
            type: "string"
        candidateUsers:
          type: "array"
          items:
            type: "string"
        claimedDate:
          type: "string"
          format: "date-time"
        completedBy:
          type: "string"
        completedDate:
          type: "string"
          format: "date-time"
        createdDate:
          type: "string"
          format: "date-time"
        description:
          type: "string"
        dueDate:
          type: "string"
          format: "date-time"
        duration:
          type: "integer"
          format: "int64"
        formKey:
          type: "string"
        id:
          type: "string"
        name:
          type: "string"
        owner:
          type: "string"
        parentTaskId:
          type: "string"
        priority:
          type: "integer"
          format: "int32"
        processDefinitionId:
          type: "string"
        processDefinitionName:
          type: "string"
        processDefinitionVersion:
          type: "integer"
          format: "int32"
        processInstanceId:
          type: "string"
        serviceFullName:
          type: "string"
        serviceName:
          type: "string"
        serviceType:
          type: "string"
        serviceVersion:
          type: "string"
        standalone:
          type: "boolean"
        status:
          type: "string"
          enum:
          - "ASSIGNED"
          - "CANCELLED"
          - "COMPLETED"
          - "CREATED"
          - "DELETED"
          - "SUSPENDED"
        taskDefinitionKey:
          type: "string"
    StackTraceElement:
      title: "StackTraceElement"
      type: "object"
      properties:
        classLoaderName:
          type: "string"
        className:
          type: "string"
        fileName:
          type: "string"
        lineNumber:
          type: "integer"
          format: "int32"
        methodName:
          type: "string"
        moduleName:
          type: "string"
        moduleVersion:
          type: "string"
        nativeMethod:
          type: "boolean"
  securitySchemes:
    oauth:
      type: "oauth2"
      description: "Authorizing with SSO"
      flows:
        implicit:
          authorizationUrl: "http://localhost:49251/auth/realms/activiti/protocol/openid-connect/auth"
          scopes: {}
extensions:
  service-url-prefix: ""
