Skip to main content
GET
/
v1
/
shelves
List shelves
curl --request GET \
  --url https://api.shelv.dev/v1/shelves \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "auditFindings": [
        {
          "check": "naming",
          "message": "<string>",
          "severity": "error",
          "code": "<string>",
          "file": "<string>",
          "sourceRef": "<string>"
        }
      ],
      "auditStatus": "passed",
      "auditSummary": "<string>",
      "createdAt": "2023-11-07T05:31:56Z",
      "currentVersionNumber": 123,
      "errorMessage": "<string>",
      "failedAtStep": "<string>",
      "mimeType": "<string>",
      "name": "<string>",
      "originalFileName": "<string>",
      "pageCount": 123,
      "publicId": "<string>",
      "quality": {
        "fallbackApplied": true,
        "granularity": "document",
        "mode": "balanced",
        "tier": "full"
      },
      "repairAttempts": 1,
      "reviewMode": true,
      "status": "uploading",
      "storageSizeBytes": 123,
      "template": "<string>",
      "updatedAt": "2023-11-07T05:31:56Z",
      "userId": "<string>"
    }
  ],
  "pagination": {
    "limit": 123,
    "page": 123,
    "total": 123,
    "totalPages": 123
  }
}

Authorizations

Authorization
string
header
required

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

Query Parameters

page
integer
default:1
limit
integer
default:20
Required range: x <= 100

Response

Paginated list of shelves

data
object[]
required
pagination
object
required