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.
0 Threads mention this feature
11 Replies
jr
Would a `groupId` argument in the serviceCreate mutation work?
a year ago
Yes, that would work in my case.
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?
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?
10 months ago
Yes, that's right.
mikenikles
Yes, that's right.
10 months ago
Thanks for the confirmation
mikenikles
Yes, that's right.
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.
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.
10 months ago
I get the token from https://railway.com/account/tokens.
mikenikles
I get the token from <https://railway.com/account/tokens>.
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.
