R
Railway•8mo ago
Horlaarsco

Template Deploy API

Im having some issue with templateDeploy API, i cant seem to understand which attributes to specify to create one via gql, it works on the dashbaord but i just get "Problem processing request" via gql, im trying to setup a redis service
Solution:
have a look at the playground, it does introspection on the api and will show you all the attributes needed for the mutation you're doing https://railway.app/graphiql...
Jump to solution
6 Replies
Percy
Percy•8mo ago
Project ID: fea0c31e-408f-41e7-84ec-a2f054147c62
Horlaarsco
Horlaarsco•8mo ago
fea0c31e-408f-41e7-84ec-a2f054147c62
Solution
Brody
Brody•8mo ago
have a look at the playground, it does introspection on the api and will show you all the attributes needed for the mutation you're doing https://railway.app/graphiql
Brody
Brody•8mo ago
and a little tip would just be to copy the payload that the dashboard makes when deploying a template and use that for yourself
Horlaarsco
Horlaarsco•8mo ago
Okay let me try that out! Thanks That worked thanks @Brody
Brody
Brody•8mo ago
no problem 🙂