{
  "opencollection": "1.0.0",
  "info": {
    "name": "Activiti Public Rest About Task Actions API",
    "version": "1.4.0"
  },
  "request": {
    "auth": {
      "type": "basic",
      "username": "{{username}}",
      "password": "{{password}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Task Actions",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Assign a task to a user",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://{host}/activiti-app/api/enterprise/tasks/:taskId/action/assign",
            "params": [
              {
                "name": "taskId",
                "value": "",
                "type": "path",
                "description": "taskId"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Assign a task to a user"
        },
        {
          "info": {
            "name": "Attach a form to a task",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://{host}/activiti-app/api/enterprise/tasks/:taskId/action/attach-form",
            "params": [
              {
                "name": "taskId",
                "value": "",
                "type": "path",
                "description": "taskId"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Attach a form to a task"
        },
        {
          "info": {
            "name": "Claim a task",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://{host}/activiti-app/api/enterprise/tasks/:taskId/action/claim",
            "params": [
              {
                "name": "taskId",
                "value": "",
                "type": "path",
                "description": "taskId"
              }
            ]
          },
          "docs": "To claim a task (in case the task is assigned to a group)"
        },
        {
          "info": {
            "name": "Complete Task",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://{host}/activiti-app/api/enterprise/tasks/:taskId/action/complete",
            "params": [
              {
                "name": "taskId",
                "value": "",
                "type": "path",
                "description": "taskId"
              }
            ]
          },
          "docs": "To complete a task (standalone or without a task form)"
        },
        {
          "info": {
            "name": "To involve a user with a task",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://{host}/activiti-app/api/enterprise/tasks/:taskId/action/involve",
            "params": [
              {
                "name": "taskId",
                "value": "",
                "type": "path",
                "description": "taskId"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "To involve a user with a task"
        },
        {
          "info": {
            "name": "Remove a form to a task",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://{host}/activiti-app/api/enterprise/tasks/:taskId/action/remove-form",
            "params": [
              {
                "name": "taskId",
                "value": "",
                "type": "path",
                "description": "taskId"
              }
            ]
          },
          "docs": "Remove a form to a task"
        },
        {
          "info": {
            "name": "Remove an involved user from a task",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://{host}/activiti-app/api/enterprise/tasks/:taskId/action/remove-involved",
            "params": [
              {
                "name": "taskId",
                "value": "",
                "type": "path",
                "description": "taskId"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Remove an involved user from a task"
        },
        {
          "info": {
            "name": "Unclaim a task",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://{host}/activiti-app/api/enterprise/tasks/:taskId/action/unclaim",
            "params": [
              {
                "name": "taskId",
                "value": "",
                "type": "path",
                "description": "taskId"
              }
            ]
          },
          "docs": "To unclaim a task (in case the task was assigned to a group)"
        }
      ]
    }
  ],
  "bundled": true
}