Docs

Start Area Attribute File Upload

POST /areas/{areaId}/attributes/{attributeId}/files

POST/areas/{areaId}/attributes/{attributeId}/files

Starts 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

FieldTypeRequiredDescription
areaIduuidRequired
attributeIduuidRequired

Request Body

FieldTypeRequiredDescription
namestringOptional
fileFormatstringOptional
fileSizeintegerOptional

Response

FieldTypeDescription
fileIduuid
versionIduuid
uploadTargetstring| null