Docs

Add Public File Link File Version

POST /public/file-links/{linkId}/files/{fileId}/versions

POST/public/file-links/{linkId}/files/{fileId}/versions

Replaces an uploaded file under an Edit folder link, with no authentication, by adding a version, and returns the sasUri to PUT the binary to. The linkId is the share URL's id; fileId comes from Drives_GetPublicFileLink. On a deliverable bound to a tracked file attribute, the attribute's value names the file from this call.

Path Parameters

FieldTypeRequiredDescription
linkIduuidRequired
fileIduuidRequired

Request Body

FieldTypeRequiredDescription
fileFormatstringOptional
fileSizeintegerOptional

Response

FieldTypeDescription
iduuid
sasUriuri| null