Docs
Add Organization File
POST /organizations/{orgId}/files
POST
/organizations/{orgId}/filesCreates a File in the organization's drive (give fileFormat and fileSize; upload the binary to the returned sasUri with an HTTP PUT and no Authorization header) or an ExternalLink (give url). Requires Edit on folderId, or drive-wide Edit at the root. A Deliverable or an ownerType answers 400: those belong to an event drive (Drives_AddFile).
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| orgId | uuid | Required |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| folderId | uuid | Optional | |
| type | string | Optional | |
| name | string | Optional | |
| description | string | Optional | |
| fileFormat | string | Optional | |
| fileSize | integer | Optional | |
| url | string | Optional | |
| ownerType | string | Optional |
Response
| Field | Type | Description |
|---|---|---|
| id | uuid | |
| name | string| null | |
| type | string| null | |
| folderId | uuid| null | |
| versionId | uuid| null | |
| sasUri | uri| null |