Projects

GET /projects/{id}/deployments

Changed on

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    none declared

Path parameters

idinteger required

Project ID

Query parameters

pageinteger

Page number

per_pageinteger

Items per page

environment_idinteger

Environment ID filter

Response

List of deployments

pageinteger required
per_pageinteger required
totalinteger required

Example response

{
  "deployments": [
    {
      "environment": {
        "service_urls": [
          {
            "port": 3000,
            "service": "web",
            "url": "https://web--production.localho.st"
          }
        ]
      },
      "reachability_warning": {
        "environment": "myapp-production",
        "fixes": [
          {
            "label": "Publish it through tunnel 'homelab' as myapp-production.example.com"
          }
        ]
      }
    }
  ]
}

Changes

    • breaking

      the deployments/items/commit_date response's property type changed from integer null to string null, and format from int64 to date-time for status

    • breaking

      the deployments/items/created_at response's property type changed from integer to string, and format from int64 to date-time for status

    • breaking

      the deployments/items/finished_at response's property type changed from integer null to string null, and format from int64 to date-time for status

    1 more change in this revision