Docs

Start Crew Attribute File Upload

POST /events/{eventId}/crew/{crewId}/attributes/{attributeId}/files

POST/events/{eventId}/crew/{crewId}/attributes/{attributeId}/files

Starts uploading a file into one of this event crew member's File or MultiFile attributes: a new file in the event drive, in the person's folder or the type's named folder. An Org attribute is stored on the org crew record, so its file lands in the org drive's record folder. PUT the bytes to uploadTarget, then commit fileId with Crew_SetCrewValue. attributeId comes from Crew_GetCrewRecord. Authorized as that value write: Crew.Edit on the placement or at the event, or the person's own login on a crew-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
eventIduuidRequired
crewIduuidRequired
attributeIduuidRequired

Request Body

FieldTypeRequiredDescription
namestringOptional
fileFormatstringOptional
fileSizeintegerOptional

Response

FieldTypeDescription
fileIduuid
versionIduuid
uploadTargetstring| null