info: name: Get Dashboard Sections type: http seq: 1 http: method: GET url: '{{base_url}}/api/dashboard/sections' auth: inherit body: type: none runtime: scripts: - type: tests code: "test(\"status must be 200 with auth\", function() {\n expect(res.status).to.eql(200);" docs: |- Get all dashboard sections for a specific library. **Endpoint**: GET /api/dashboard/sections **Auth**: Required (Bearer token via auth: inherit) ## Query Parameters | Parameter | Type | Required | Description | |-----------|------|----------|-------------| | library_id | string | Yes | Library UUID | ## Response Returns array of sections including: - Smart sections (continue-reading, in-progress, recently-added, etc.) - User collections marked with show_on_dashboard: true ## Section Types | Type | Description | |------|-------------| | smart | Auto-generated sections based on user activity | | collection | User-created collections with dashboard enabled | ## Example Response ```json { "sections": [ { "id": "continue-reading", "type": "smart", "title": "Continue Reading", "icon": "📖", "items": [...], "view_all_url": "/section/continue-reading"