Can I get status of the lastest deployment with Public API?
pkihlberg
HOBBYOP

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?

$10 Bounty

25 Replies

pkihlberg
HOBBYOP

5 months ago

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..


irazvan2745
FREE

5 months ago

Doesn’t railway already do that?


irazvan2745
FREE

5 months ago

Also if it crashes that means it will crash again anyways


irazvan2745
FREE

5 months ago

And I belive railway will try to restart the container if it crashes


pkihlberg
HOBBYOP

5 months ago

I just want the status of the deployment, is it possible?


pkihlberg
HOBBYOP

5 months ago

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.


pkihlberg
HOBBYOP

5 months ago

You don't know why my app crashes or goes to complete so its not easy for you to say 🙂


pkihlberg
HOBBYOP

5 months ago

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.


irazvan2745
FREE

5 months ago

the scope of your app is already implemented in railway


pkihlberg
HOBBYOP

5 months ago

I need it to be in the API, I don't care about the UI.


pkihlberg
HOBBYOP

5 months ago

I need the data


irazvan2745
FREE

5 months ago

good luck then


pkihlberg
HOBBYOP

5 months ago

I like this support.


irazvan2745
FREE

5 months ago

<:skul:1338966459358904320>


irazvan2745
FREE

5 months ago

its


irazvan2745
FREE

5 months ago

community support


pkihlberg
HOBBYOP

5 months ago

You basiclly say do it the way is say or don't get help at all


irazvan2745
FREE

5 months ago

im not a part of railway team


irazvan2745
FREE

5 months ago

im doing this for free


irazvan2745
FREE

5 months ago

why do you have to be like this?


pkihlberg
HOBBYOP

5 months ago

I don't need your advice, I need to know if I can get more data out of the API


irazvan2745
FREE

5 months ago

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


pkihlberg
HOBBYOP

5 months ago

Yes thank you, but when I say that its not answering my question its not much help just chat..


iiiixi
HOBBY

5 months ago

You can use their Webhooks feature to get notified.


fp
EMPLOYEE

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
    }
  }
}

Loading...