/shares/{id}/files/{filePath}Upload a single file to a shared path
Uploads a single file to a shared path using the raw request body, without multipart encoding. The filePath identifies the new file and may include a relative subdirectory; URL-encode special characters in the path. The share must have write scope, and its associated user must have upload or overwrite permission.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
A 400 is returned when the request is invalid, and a 401 when authentication is missing or invalid. A 403 is returned when the share lacks write scope or its associated user lacks upload or overwrite permission; a 413 indicates that the maximum allowed size was exceeded. A 429 indicates too many requests, while a 500 indicates an internal server error. The id path parameter must identify the share, and the filePath path parameter must specify the destination path.