5 months ago
I wanna check the status of my services latest depoloyment. I wanna se if its completed, crashed or active is that possible?
I know I can check for the lastest active. is there more?
25 Replies
If its not possible with the API is it possible with the cli, I'm building a app that can redeploy my latest deployment if its completed or crashed.. if its active it means that it does not need a redeploy and I want to be able to make that check..
Its hard to say that is aleady gives me that information, I need it in data. Every app is unique… I wonder if the api can give me that data.
You don't know why my app crashes or goes to complete so its not easy for you to say 🙂
This does not answer my question. You don't know why my service give the status that it gives. I need the data of the deployment.
I don't need your advice, I need to know if I can get more data out of the API
im not dealing with this, im just trying to help, if you dont want it then say that and im not trying to create drama
Yes thank you, but when I say that its not answering my question its not much help just chat..
5 months ago
Definitely available on the API. Something similar should work:
query serviceDeploymentStatus {
serviceInstance(serviceId: SERVICE_ID, environmentId: ENVIRONMENT_ID) {
id
latestDeployment {
id
status
}
}
}