Releases - Changes API

List all changes of a release

List all changes of a release with a specific ID.

GET /releases/:id/changes

Response

Status: 200 OK
[
  {
    "completed_at": null,
    "created_at": "2016-03-10T12:32:00-06:00",
    "category": "standard",
    "sourceID": null,
    "updated_at": "2016-03-14T03:14:17-06:00",
    "service": {
      "id": 21,
      "name": "Email",
      "localized_name": "Email",
      "provider": {
        "name": "Widget Data Center, External IT",
        "id": 44,
        "account": {
          "id": "widget",
          "name": "Widget International"
        }
      }
    },
    "manager": {
      "id": 37,
      "name": "Barney Turban",
      "account": {
        "id": "widget",
        "name": "Widget International"
      }
    },
    "subject": "Upgrade Email servers to Exchange Server 2007 SP2",
    "id": 1686,
    "impact": "top",
    "status": "risk_and_impact",
    "completion_target_at": "2016-03-15T16:33:00-06:00"
  },
  "..."
]

The response contains these fields by default.

States

The following states are available:

Add a change to a release

Add a link between a release with a specific ID and a change with a specific ID.

POST /releases/:id/changes/:change_id

Response

Status: 200 OK
{

}

Remove a change from a release

Remove the link between a release with a specific ID and a change with a specific ID.

DELETE /releases/:id/changes/:change_id

Response

Status: 204 No Content

Remove all changes from a release

Remove all links between a release with a specific ID and its changes.

DELETE /releases/:id/changes

Response

Status: 204 No Content