Docs
Start Crew Attribute File Upload
POST /organizations/{orgId}/crew/{crewId}/attributes/{attributeId}/files
POST
/organizations/{orgId}/crew/{crewId}/attributes/{attributeId}/filesStarts uploading a file into an organization crew record's File or MultiFile attribute: a new file in the org drive, in the person's folder or the type's named folder. PUT the bytes to uploadTarget with x-ms-blob-type BlockBlob, then commit fileId (Crew_SetCrewAttributeValue at the org, or Crew_SetCrewValue from an event). Needs Crew.Edit at the organization, or the person's own login where the field is crew-editable. 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 |
|---|---|---|---|
| orgId | uuid | Required | |
| crewId | 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 |