Add total number lines changed since
If a GET request is submitted to /shabads/updates/{INSERT DATE}, the total verses changed since that date is displayed
What's the use case for this?
i have an idea for updating a locally downloded db after some updates w/o releasing a new version like sundae gutka does
How does the count help, though? Wouldn't you just the appropriate endpoint for what you want to pull?
pull after a certain amt of changes
@ManjotS does the Updated column behave the way this PR is expecting?
its ok if its not really needed i can find some other way
Yes updated is updated when the line changes in any way. Keep in mind it could be translit change.
On Wed, Jul 15, 2020, 9:07 PM Akal-Ustat Singh [email protected] wrote:
its ok if its not really needed i can find some other way
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/KhalisFoundation/banidb-api/pull/202#issuecomment-659145511, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAE5OFJPE3RVVEH4NPOSSS3R3Z4HTANCNFSM4O3FADBQ .
maybe this isnt the best solution
is this WIP?
it is done but not sure if needed/wanted
bump @tsingh777 @navdeepsinghkhalsa do you guys think this is useful to have or we can do without?
@AkalUstat wouldnt a fixed # of line changes lead to fewer and fewer updates? ie as the db gets better youd wait longer and longer b/c there are less lines that will need changing