API referenceFolders
One of the caller's folders
GET
Sends a real request with your token. Prefer a read-only token; it is kept in this browser's storage.
header
AuthorizationBearer <token>A personal access token (rsk_…) or a Supabase access token.
id*stringMatch
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$Format
uuidThe folder
application/json- response
id*stringMatch
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$Format
uuidname*stringdescription*string|nullparent_folder_id*|nullcolor*string|nullicon*string|nullis_private*boolean|nullsort_order*number|nulllevel*number|nullpath*string|nullcreated_at*string|nullupdated_at*string|nullchild_folder_count*numberbookmark_count*numbercurl -X GET 'https://www.ressource.social/api/v1/folders/497f6eca-6276-4993-bfeb-53cbbbba6f08'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "description": "string", "parent_folder_id": "26caaf35-00f1-4c8f-a2ac-cb04b9b9a6ec", "color": "string", "icon": "string", "is_private": true, "sort_order": 0, "level": 0, "path": "string", "created_at": "string", "updated_at": "string", "child_folder_count": 0, "bookmark_count": 0}Delete a folder and its subfolders DELETE
No source is deleted: every source that was in the folder or any of its subfolders stays in the Library, unfiled. The folders themselves are not recoverable.
The caller's folder tree GET
Every folder, flat, with `parent_folder_id` and `level` to rebuild the tree, ordered as the Library sidebar orders them. Not paginated: the tree is bounded by the folder limit. `bookmark_count` counts sources filed directly in a folder, not in its subfolders.