mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Apply suggestions from code review
Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
This commit is contained in:
co-authored by
Christy Jacob
parent
692cbe1899
commit
f562420606
@@ -1,7 +1,7 @@
|
||||
Create a new file. The user who creates the file will automatically be assigned to read and write access unless they have passed custom values for read and write arguments.
|
||||
Create a new file. The user that creates the file will automatically be granted read and write permissions unless they have passed custom values for read and write permissions.
|
||||
|
||||
Larger files should be uploaded using multiple requests with the [content-range](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Range) header to send a partial request with a maximum supported chunk of `5MB`. The `content-range` header values should always be in bytes.
|
||||
|
||||
When the first request is sent, the server will return the **File** object, and the subsequent part request must include the file's **id** in `x-appwrite-upload-id` header to allow the server to know the partial upload is for the existing file and not for a new one.
|
||||
When the first request is sent, the server will return the **File** object, and the subsequent part request must include the file's **id** in `x-appwrite-upload-id` header to allow the server to know that the partial upload is for the existing file and not for a new one.
|
||||
|
||||
If you're creating a new file using one of the Appwrite SDKs, the entire chunking logic will be managed by the SDK internally.
|
||||
If you're creating a new file using one the Appwrite SDKs, all the chunking logic will be managed by the SDK internally.
|
||||
|
||||
Reference in New Issue
Block a user