fix(backend): include EpisodeSeen in season episodes and add entry credits endpoint
- Add getEntryCredits service method returning all cast + crew with People, ordered by cast_type, order, episode_count - Add getEntryCredits controller method - Add GET /entries/:id/credits route in entry.routes.js - Include EpisodeSeen association in getSeasonEpisodes so seen dates are returned to frontend
This commit is contained in:
1 parent
e460290b9b
commit
22d111ef71
7 files changed
+51
-3
No files matched your search
@@ -30,6 +30,7 @@ Entry CRUD and management.
|
||||
| `refresh(id)` | PUT | `/entries/:id/refresh` |
|
||||
| `fetchCollection(id)` | PUT | `/entries/:id/fetch-collection` |
|
||||
| `getSeasons(id)` | GET | `/entries/:id/seasons` |
|
||||
| `getCredits(id)` | GET | `/entries/:id/credits` |
|
||||
| `syncSeries()` | GET | `/entries/sync-series` |
|
||||
| `uploadMedia(id, formData)` | POST | `/entries/:id/media` |
|
||||
| `setMediaSelected(entryId, mediaId)` | PUT | `/entries/:entryId/media/:mediaId` |
|
||||
|
||||
Reference in new issue
Block a user