Skip to main content
GET
/
api
/
shelves
/
{id}
/
tree
Get shelf file tree
curl --request GET \
  --url https://api.shelv.dev/api/shelves/{id}/tree \
  --header 'Authorization: Bearer <token>'
{
  "fileCount": 123,
  "files": {},
  "name": "<string>",
  "shelfId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string<uuid>
required

Response

File tree with contents

fileCount
number
required
files
object
required
name
string
required
shelfId
string<uuid>
required