GET/projects/api/v3/workflows/{workflowId}/stages/{stageId}.json

Get a specific stage.

Returns a stage for a workflow by id.

Path Params

  • Name
    workflowId
    Type
    integer
    required
    Description
  • Name
    stageId
    Type
    integer
    required
    Description

Responses

  • Code
    200
    Type
    object
    Schema
    Description
    200 OK
    Response contains information about a specific stage.
  • Code
    400
    Type
    object
    Schema
    Description
    400 Bad Request
    ErrorResponse defines how []Error should be marshaled to JSON.
  • Code
    404
    Description
    404 Not Found No Data

Examples

200 OK

Response
{
  "included": {
    "users": {
      "additionalProp": {
        "avatarUrl": "string",
        "canAddProjects": true,
        "company": {
          "id": 0,
          "meta": {},
          "type": "string"
        },
        "companyId": 0,
        "companyRoleId": 0,
        "deleted": true,
        "email": "string",
        "firstName": "string",
        "id": 0,
        "isAdmin": true,
        "isClientUser": true,
        "isServiceAccount": true,
        "lastName": "string",
        "lengthOfDay": 0,
        "meta": {},
        "teams": [
          {
            "id": 0,
            "meta": {},
            "type": "string"
          }
        ],
        "timezone": "string",
        "title": "string",
        "type": "string",
        "userCost": 0,
        "userRate": 0,
        "workingHour": {
          "id": 0,
          "meta": {},
          "type": "string"
        },
        "workingHoursId": 0
      }
    },
    "workflows": {
      "additionalProp": {
        "createdAt": "string",
        "createdBy": 0,
        "defaultWorkflow": true,
        "id": 0,
        "lockdown": {
          "id": 0,
          "meta": {},
          "type": "string"
        },
        "name": "string",
        "projectIds": [
          0
        ],
        "projectSpecific": true,
        "stages": [
          {
            "id": 0,
            "meta": {},
            "type": "string"
          }
        ],
        "status": "string",
        "updatedAt": "string",
        "updatedBy": 0
      }
    }
  },
  "stage": {
    "color": "string",
    "createdAt": "string",
    "createdBy": 0,
    "deletedAt": "string",
    "deletedBy": 0,
    "displayOrder": 0,
    "id": 0,
    "name": "string",
    "showCompletedTasks": true,
    "taskIds": [
      0
    ],
    "updatedAt": "string",
    "updatedBy": 0,
    "workflow": {
      "id": 0,
      "meta": {},
      "type": "string"
    }
  }
}