Workflows

Restores a workflow

Changed on

Restore an archived workflow.

patch/api/v2/workflows/{id}/restore

Request

  • Base URL
    https://developer.productive.io (the document declares no server; this is the origin it was published from)
  • URL
    https://developer.productive.io/api/v2/workflows/{id}/restore
  • Auth
    none declared

Path parameters

idstring required

ID

Response

Single workflow

Example response

{
  "data": {
    "id": "75",
    "type": "workflows",
    "attributes": {
      "name": "Default Workflow",
      "archived_at": null
    },
    "relationships": {
      "workflow_statuses": {
        "data": [
          {
            "type": "workflow_statuses",
            "id": "224"
          },
          {
            "type": "workflow_statuses",
            "id": "225"
          },
          {
            "type": "workflow_statuses",
            "id": "226"
          }
        ]
      }
    }
  },
  "included": []
}

Changes

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • breaking

      the // response's property type changed from string to no type, and format from date-time to no format for status

    • warning

      deleted the header request parameter X-Organization-Id

    This list may be incomplete.