Apideck · Schema

CreateUploadSessionRequest

IntegrationsUnified API

Properties

Name Type Description
name string The name of the file.
parent_folder_id object
drive_id string ID of the drive to upload to.
size object
pass_through object
View JSON Schema on GitHub

JSON Schema

apideck-createuploadsessionrequest-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CreateUploadSessionRequest",
  "title": "CreateUploadSessionRequest",
  "type": "object",
  "x-apideck-schema-id": "CreateUploadSessionRequest",
  "additionalProperties": false,
  "required": [
    "name",
    "parent_folder_id",
    "size"
  ],
  "properties": {
    "name": {
      "type": "string",
      "description": "The name of the file.",
      "example": "Documents"
    },
    "parent_folder_id": {
      "$ref": "#/components/schemas/ParentFolderId"
    },
    "drive_id": {
      "type": "string",
      "description": "ID of the drive to upload to.",
      "example": "1234"
    },
    "size": {
      "$ref": "#/components/schemas/FileSize"
    },
    "pass_through": {
      "$ref": "#/components/schemas/PassThroughBody"
    }
  }
}