cURL
curl --request GET \ --url https://api.scholarlysoftware.com/api/v1/users/{user_id}/folders \ --header 'Authorization: Bearer <token>'
{ "data": [ { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "type": "folder", "attributes": { "name": "Publications", "created_at": "<string>", "updated_at": "<string>", "locked": true }, "relationships": { "parent": { "links": { "related": "<string>" }, "meta": {} }, "children": { "links": { "related": "<string>" }, "meta": {} }, "user": { "links": { "related": "<string>" }, "meta": {} } } } ] }
Returns root folders for a specific user. Requires admin access.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Bearer token
User UUID
folders found
Show child attributes