Groups
Conversations
All groups and messages
Send feedback to Google
Help
Training
Sign in
Groups
collecta developer
Conversations
About
Groups keyboard shortcuts have been updated
Dismiss
See shortcuts
Paging, using after link
0 views
Skip to first unread message
PALY
unread,
Nov 3, 2010, 6:41:37 PM
11/3/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to collecta developer
Hello,
Using the API, i receive the following header :
<link type="application/atom+xml" rel="next" href="http://
api.collecta.com/search?page=2&q=adidas
" />
<link type="application/atom+xml" rel="self" href="http://
api.collecta.com/search
?
page=1&q=adidas&since_id=1288823825849" />
<link type="application/atom+xml" rel="refresh" href="http://
api.collecta.com/search?q=adidas&since_id=1288823825849
" />
<link type="application/atom+xml" rel="after" href="http://
api.collecta.com/search?q=adidas&after_id=1288749055646
" />
<opensearch:totalResults>70</opensearch:totalResults>
<opensearch:itemsPerPage>15</opensearch:itemsPerPage>
I understand it as : there are 70 total results, here are the first
15.
Using the after link, i think it would remain 70 - 15 = 55 items, but
no : querying the after URL says it remains 50 !
5 are lost.
Anything i am misunderstanding ?
Thanks for feedback,
Reply all
Reply to author
Forward
0 new messages