Docs

Start Collaborator Attribute File Upload

POST /collaborators/{collaboratorId}/attributes/{propertyId}/files

POST/collaborators/{collaboratorId}/attributes/{propertyId}/files

Starts uploading a file into one of this event collaborator's File or MultiFile properties: a new file in the event drive, in the collaborator's folder or the type's named folder. An Org property is stored on the collaborator record, so its file lands in the org drive's record folder. PUT the bytes to uploadTarget, then commit fileId with Collaborators_SetCollaboratorValue. propertyId comes from Collaborators_GetCollaborator. Authorized as that value write: Collaborator.Edit, or the collaborator's own login on an editable field. 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
collaboratorIduuidRequired
propertyIduuidRequired

Request Body

FieldTypeRequiredDescription
namestringOptional
fileFormatstringOptional
fileSizeintegerOptional

Response

FieldTypeDescription
fileIduuid
versionIduuid
uploadTargetstring| null