The library's folders, file counts and tags
The library's folders, file counts and tags (media:read)
Every request sends Authorization: Bearer ...: the access token in local mode, an API key stk_... in cloud mode. Use Send to try it against your cloud instance with your API key.
GET
header
AuthorizationBearer <token>API key (stk_...), or in the Community Edition the access token (stk_local_...)
The tree
application/json- response
data*array<>root_files*integerFiles at the top level
total_files*integerFiles in the library (not in Deleted)
deleted_files*integerFiles in Deleted
duplicate_files*integerFiles with at least one identical twin
tags*array<>Every tag on files, most used first
curl -X GET 'https://staqly.example.com/v1/media-folders'{ "data": [ { "id": "string", "parent_id": "string", "name": "string", "files": 0, "created_at": "2019-08-24T14:15:22Z" } ], "root_files": 0, "total_files": 0, "deleted_files": 0, "duplicate_files": 0, "tags": [ { "tag": "string", "files": 0 } ]}