tus: Document new API level for TUS endpoints.

This commit is contained in:
Alex Vandiver 2024-09-20 14:01:11 +00:00 committed by Tim Abbott
parent 4bd4534450
commit 86d5ee5bdf
2 changed files with 13 additions and 0 deletions

View File

@ -25,6 +25,11 @@ format used by the Zulip server that they are interacting with.
* [`GET /export/realm/consents`](/api/get-realm-export-consents): Added * [`GET /export/realm/consents`](/api/get-realm-export-consents): Added
a new endpoint to fetch the consents of users for their [private data a new endpoint to fetch the consents of users for their [private data
exports](/help/export-your-organization#full-export-with-member-consent). exports](/help/export-your-organization#full-export-with-member-consent).
* `/api/v1/tus` is an endpoint implementing the [`tus`
protocol](https://tus.io/protocols/resumable-upload) for resumable uploads.
Clients which send authenticated credentials (either via browser-based
cookies, or API key via `Authorization` header) may use this endpoint to
create uploads, similar to [`POST /user_uploads`](/api/upload-file).
**Feature level 294** **Feature level 294**

View File

@ -8235,6 +8235,14 @@ paths:
can reshare it with other users by sending additional Zulip messages can reshare it with other users by sending additional Zulip messages
containing the link. containing the link.
For uploading larger files, `/api/v1/tus` is an endpoint
implementing the [`tus`
protocol](https://tus.io/protocols/resumable-upload) for
resumable uploads. Clients which send authenticated
credentials (either via browser-based cookies, or API key via
`Authorization` header) may use this endpoint to create
uploads.
[uploaded-files]: /help/manage-your-uploaded-files [uploaded-files]: /help/manage-your-uploaded-files
[send-message]: /api/send-message [send-message]: /api/send-message
x-parameter-description: | x-parameter-description: |