API reference

listVideoUploadParts

List uploaded parts to resume an incomplete upload. After completion, retry completeVideoUpload to recover the public URL. Required permission: RestaurantRead

graphql
listVideoUploadParts(
  restaurantId: ID!
  token: String!
): [VideoUploadPart!]

Arguments

Name Type Description
restaurantId ID!
token String!

Returns

[VideoUploadPart!]

Example

graphql
mutation ListVideoUploadParts($restaurantId: ID!, $token: String!) {
  listVideoUploadParts(restaurantId: $restaurantId, token: $token) {
    eTag
    partNumber
    size
  }
}
bash
curl https://api.thelocoapp.com/graphql \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $LOCO_API_KEY" \
  -d '{"query": "mutation { listVideoUploadParts(...) { __typename } }"}'