Skip to main content
GET
/
v1
/
shelves
/
{id}
/
listing
Get shelf file listing
curl --request GET \
  --url https://api.shelv.dev/v1/shelves/{id}/listing \
  --header 'Authorization: Bearer <token>'
{
  "fileCount": 123,
  "name": "<string>",
  "paths": [
    "<string>"
  ],
  "shelfPublicId": "<string>"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required
Pattern: ^shf_[0-9a-f]{24}$

Response

File listing

fileCount
number
required
name
string
required
paths
string[]
required
shelfPublicId
string
required
Pattern: ^shf_[0-9a-f]{24}$