Get a deploy
Read one deploy by id. Ids come from the list, from latest, or from live.
GET https://sitepaste.com/api/v1/public/sites/{siteId}/deployments/{deploymentId}
Requires the deploy scope.
Usage
curl "https://sitepaste.com/api/v1/public/sites/default/deployments/8fk20dmc1p3z" \
-H "Authorization: Bearer $TOKEN"
Response
200 OK with the deploy record: its status, when it started and finished, and what triggered it.
400 when {deploymentId} is malformed. 404 when it is well formed but no deploy on the site has that id. A deploy belonging to another workspace answers 404 too, never 403.