List shelves
curl --request GET \
--url https://api.shelv.dev/v1/shelves \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.shelv.dev/v1/shelves"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.shelv.dev/v1/shelves', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.shelv.dev/v1/shelves', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{
"auditFindings": [
{
"message": "<string>",
"code": "<string>",
"file": "<string>",
"sourceRef": "<string>"
}
],
"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
},
"repairAttempts": 1,
"reviewMode": true,
"storageSizeBytes": 123,
"template": "<string>",
"updatedAt": "2023-11-07T05:31:56Z",
"userId": "<string>"
}
],
"pagination": {
"limit": 123,
"page": 123,
"total": 123,
"totalPages": 123
}
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}Shelves
List shelves
List all shelves with pagination.
GET
/
v1
/
shelves
List shelves
curl --request GET \
--url https://api.shelv.dev/v1/shelves \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.shelv.dev/v1/shelves"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.shelv.dev/v1/shelves', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.shelv.dev/v1/shelves', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{
"auditFindings": [
{
"message": "<string>",
"code": "<string>",
"file": "<string>",
"sourceRef": "<string>"
}
],
"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
},
"repairAttempts": 1,
"reviewMode": true,
"storageSizeBytes": 123,
"template": "<string>",
"updatedAt": "2023-11-07T05:31:56Z",
"userId": "<string>"
}
],
"pagination": {
"limit": 123,
"page": 123,
"total": 123,
"totalPages": 123
}
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
⌘I
