# Preload File

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /v1/files:
    post:
      summary: Preload File
      deprecated: false
      description: >-
        ### 🔁 Filesos Compatibility (Legacy Support)


        Snapbyte was previously known as **Filesos**. To ensure backward
        compatibility for older clients, some legacy FilesOS endpoints and file
        IDs have been retained in Snapbyte.


        > **Note:** If you have **not used Filesos before**, you can safely
        **ignore these APIs**.


        Preload a file to snapbyte via Google Drive File ID.
      tags:
        - Legacy APIs
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                driveId:
                  type: string
                  description: Google Drive File ID, file have to be published
              x-apidog-orders:
                - driveId
              required:
                - driveId
            examples: {}
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: string
                        description: Snapbyte File ID
                    x-apidog-orders:
                      - id
                    required:
                      - id
                x-apidog-orders:
                  - data
                required:
                  - data
              example:
                success: true
                message: ''
                data:
                  id: ff1f1ebf-461f-4a14-834e-ba6479e333a5
          headers: {}
          x-apidog-name: Success
      security: []
      x-apidog-folder: Legacy APIs
      x-apidog-status: released
      x-run-in-apidog: https://app.apidog.com/web/project/991601/apis/api-19077534-run
components:
  schemas: {}
  securitySchemes: {}
servers:
  - url: https://api.snapbyte.io
    description: Prod Env
security: []

```
