Files
bookhoard/bruno/environments/Bookmann.bru
T
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

18 lines
550 B
Plaintext

vars {
base_url: http://localhost:8765
ebookid: 02a535a4-19f8-43fa-b81b-89a226d19dd9
fakebookid: 123e4567-e89b-12d3-a456-426614174000
user_id: c51118f0-31fc-4c32-827d-517d6599bf21
ebook_id: 02a535a4-19f8-43fa-b81b-89a226d19dd9
media_item_id: 550e8400-e29b-41d4-a716-446655440000
highlight_id: 660f9501-f29b-51d4-b716-446655440001
note_id: 7710a602-g29b-61d4-c716-446655440002
libraryId: 8821b703-h29b-71d4-d716-446655440003
mediaItemId: 9932c704-i29b-81d4-e716-446655440004
rating: 5
isVisible: true
}
vars:secret [
token
]