v1

latestOpenAPI 3.1.02026-07-2438302.6 MB

Check Dependency

post/projects/{project_uid}/dependencies/check

Path parameters

project_uidstring required

Request body

Response

200

typestring
messagestring

Example response

{
  "type": "success",
  "message": "Dependency checked successfully",
  "data": {
    "job_uid": "c4956fb7-33b5-4cfc-ad17-24b00d89f029",
    "milestone_uid": "c4956fb7-33b5-4cfc-ad17-24b00d89f029",
    "message": "Job 'job 2' is not completed yet",
    "dependencies": [
      {
        "parent": {
          "type": "JOB",
          "job_uid": "30a42000-02ea-11ef-ba18-bdafd706092b"
        },
        "successor": {
          "type": "MILESTONE",
          "milestone_uid": "c4956fb7-33b5-4cfc-ad17-24b00d89f029"
        },
        "dependency_uid": "676c92c7-8e14-4b89-9f8f-b26ccc217000",
        "dependency_type": "finish_to_start",
        "created_at": "2024-06-07T10:24:47.709Z",
        "updated_at": "2024-06-07T10:24:47.709Z",
        "_id": "6662dfef0bd17f857b6e896f"
      }
    ]
  }
}