English
Get the last 10 deployments of an application from the last 24 hours.
cURL
curl --request GET \ --url https://api.squarecloud.app/v2/apps/{app_id}/deployments \ --header 'Authorization: <authorization>'
{ "status": "success", "response": [ [ { "id": "git-393caedd68f5e5b771f6a027", "state": "pending", "date": "2023-10-16T20:27:20.513Z" }, { "id": "git-393caedd68f5e5b771f6a027", "state": "clone", "date": "2023-10-16T20:27:20.536Z" }, { "id": "git-393caedd68f5e5b771f6a027", "state": "success", "date": "2023-10-16T20:27:21.422Z" } ] ], }
success
error
Show Toggle object
pending
clone
Was this page helpful?