REST API : Get only items updated since given time#532
REST API : Get only items updated since given time#532SSilence merged 4 commits intofossar:masterfrom
Conversation
|
+1 This is somoething I missed for my iPhone App (Currently in Review). |
REST API : Get only items updated since given time
|
thanks for the pr. I merged this. Which format should the updatedsince have? timestamp? |
|
Thanks. Do you know when the version 2.11 will be released ? |
|
Ah, ok, thanks a lot for the comment! I added this in the wiki. End of the next week I will have time for creating a release. I always wait a bit since the last commit. Then, when no issue will be reported, I make the release. Thanks for contribute. I have seen your android app. It looks very nice!! |
|
Hi @yDelouis. Previously, it was not clear if selfoss was licensed under GPL 3 only, or also any later version. Could you clarify whether you are fine with licensing your contributions here and in other PRs under Thanks again and sorry for the confusion. |
|
@jtojnar Yes ! I'm fine with this ! |
Hi,
First of all, thanks for your great work.
I'm developing an Android client for Selfoss and I'm facing an issue for syncing articles.
At the moment, there is no way to know which items have been modified (new or marked read) since the last sync. So the client can't stay in sync with the server without downloading all articles at each sync.
This PR enables the server to track update of articles and add a REST parameter for items to get only the articles updated since a given timestamp. With this pieces of code, the client would be able to keep in sync efficiently with the server.
I have tested both upgrading and new install for each 3 database (sqlite, mysql and postgresql).
Let me know if there is something wrong.