-
Notifications
You must be signed in to change notification settings - Fork 5
Type inconsistencies #5
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Endpoint /v1/media/show/all returns "hosts": null which is illegal according to
rbtv-apidoc/response/media/MediaPublic.ts
Line 26 in 91e85c2
| hosts: Array<bohnePortrait>; |
and "lastEpisode": {"episodes": [{"seasonId": null, "episode": null, "firstBroadcastdate": null}]} which is illegal according to
rbtv-apidoc/response/media/MediaPublic.ts
Lines 82 to 83 in 91e85c2
| seasonId: number; | |
| episode: number; |
rbtv-apidoc/response/media/MediaPublic.ts
Line 91 in 5ef4785
| firstBroadcastdate: Date; |
and "lastEpisode": {"episodes": [{"tokens": [{...}]}]} misses mediaEpisodeId which is not optional according to
rbtv-apidoc/response/media/MediaPublic.ts
Line 72 in 91e85c2
| mediaEpisodeId: number; |
and actually many others...
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working