Mutation
mutation UpdateVideoProgress($input: UpdateVideoProgressInput!) {
updateVideoProgress(input: $input) {
clientMutationId
errors
videoProgress {
createdAt
id
percentageComplete
positionSeconds
post {
__typename
... on Event {
__typename
}
}
resourceId
}
}
}Variables
{
"input": {
"percentageComplete": 1,
"positionSeconds": 1,
"postId": "id",
"videoId": "id"
}
}Response
{
"data": {
"updateVideoProgress": {
"clientMutationId": "string",
"errors": [
"string"
],
"videoProgress": {
"createdAt": "value",
"id": "id",
"percentageComplete": 1,
"positionSeconds": 1,
"post": {
"__typename": "Event"
},
"resourceId": "id"
}
}
}
}Mutations
updateVideoProgress
Record the current member’s playback progress for a video embedded in a post
MUTATION
updateVideoProgress(input: UpdateVideoProgressInput!): UpdateVideoProgressPayloadArguments
input
required
Parameters for UpdateVideoProgress
Returns
clientMutationId
String
A unique identifier for the client performing the mutation.
errors
[String!]!
videoProgress
The member's recorded video progress.
Mutation
mutation UpdateVideoProgress($input: UpdateVideoProgressInput!) {
updateVideoProgress(input: $input) {
clientMutationId
errors
videoProgress {
createdAt
id
percentageComplete
positionSeconds
post {
__typename
... on Event {
__typename
}
}
resourceId
}
}
}Variables
{
"input": {
"percentageComplete": 1,
"positionSeconds": 1,
"postId": "id",
"videoId": "id"
}
}Response
{
"data": {
"updateVideoProgress": {
"clientMutationId": "string",
"errors": [
"string"
],
"videoProgress": {
"createdAt": "value",
"id": "id",
"percentageComplete": 1,
"positionSeconds": 1,
"post": {
"__typename": "Event"
},
"resourceId": "id"
}
}
}
}