Skip to main content
GET
/
api
/
shelves
/
{id}
/
files
/
{path}
Get a single shelf file
curl --request GET \
  --url https://api.shelv.dev/api/shelves/{id}/files/{path} \
  --header 'Authorization: Bearer <token>'
"<string>"

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
path
string
required

Shelf file path (URL-encoded), e.g. clauses/force-majeure.md

Response

Raw file content

The response is of type string.