Get the last deployment for a specific project
Changed onA project that exists but has never been deployed answers 200 with deployment: null; only an unknown project is a 404.
Request
- Base URL/api (relative, and the document was published on a file host, not at the API’s origin)
- Authnone declared
Path parameters
Project ID
Response
Last deployment, or deployment: null when the project has no deployments yet
Example response
{
"deployment": {
"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
deployment/oneOf[#/components/schemas/DeploymentResponse]/commit_dateresponse's property type changed fromintegernulltostringnull, and format fromint64todate-timefor status - breaking
the
deployment/oneOf[#/components/schemas/DeploymentResponse]/created_atresponse's property type changed fromintegertostring, and format fromint64todate-timefor status - breaking
the
deployment/oneOf[#/components/schemas/DeploymentResponse]/finished_atresponse's property type changed fromintegernulltostringnull, and format fromint64todate-timefor status
1 more change in this revision
- breaking