{
  "opencollection": "1.0.0",
  "info": {
    "name": "Activiti Public Rest About Process API",
    "version": "1.4.0"
  },
  "request": {
    "auth": {
      "type": "basic",
      "username": "{{username}}",
      "password": "{{password}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Process",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Retrieve a list of process definitions",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{host}/activiti-app/api/enterprise/process-definitions",
            "params": [
              {
                "name": "latest",
                "value": "",
                "type": "query",
                "description": "latest"
              },
              {
                "name": "appDefinitionId",
                "value": "",
                "type": "query",
                "description": "appDefinitionId"
              }
            ]
          },
          "docs": "Get a list of process definitions (visible within the tenant of the user)"
        },
        {
          "info": {
            "name": "Retrieve the start form for a process definition",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{host}/activiti-app/api/enterprise/process-definitions/:processDefinitionId/start-form"
          },
          "docs": "Retrieve the start form for a process definition"
        },
        {
          "info": {
            "name": "Retrieve field values (eg. the typeahead field)",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{host}/activiti-app/api/enterprise/process-definitions/:processDefinitionId/start-form-values/:field"
          },
          "docs": "Retrieve field values (eg. the typeahead field)"
        },
        {
          "info": {
            "name": "Retrieve field values (eg. the table field)",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{host}/activiti-app/api/enterprise/process-definitions/:processDefinitionId/start-form-values/:field/:column"
          },
          "docs": "Retrieve field values (eg. the table field)"
        },
        {
          "info": {
            "name": "Start a process instance",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{host}/activiti-app/api/enterprise/process-instances",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Start a process instance"
        },
        {
          "info": {
            "name": "Filter a list of process instances",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{host}/activiti-app/api/enterprise/process-instances/filter",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Filter a list of process instances"
        },
        {
          "info": {
            "name": "Retrieve a list of process instances",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{host}/activiti-app/api/enterprise/process-instances/query",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Retrieve a list of process instances"
        },
        {
          "info": {
            "name": "Retrieve a process instance information",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{host}/activiti-app/api/enterprise/process-instances/:processInstanceId",
            "params": [
              {
                "name": "processInstanceId",
                "value": "",
                "type": "path",
                "description": "processInstanceId"
              }
            ]
          },
          "docs": "Retrieve a process instance information"
        },
        {
          "info": {
            "name": "Delete a process instance",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://{host}/activiti-app/api/enterprise/process-instances/:processInstanceId",
            "params": [
              {
                "name": "processInstanceId",
                "value": "",
                "type": "path",
                "description": "processInstanceId"
              }
            ]
          },
          "docs": "Delete a process instance"
        },
        {
          "info": {
            "name": "Retrieve content attached to process instance fields",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{host}/activiti-app/api/enterprise/process-instances/:processInstanceId/field-content",
            "params": [
              {
                "name": "processInstanceId",
                "value": "",
                "type": "path",
                "description": "processInstanceId"
              }
            ]
          },
          "docs": "Retrieve content attached to process instance fields"
        },
        {
          "info": {
            "name": "Get process start form",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{host}/activiti-app/api/enterprise/process-instances/:processInstanceId/start-form",
            "params": [
              {
                "name": "processInstanceId",
                "value": "",
                "type": "path",
                "description": "processInstanceId"
              }
            ]
          },
          "docs": "When a process definitions has a start form (hasStartForm is true in the call above), the start form can be retrieved"
        }
      ]
    }
  ],
  "bundled": true
}