Mutation
mutation ApplyPendingVersionChanges($input: ApplyPendingVersionChangesInput!) {
applyPendingVersionChanges(input: $input) {
apiVersion {
allowedOrigins
applications {
edges {
__typename
}
nodes {
__typename
}
pageInfo {
__typename
}
totalCount
}
authentication
cardDefinitions {
edges {
__typename
}
nodes {
__typename
}
pageInfo {
__typename
}
totalCount
}
clusters {
edges {
__typename
}
nodes {
__typename
}
pageInfo {
__typename
}
}
createdAt
}
errors {
__typename
... on GraphQlError {
code
details {
__typename
}
message
}
}
}
}Variables
{
"input": {
"id": "id"
}
}Response
{
"data": {
"applyPendingVersionChanges": {
"apiVersion": {
"allowedOrigins": [
"value"
],
"applications": {
"edges": [
{
"__typename": "ApplicationsEdge"
}
],
"nodes": [
{
"__typename": "Application"
}
],
"pageInfo": {
"__typename": "PageInfo"
},
"totalCount": 1
},
"authentication": "PROTECTED",
"cardDefinitions": {
"edges": [
{
"__typename": "CardDefinitionsEdge"
}
],
"nodes": [
{
"__typename": "CardDefinition"
}
],
"pageInfo": {
"__typename": "PageInfo"
},
"totalCount": 1
},
"clusters": {
"edges": [
{
"__typename": "ClustersEdge"
}
],
"nodes": [
{
"__typename": "Cluster"
}
],
"pageInfo": {
"__typename": "PageInfo"
}
},
"createdAt": "value"
},
"errors": [
{
"__typename": "GraphQlError",
"code": "string",
"details": [
{
"__typename": "KeyValuePairOfStringAndString"
}
],
"message": "string"
}
]
}
}
}Mutations
applyPendingVersionChanges
Makes each endpoint’s pending changes its active content and raises revision when anything changed. Returns the version; the published API takes up the changes in the background, with no change of state.
MUTATION
applyPendingVersionChanges(input: ApplyPendingVersionChangesInput!): ApplyPendingVersionChangesPayload!Arguments
input
required
apiVersion
errors
Mutation
mutation ApplyPendingVersionChanges($input: ApplyPendingVersionChangesInput!) {
applyPendingVersionChanges(input: $input) {
apiVersion {
allowedOrigins
applications {
edges {
__typename
}
nodes {
__typename
}
pageInfo {
__typename
}
totalCount
}
authentication
cardDefinitions {
edges {
__typename
}
nodes {
__typename
}
pageInfo {
__typename
}
totalCount
}
clusters {
edges {
__typename
}
nodes {
__typename
}
pageInfo {
__typename
}
}
createdAt
}
errors {
__typename
... on GraphQlError {
code
details {
__typename
}
message
}
}
}
}Variables
{
"input": {
"id": "id"
}
}Response
{
"data": {
"applyPendingVersionChanges": {
"apiVersion": {
"allowedOrigins": [
"value"
],
"applications": {
"edges": [
{
"__typename": "ApplicationsEdge"
}
],
"nodes": [
{
"__typename": "Application"
}
],
"pageInfo": {
"__typename": "PageInfo"
},
"totalCount": 1
},
"authentication": "PROTECTED",
"cardDefinitions": {
"edges": [
{
"__typename": "CardDefinitionsEdge"
}
],
"nodes": [
{
"__typename": "CardDefinition"
}
],
"pageInfo": {
"__typename": "PageInfo"
},
"totalCount": 1
},
"clusters": {
"edges": [
{
"__typename": "ClustersEdge"
}
],
"nodes": [
{
"__typename": "Cluster"
}
],
"pageInfo": {
"__typename": "PageInfo"
}
},
"createdAt": "value"
},
"errors": [
{
"__typename": "GraphQlError",
"code": "string",
"details": [
{
"__typename": "KeyValuePairOfStringAndString"
}
],
"message": "string"
}
]
}
}
}Was this page helpful?