Appearance
Get dashboard data
GET
/api/dashboard
Returns currently reading books, recently added, inbox count, library stats, and pipeline status. currentlyReading, inboxCount and stats.processingCount are per-user (reading progress is private, and inbox/review books are pre-approval uploads); recentlyAdded and the rest of stats describe the shared organized library, so stats.totalFileSize counts only organized books' files. pipeline holds install-wide queue counts and is therefore admin-only: it is an empty object for everyone else. Admins receive the install-wide inbox count and processing count.
Responses
Dashboard data
application/json
JSON "currentlyReading": [ { "id": "string", "title": "string", "author": "string", "coverPath": "string", "percentage": 0, "device": "string", "lastRead": 0 } ], "recentlyAdded": [ { "id": "string", "title": "string", "author": "string", "coverPath": "string", "createdAt": "string" } ], "inboxCount": 0, "stats": { "totalBooks": 0, "totalAuthors": 0, "topGenre": "string", "totalFileSize": 0, "processingCount": 0 }, "pipeline": { "additionalProperties": { "waiting": 0, "active": 0, "completed": 0, "failed": 0, "delayed": 0 } }
{
}
GET
/api/dashboard