Programatically triggering a deployment
idiegonl
PROOP

8 months ago

I'm wondering if it's possible to trigger a deployment programatically through a webhook or API request? I saw that you have webhooks, but only outgoing, and not incoming.

Also quickly read through your public API, but I didn't find an endpoint to start a new deployment.

Loving your platform so far! Upgraded to Pro today.

Solved

12 Replies

idiegonl
PROOP

8 months ago

0c0b9498-c6cd-483b-ae9a-5a6a330b3bc8


8 months ago


idiegonl
PROOP

8 months ago

Hey, like I said in the original post:

Also quickly read through your public API, but I didn't find an endpoint to start a new deployment.


8 months ago

Some example code -


8 months ago

It's through mutations using GraphQL, there's a playground here https://railway.com/graphiql


idiegonl
PROOP

8 months ago

that's helpful, ty :)


idiegonl
PROOP

8 months ago

not sure if you're aware, but your responses are super unhelpful 😅


8 months ago

In Medim's defense, everything you needed was in the link he provided.

1395800994805322000


8 months ago

Sorry, I just didn't have any code example.. I thought the Public API guide was enough since it shows how you can do said requests and the playground shows you all the available mutations.


8 months ago

The bottleneck here was the quick-read aspect of your approach to trying to find your answer.


idiegonl
PROOP

8 months ago

I haven't used GraphQL since 2021, I tried searching for the keyword "deploy" in the playground before opening a thread but roughly 50 results pop up 🙂

Was just looking for which specific mutation to use 😉


8 months ago

!s


Status changed to Solved brody 8 months ago


Loading...