Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question (People API) : any way to query the otherContacts list by time updated? #7941

Open
AndroidDeveloperLB opened this issue May 4, 2021 · 1 comment
Labels
priority: p4 type: question Request for information or clarification. Not an issue.

Comments

@AndroidDeveloperLB
Copy link

AndroidDeveloperLB commented May 4, 2021

Or maybe it's already sorted as such?
I want to cache the results and later if there is none on the query, ignore them all.
Or to update what's cached when possible.
This is why I also need some ID for each, but no idea where can I get it.

I'm talking about the API of OtherContacts.list() , which matches to this, and returns me a list of Person (relevant link here)

@Neenu1995 Neenu1995 added the type: question Request for information or clarification. Not an issue. label May 4, 2021
@AndroidDeveloperLB AndroidDeveloperLB changed the title Question: any way to query the otherContacts list by time updated? Question (People API) : any way to query the otherContacts list by time updated? May 5, 2021
@AndroidDeveloperLB
Copy link
Author

@Neenu1995
Seems the list is sorted from oldest to newest, and that using the sync-token we can get what has changed.

But, the sync-token doesn't say which were removed. Only a list of contacts is returned (modified/new).

Can you please offer to sort in the opposite direction (from new to old) ? This can help in case we've cached the results, and need only the newest ones (and don't have a valid sync-token).

In addition, for sync-token, please offer a way to detect which were removed, because this seems missing and can only be found if I query the entire list again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: p4 type: question Request for information or clarification. Not an issue.
Projects
None yet
Development

No branches or pull requests

3 participants