Open RevantCI opened 1 year ago
In the API refactor coming up we are planning to remove the bible videos table and bring in a parascriptural. These suggestions are valuable and could be used for cross checking our new implementations
This is in reference to the discussion in todays Vachan API call about the Video API calls Just putting the doubts I had here asked here. Get Put Post Swagger links for reference
- It would be better to keep consistent names Video Get, Put &Post calls for the reference json Some differences I noted book→bookCode, verseNumber→verseStart, verseNumberEnd→verseEnd
- Is chapter and verse data required in other apps? Answer - to make it searachable However this makes putting things like Full Bible, NewTestament, Old Testament a bit more verbose, ie adding one for every chapter, Is there a way to make this more concise? Say for example if in row chapter =0 it is full book book = 0 it is full bible book = -1 for NT and book --2 for OT? Just a a suggestion
- Is bible field required in get videos call , see response schema Get
- Why is book optional in get videos call and chapter and verseNumber mandatory in the Put & Post calls? Based on vachan data it should be book or bookCode which should be mandatory I think. There is currently no chapter and verse level data but that can come in the future. But it can be set as optional for now I feel and book be mandatory for the . Again just a suggestion.
Point 4.
In new resource type parascripturals
, the reference
field which deals with book,chapter and verse level information is kept as optional.
This is in reference to the discussion in todays Vachan API call about the Video API calls Just putting the doubts I had here asked here. Get Put Post Swagger links for reference
book = 0 it is full bible book = -1 for NT and book --2 for OT? Just a a suggestion