Mutations
acceptStepProposal
Applies a proposed revision to its step and marks the proposal accepted.
MUTATION
acceptStepProposal(etag: String!, id: ID!): AcceptStepProposalArguments
etag
String!
required
id
ID!
required
Returns
step
stepProposal
Mutation
mutation AcceptStepProposal($etag: String!, $id: ID!) {
acceptStepProposal(etag: $etag, id: $id) {
step {
Attributes {
Created
Etag
LastSessionId
Updated
_IonValueCount
_ValueCount
}
Parent
_AllChildrenCount
_AllParentsCount
_AncestorStepsCount
_ApprovalRequestsCount
}
stepProposal {
LastSessionId
_created
_etag
_updated
baseEtag
changeSummary
}
}
}Variables
{
"etag": "string",
"id": "id"
}Response
{
"data": {
"acceptStepProposal": {
"step": {
"Attributes": [
{
"Created": "value",
"Etag": "string",
"LastSessionId": "string",
"Updated": "value",
"_IonValueCount": 1,
"_ValueCount": 1
}
],
"Parent": "string",
"_AllChildrenCount": 1,
"_AllParentsCount": 1,
"_AncestorStepsCount": 1,
"_ApprovalRequestsCount": 1
},
"stepProposal": {
"LastSessionId": "string",
"_created": "value",
"_etag": "string",
"_updated": "value",
"baseEtag": "string",
"changeSummary": "string"
}
}
}
}Was this page helpful?
⌘I
Mutation
mutation AcceptStepProposal($etag: String!, $id: ID!) {
acceptStepProposal(etag: $etag, id: $id) {
step {
Attributes {
Created
Etag
LastSessionId
Updated
_IonValueCount
_ValueCount
}
Parent
_AllChildrenCount
_AllParentsCount
_AncestorStepsCount
_ApprovalRequestsCount
}
stepProposal {
LastSessionId
_created
_etag
_updated
baseEtag
changeSummary
}
}
}Variables
{
"etag": "string",
"id": "id"
}Response
{
"data": {
"acceptStepProposal": {
"step": {
"Attributes": [
{
"Created": "value",
"Etag": "string",
"LastSessionId": "string",
"Updated": "value",
"_IonValueCount": 1,
"_ValueCount": 1
}
],
"Parent": "string",
"_AllChildrenCount": 1,
"_AllParentsCount": 1,
"_AncestorStepsCount": 1,
"_ApprovalRequestsCount": 1
},
"stepProposal": {
"LastSessionId": "string",
"_created": "value",
"_etag": "string",
"_updated": "value",
"baseEtag": "string",
"changeSummary": "string"
}
}
}
}