Docs

Add Public File Link File

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

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

Creates a file through an Edit folder link, with no authentication, in the link's folder or a subfolder, and returns the sasUri to PUT the binary to. The linkId is the share URL's id; folderId (omit for the linked folder) comes from Drives_GetPublicFileLink.

Path Parameters

FieldTypeRequiredDescription
linkIduuidRequired

Request Body

FieldTypeRequiredDescription
folderIduuidOptional
namestringOptional
fileFormatstringOptional
fileSizeintegerOptional

Response

FieldTypeDescription
iduuid
sasUriuri| null