Where to get this id for `deploymentRestart`?
I tried token id, project id, and service id, no luck
25 Replies
Project ID:
c808b54d-c5c8-4c51-a778-f6fad1b0813e
You might find these helpful:
- Error
- Deploying from Github Actions, received Project token not found error
- Trouble finding the deployment ID to use with the API
⚠️ experimental feature
c808b54d-c5c8-4c51-a778-f6fad1b0813e
it wants the deploymentId
brody has that query memorized
🔺
no i copied it from you
only way to get deployment id is to run that query? Is there no way to have a call that restarts existing deployment?
i mean you can copy the deployment id from the url
oh nice
the one on end
?id=...
yeah
just curious, whats your use case for this?
gives an error
{"message":"Unexpected end of JSON input",
any idea how to escape the id string "? Tried \
I need to be able to restart my deployment with a simple curl requestsounds like an XY problem
thats not a valid query
I know cause there's extra " but i'm asking how to escape " if you happen to know
these seem to have become exceedingly common here
indeed
yep thats it
so lets start over
why do you want to restart your deployment?
another team is making updates to one of the services that deployment uses. I have no control over that service and when they make an update I need to restart the deployment. This is a temporary solution until their service is stable (2-4 weeks)
you lost me at "another team" when you arent on a team account, carry on with the deploymentRestart query then
i'm assuming they meant an upstream provider
sounds like a lot of problems that would not be worth getting into here
I just need to use that API
you helped me by pointing me to the deployment id
I should be good. Thank you
good 🙂
thank you everyone