Read a media folder
Read one folder by the ID list folders returns.
GET https://sitepaste.com/api/v1/public/media/folders/{folderId}
Requires the media scope.
Usage
curl "https://sitepaste.com/api/v1/public/media/folders/f8qjx2v7mz4r" \
-H "Authorization: Bearer $TOKEN"
Authorizations
| Header | Type | Required | Description |
|---|---|---|---|
| Authorization | string | Yes | Bearer token (Authorization: Bearer sp_...). Created in the dashboard under Account > Tokens. See authentication. |
Response
{ "id": "f8qjx2v7mz4r", "name": "Gallery One" }
400 when {folderId} is malformed. 404 when it is well formed but the workspace has no folder with that ID.