Add Bible verse highlights and notes API
This commit is contained in:
@@ -130,6 +130,14 @@ The API is divided into several sections based on functionality. Most routes und
|
||||
- `GET /chapters/:chapterId`: Get the content of a chapter.
|
||||
- `GET /chapters/:chapterId/verses`: Get the verses of a chapter.
|
||||
- `GET /search`: Search the Bible.
|
||||
- `GET /mine`: Get Bible highlights and notes for the active profile.
|
||||
- `GET /verses/:verseKey/counters`: Get highlight and note counters for a verse key like `GEN.1.1`.
|
||||
- `GET /verses/:verseKey/activity`: Get profiles that highlighted/noted a verse and recent notes, limited to 10 by default.
|
||||
- `POST /verses/:verseKey/highlight`: Highlight a verse for the active profile.
|
||||
- `DELETE /verses/:verseKey/highlight`: Remove a verse highlight for the active profile.
|
||||
- `POST /verses/:verseKey/notes`: Add a note for a verse.
|
||||
- `PUT /verses/:verseKey/notes/:noteId`: Update one of the active profile's notes.
|
||||
- `DELETE /verses/:verseKey/notes/:noteId`: Delete one of the active profile's notes.
|
||||
|
||||
### Subsplash (`/subsplash`)
|
||||
|
||||
@@ -139,4 +147,4 @@ The API is divided into several sections based on functionality. Most routes und
|
||||
### TODO
|
||||
|
||||
- [ ] Define nodes schema
|
||||
- [ ] Implement basic login/registration
|
||||
- [ ] Implement basic login/registration
|
||||
|
||||
Reference in New Issue
Block a user