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 |
JSON Schema
{
"$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"
}
}
}