- Add #page=N URL fragment routing for shareable inspector links - Support browser back/forward navigation via hashchange event - Persist overlay toggle state in localStorage with error handling - Add isUpdatingFragment flag to prevent double-render on hash updates - Update thumbnail click handler to rely on updateFragment() - Clamp out-of-range page numbers with console warnings - Default to page 0 for invalid/non-numeric page numbers - Add vector fixture provenance entries Acceptance criteria: - URL #page=14 on load → starts on page 14 ✓ - Navigate via next button → URL updates to #page=15 ✓ - Browser back button → URL and view update correctly ✓ - Bookmark with #page=14 → reopens to page 14 ✓ - Overlay toggles persist across page refresh ✓ - Out-of-range #page=999 → clamps to last page ✓ - Invalid #page=abc → defaults to page 0 ✓ Closes pdftract-47e42 Verification: notes/pdftract-47e42.md
15 lines
No EOL
631 B
Text
15 lines
No EOL
631 B
Text
Getting Started
|
|
To use the API, first obtain an authentication token from the dashboard.
|
|
Include this token in the Authorization header of all requests.
|
|
Authentication
|
|
All API requests require authentication using a Bearer token.
|
|
Tokens expire after 24 hours and must be refreshed.
|
|
Endpoints
|
|
GET /api/users - Retrieve a list of users
|
|
POST /api/users - Create a new user
|
|
GET /api/users/:id - Retrieve a specific user
|
|
PUT /api/users/:id - Update a user
|
|
DELETE /api/users/:id - Delete a user
|
|
Rate Limits
|
|
The API has a rate limit of 1000 requests per hour per user.
|
|
Exceeding this limit will result in a 429 Too Many Requests response. |