Mutation
mutation RestartVersionPublish($input: RestartVersionPublishInput!) {
restartVersionPublish(input: $input) {
apiVersionState
errors {
__typename
... on GraphQlError {
code
details {
__typename
}
message
}
}
}
}Variables
{
"input": {
"destinationId": "id",
"id": "id"
}
}Response
{
"data": {
"restartVersionPublish": {
"apiVersionState": "NEW",
"errors": [
{
"__typename": "GraphQlError",
"code": "string",
"details": [
{
"__typename": "KeyValuePairOfStringAndString"
}
],
"message": "string"
}
]
}
}
}Mutations
restartVersionPublish
Starts rebuilding the published data of a STOPPED or PUBLISHED version and returns RESTARTING at once. Follow ApiVersion.state until PUBLISHED. Fails with ConflictError in any other state, and with ValidationError when an endpoint id isn’t one of the version’s.
MUTATION
restartVersionPublish(input: RestartVersionPublishInput!): RestartVersionPublishPayload!Arguments
input
required
Returns
apiVersionState
errors
Mutation
mutation RestartVersionPublish($input: RestartVersionPublishInput!) {
restartVersionPublish(input: $input) {
apiVersionState
errors {
__typename
... on GraphQlError {
code
details {
__typename
}
message
}
}
}
}Variables
{
"input": {
"destinationId": "id",
"id": "id"
}
}Response
{
"data": {
"restartVersionPublish": {
"apiVersionState": "NEW",
"errors": [
{
"__typename": "GraphQlError",
"code": "string",
"details": [
{
"__typename": "KeyValuePairOfStringAndString"
}
],
"message": "string"
}
]
}
}
}Was this page helpful?