---
title: "DownloadRequestQuery"
url: "https://developers.vzconnect.com/apis/video-event-api-1/versions/ca29ffe3-f50c-46b4-b1d1-213c2a218c4c/schemas/DownloadRequestQuery"
---

> Full API specification: https://developers.vzconnect.com/apis/video-event-api-1/versions/ca29ffe3-f50c-46b4-b1d1-213c2a218c4c.md

# DownloadRequestQuery

Query parameters for downloading video events.

## OpenAPI definition

```yaml
openapi: 3.0.0
info:
  title: Video Event API
  version: "1.0"
servers:
  - url: https://api.us.vzconnect.com
components:
  schemas:
    DownloadRequestConditions:
      maxItems: 15
      minItems: 1
      type: array
      description: Group of conditions to filter by the resource representation.
      example:
        - field: drawMetadata
          values:
            - "false"
          operator: EQUALS
        - field: zipFile
          values:
            - "true"
          operator: EQUALS
      items:
        required:
          - field
          - operator
          - values
        type: object
        properties:
          field:
            maxLength: 100
            minLength: 1
            pattern: ^(drawMetadata|zipFile)$
            type: string
            description: Name of the property to be evaluated.
          values:
            maxItems: 100
            minItems: 1
            type: array
            description: Value to evaluate.
            items:
              maxLength: 500
              minLength: 1
              pattern: ^[a-zA-Z0-9\s_\W]+$
              type: string
          operator:
            type: string
            description: Operator to use to compare between property values and a defined
              set of values. The available operators include 'EQUALS'.
            enum:
              - EQUALS
            default: EQUALS
        additionalProperties: false
    DownloadRequestQuery:
      type: object
      properties:
        orderBy:
          maxItems: 1
          minItems: 1
          type: array
          description: Group of sorting requests of the resource representation based on
            one or more properties of the entity.
          example:
            - field: requestedAt
              sortOrder: DESC
          items:
            required:
              - field
              - sortOrder
            type: object
            properties:
              field:
                maxLength: 255
                minLength: 1
                pattern: ^(requestedAt)$
                type: string
                description: Name of the property to be sorted by.
              sortOrder:
                type: string
                description: Sort order
                enum:
                  - DESC
                default: DESC
            additionalProperties: false
        conditions:
          $ref: "#/components/schemas/DownloadRequestConditions"
        fields:
          maxItems: 100
          minItems: 0
          uniqueItems: true
          type: array
          description: Resource properties to return. If not provided, the response will
            include the default properties.
          example:
            - downloadId
            - userId
            - videoEventId
            - occurredAt
            - expiresAt
            - requestedAt
            - requestStatus
            - metadata
            - zipFile
          items:
            maxLength: 255
            minLength: 1
            pattern: ^(downloadId|userId|videoEventId|occurredAt|expiresAt|requestedAt|requestStatus|metadata|zipFile)$
            type: string
            description: Field or property name
      additionalProperties: false
      description: Query parameters for downloading video events.
      writeOnly: true
```
