# VideoUpload

> The `VideoUpload` object.

Source: https://docs.gastrogate.io/docs/api/types/VideoUpload

**Kind:** Objects

## Fields

### `expiresAt`

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

The upload session expires after 24 hours. Retain the token to resume.

### `fileSize`

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

### `partCount`

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

### `partSize`

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

Split the file into consecutive slices of this many bytes; the final slice may be smaller.

### `token`

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

Opaque upload capability, bound to the restaurant. Still requires RestaurantRead on every API call.

## How to get it

This type is returned by:

- [`createVideoUpload`](https://docs.gastrogate.io/docs/api/mutations/createVideoUpload.md) (mutation)
