Commit Graph
5 Commits
Author SHA1 Message Date
john-okeefe 155b58aef6 docs: restructure documentation and update guidelines
- Update PROJECT_GUIDELINES.md to reflect current architecture (Hybrid SSR)
- Integrate service layer and SSR rules into existing sections
- Update README.md paths to match new docs structure (docs/developer/api, docs/user/devices)
- Remove redundant README.md files from bruno/ directories
- Update bruno/collection.bru documentation to current API standard
- Fix architectural pattern description from API-driven to Hybrid SSR
2026-02-02 16:45:59 -05:00
john-okeefe 60380a043d docs: Update bruno test files 2026-01-31 22:31:54 -05:00
john-okeefe 0e784f6d3f Add Bruno API collection for Phase 1 universal progress endpoints
Bruno API Requests Added:
- universal-progress/Get Progress History.bru
  * Fetch reading progress history for a book
  * Returns historical progress data with timestamps

- universal-progress/Update Universal Progress.bru
  * Update reading progress with automatic format conversion
  * Supports percentage, epubcfi, character, chapter tracking

- universal-progress/Get Universal Progress.bru
  * Get comprehensive progress with all location references
  * Returns percentage, epubcfi, character, chapter data
  * Includes device-specific progress tracking

Collection Features:
- Environment variables: baseUrl, token, deviceId
- Consistent request/response structure
- Proper authentication headers
- JSON request/response bodies

Test Coverage:
- Multi-format progress tracking
- Progress conversion between formats
- Historical progress queries
- Device-specific progress retrieval

Integration:
- Works with Phase 1 universal progress system
- Tests format group detection (reflowable, fixed_layout, comic_archive)
- Validates progress conversion engine
2026-01-30 16:57:18 -05:00
john-okeefe 8db5939892 refactor: standardize Bruno API requests with bruToJsonV2 format
- Convert all JSON tests to JavaScript functions for bruToJsonV2 compatibility
- Update authentication to use 'inherit' instead of manual headers
- Fix hardcoded URLs to use {{base_url}} variables
- Standardize variable syntax from {{ _.var }} to {{var}}
- Add comprehensive API documentation to all requests
- Update environment variables with missing required fields
- Apply consistent structure: meta, http method, headers, tests, vars, settings, docs
- Enhanced validation with proper error handling and field checks
2026-01-28 20:13:56 -05:00
john-okeefe 78851a940a feat: add comprehensive Bruno API tests for annotations
- Add complete Bruno collection for notes API (5 endpoints)
- Add complete Bruno collection for highlights API (5 endpoints)
- Include detailed request/response documentation
- Add proper validation examples and error cases
- Support both media-items and ebook endpoint testing
- Add environment variable support for dynamic IDs
2026-01-28 15:43:05 -05:00