# listVideoUploadParts

> List uploaded parts to resume an incomplete upload. After completion, retry completeVideoUpload to recover the public URL.

Required permission: RestaurantRead

Source: https://docs.gastrogate.io/docs/api/mutations/listVideoUploadParts

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

## Arguments

| Name | Type | Description |
| --- | --- | --- |
| `restaurantId` | [`ID`](https://docs.gastrogate.io/docs/api/types/ID.md)! |  |
| `token` | [`String`](https://docs.gastrogate.io/docs/api/types/String.md)! |  |

## Returns

\[[`VideoUploadPart`](https://docs.gastrogate.io/docs/api/types/VideoUploadPart.md)!\]

## 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 } }"}'
```
