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

10 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

10 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

10 months ago

Doesn’t railway already do that?


irazvan2745
FREE

10 months ago

Also if it crashes that means it will crash again anyways


irazvan2745
FREE

10 months ago

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


pkihlberg
HOBBYOP

10 months ago

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


pkihlberg
HOBBYOP

10 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

10 months ago

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


pkihlberg
HOBBYOP

10 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

10 months ago

the scope of your app is already implemented in railway


pkihlberg
HOBBYOP

10 months ago

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


pkihlberg
HOBBYOP

10 months ago

I need the data


irazvan2745
FREE

10 months ago

good luck then


pkihlberg
HOBBYOP

10 months ago

I like this support.


irazvan2745
FREE

10 months ago

<:skul:1338966459358904320>


irazvan2745
FREE

10 months ago

its


irazvan2745
FREE

10 months ago

community support


pkihlberg
HOBBYOP

10 months ago

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


irazvan2745
FREE

10 months ago

im not a part of railway team


irazvan2745
FREE

10 months ago

im doing this for free


irazvan2745
FREE

10 months ago

why do you have to be like this?


pkihlberg
HOBBYOP

10 months ago

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


irazvan2745
FREE

10 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

10 months ago

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


10 months ago

You can use their Webhooks feature to get notified.


10 months ago

Definitely available on the API. Something similar should work:

query serviceDeploymentStatus {
  serviceInstance(serviceId: SERVICE_ID, environmentId: ENVIRONMENT_ID) {
    id
    latestDeployment {
      id
      status
    }
  }
}

Welcome!

Sign in to your Railway account to join the conversation.

Loading...