Fetch batches of bookmarks
You can retrieve batches of bookmarks for a user for maxRecords. In the
following sample code, BEMS retrieves all records, excluding deleted records, since the last
modified time. The response includes up to the 100 records, as specified by maxRecords. If
there are more than 100 records, the response includes a MoreAvailable=true. The client
application then sends additional requests using the NextOffset value to retrieve records in
batches until
MoreAvailable=false.
POST jsonstore/bookmarks/fetch Content-Type: application/json X-Good-GD-AuthToken: "<authtoken>" X-Good-GEMS-Scope:USER { "idOnly": "true", "lastModifiedTime": 1484593063122, "maxRecords" : 100, "offset" : 0 }
BEMS
returns the following batches: Values | Sample code |
---|---|
MoreAvailable=true | Call to BEMS to fetch records.
BEMS response returns first batch of 100 records.
|
MoreAvailable=false | Call to BEMS to fetch additional records.
BEMS response returns second batch of 10 records.
|