3 months ago
I'm trying to set the following values through the graphql API but the only value that works is startCommandand rootDirectory.
The region nor the preDeployCommand is actually set.
```
mutation serviceInstanceUpdate(
$serviceId: String!
$environmentId: String
$input: ServiceInstanceUpdateInput!
) {
serviceInstanceUpdate(
serviceId: "ID_REDACTED"
environmentId: "ID_REDACTED"
input: {
rootDirectory: "/store-api"
preDeployCommand: ["pnpm run db:migrate"]
startCommand: "pnpm start"
region: "europe-west4-drams3a"
}
)
}
```
1 Replies
Status changed to Awaiting Railway Response Railway • 3 months ago
a month ago
Hello! Try querying the schema:
```
__type(name: "ServiceInstanceUpdateInput") {
inputFields {
name
type {
name
kind
}
}
}
```
this should tell you if preDeployCommand is String or [String] and should tell you if the region can be specified in this api ver