04cf1565fa
feat(bookstack-api-9at): implement Pages Delete
...
Add Delete() to PagesService with tests for success, 404, and 403.
2026-01-30 09:54:09 +01:00
970699afe2
feat(bookstack-api-d2c): implement Pages Create and Update
...
Add PageCreateRequest and PageUpdateRequest types. Implement Create()
and Update() on PagesService with proper error handling. Add tests
including bad request validation.
2026-01-30 09:53:44 +01:00
f2747adcaf
feat(bookstack-api-jt9): implement pages export (Markdown, PDF)
...
Add doRaw() for non-JSON responses. Implement ExportMarkdown() and
ExportPDF() on PagesService returning raw bytes. Add tests.
2026-01-30 09:52:10 +01:00
6944d50512
feat(bookstack-api-m6n): implement pagination iterator with iter.Seq2
...
Add generic listAll helper using Go 1.23+ iter.Seq2 for memory-efficient
pagination. Implement ListAll() on BooksService and PagesService.
Tests cover multi-page iteration, early break, errors, and empty results.
2026-01-30 09:51:35 +01:00
5107bb8a84
feat(bookstack-api-cpg): implement PagesService List and Get
...
Implement PagesService.List with pagination and Get with full page
content including HTML/Markdown fields. Add mock server tests.
2026-01-30 09:50:18 +01:00
62e299192d
Set up Go module and project structure
...
- Populated .gitignore with Go-specific patterns
- Created placeholder Go files with basic package structure:
- bookstack.go: Client and Config setup
- types.go: Data structures (Book, Page, Chapter, Shelf, SearchResult)
- errors.go: Error handling types with sentinel errors
- http.go: HTTP helper placeholder with ListOptions
- books.go, pages.go, chapters.go, shelves.go, search.go: Service placeholders
- Verified build succeeds with go build ./...
- No external dependencies added (stdlib only)
All files compile successfully and follow flat package structure.
2026-01-30 09:36:58 +01:00