Docs
Start Area Attribute File Upload
POST /areas/{areaId}/attributes/{attributeId}/files
POST
/areas/{areaId}/attributes/{attributeId}/filesStarts uploading a file into one of this event area's File or MultiFile attributes: a new file in the event drive, in the area's folder or the type's named folder. On an owned area an Org attribute is stored on the area record, so its file lands in the org drive's record folder. PUT the bytes to uploadTarget, then commit fileId with Areas_SetAreaValue. attributeId comes from Areas_GetArea. Needs Area.Edit, as the value write. On a tracked attribute it adds a version to the attribute's bound deliverable instead (File), or fills its empty one (MultiFile); fileId is then that deliverable and versionId the new version.
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| areaId | uuid | Required | |
| attributeId | uuid | Required |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| name | string | Optional | |
| fileFormat | string | Optional | |
| fileSize | integer | Optional |
Response
| Field | Type | Description |
|---|---|---|
| fileId | uuid | |
| versionId | uuid | |
| uploadTarget | string| null |