docs: updated documentation (#476)

Co-authored-by: Monta <monta@HP-ProBook-445-14-inch-G9-Notebook-PC-505aadfc.localdomain>
This commit is contained in:
Montassar Ghanmy
2024-05-07 17:21:17 +01:00
committed by GitHub
parent 3b20806622
commit 24da0c8cfb
22 changed files with 102 additions and 858 deletions
@@ -3,7 +3,7 @@ description: Documents API
---
# Authentication
<!-- TODO[NOT UP TO DATE] -->
All the following routes require the usual authentication header. But you can also use other ways of authentication:
- For the download routes, you can use a token generated by the `/internal/services/documents/v1/companies/:company_id/download/token` route (see bellow).
@@ -299,12 +299,12 @@ Used to create a zip archive containing the requested drive items ( files and fo
**Auth required** : Yes
# Tabs (for TDrive)
# Tabs (for Twake Drive)
<!-- TODO[REMOVE SECTION] -->
If you want to use the TDrive tabs, you must store the configuration of the tabs in the database.
<!-- TODO[REMOVE SECTION] -->
## Get tab configuration
<!-- TODO[REMOVE SECTION] -->
Get a tab configuration to get the attached folder/document id.
**URL** : `/internal/services/documents/v1/companies/:company_id/tabs/:id`
@@ -326,7 +326,7 @@ Get a tab configuration to get the attached folder/document id.
```
## Set tab configuration
<!-- TODO[REMOVE SECTION] -->
Get a tab configuration to get the attached folder/document id.
**URL** : `/internal/services/documents/v1/companies/:company_id/tabs/:id`