Notes API Client
Component Detail
Service Layer
low complexity
mobile
0
Dependencies
2
Dependents
1
Entities
0
Integrations
Description
Thin REST client responsible for all HTTP communication with the backend notes endpoints. Handles request construction, response parsing, pagination cursors, and error propagation to the Notes Service.
notes-api-client
Responsibilities
- Issue GET requests to /api/v1/notes with pagination and filter params
- Parse paginated API response into domain Note models
- Propagate network errors for offline fallback handling
Interfaces
getNotesPage(page, pageSize, contactId?, query?)
getNoteDetail(noteId)
searchNotesFts(query, page)
Relationships
Dependents (2)
Components that depend on this component