Skip to content

Commit

Permalink
docs: Add documention for folder list via API (#32)
Browse files Browse the repository at this point in the history
* docs: Add documention for folder list via api
  • Loading branch information
Chiranjeevinarukula authored Feb 29, 2024
1 parent c76f806 commit 5da682b
Showing 1 changed file with 32 additions and 1 deletion.
33 changes: 32 additions & 1 deletion docs/server-api/folders.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,35 @@ For valid requests the API server returns a JSON:
"uuid": "46seZZHAnWE", // folder id
}

```
```

## Get all the Folders that belong to the organization
To get all folders in the organization, you need to send an HTTP GET request to the API Endpoint, with the [authentication Header](../server-api/authentication.md).

```bash
https://app.tpstreams.com/api/v1/<organization_id>/assets/folders/
```

For valid requests the API server returns a JSON:

```json
{
"count": 3,
"next": null,
"previous": null,
"results": [
{
"title": "Aes files",
"uuid": "6bBcXxu5cAM"
},
{
"title": "Drm videos",
"uuid": "BmN3MXSq5z6"
},
{
"title": "AES encrypted Videos",
"uuid": "nD8K9nJ3Bsm"
},
]
}
```

0 comments on commit 5da682b

Please sign in to comment.