Allow a service to be added to a canvas group via API
mikenikles
PROOP

a year ago

Hi,

We create Railway services dynamically via GraphQL API. When we look at the project dashboard in the browser, it would be great to see the services added to an existing group in the canvas.

Under Review

0 Threads mention this feature

11 Replies

a year ago

Would a groupId argument in the serviceCreate mutation work?


jr

Would a `groupId` argument in the serviceCreate mutation work?

mikenikles
PROOP

a year ago

Yes, that would work in my case.


clashing
HOBBY

10 months ago

Mike, you are using https://backboard.railway.com/graphql/v2 as the base endpoint, right?


jr

Would a `groupId` argument in the serviceCreate mutation work?

clashing
HOBBY

10 months ago

That would work for pre-configured groups only. Ability to create a new one should also be there, later on


clashing

Mike, you are using <https://backboard.railway.com/graphql/v2> as the base endpoint, right?

mikenikles
PROOP

10 months ago

Yes, that's right.


mikenikles

Yes, that's right.

clashing
HOBBY

10 months ago

Thanks for the confirmation


mikenikles

Yes, that's right.

clashing
HOBBY

10 months ago

Do personal tokens have the format: token_xxx, as opposed to plain project tokens?

And are you referring to the Docs to see the public API endpoints?


mikenikles

Yes, that's right.

clashing
HOBBY

10 months ago

Mike, can you please clarify this?

From where, do you grab the personal token, that does work for mutation queries (like redploying a service, and stuff like that). Is that token has a predefined format (like token_ before it), or is it just a random string?

If you can provide the link of the page form where you edit/delete the team/personal tokens, then it would be great.


clashing

Mike, can you please clarify this? From where, do you grab the **personal token**, that does work for mutation queries (like redploying a service, and stuff like that). Is that token has a predefined format (like token\_ before it), or is it just a random string? If you can provide the link of the page form where you edit/delete the team/personal tokens, then it would be great.

mikenikles
PROOP

10 months ago


mikenikles

I get the token from <https://railway.com/account/tokens>.

clashing
HOBBY

10 months ago

Thanks for verifying that

Are the personal and team tokens displayed on the same page!

Do they follow a certain format, like token_? And you used them to do the mutation api calls?


clashing

Thanks for verifying that Are the personal and team tokens displayed on the same page! Do they follow a certain format, like token\_? And you used them to do the mutation api calls?

10 months ago

All tokens regardless of what permissions they hold are UUIDv4.


Welcome!

Sign in to your Railway account to join the conversation.

Loading...