Application - Deploy
Last Deploys
Get the last 10 deployments of an application from the last 24 hours.
GET
/
v2
/
apps
/
{app_id}
/
deploy
/
list
Header
Path
curl --request GET \
--url https://api.squarecloud.app/v2/apps/{app_id}/deploy/list \
--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"
}
]
],
}
Authorization
string
requiredThe API key for your account. You can find this in your account settings.
app_id
string
requiredThe ID of the application. You can find this in the URL of your application’s dashboard.
Response
status
string
Indicates whether the call was successful. “success” if successful, “error” if not.
response
array
The contents of the response.
Was this page helpful?
curl --request GET \
--url https://api.squarecloud.app/v2/apps/{app_id}/deploy/list \
--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"
}
]
],
}