Timeline for Why horizon cursors are so obfuscated?
Current License: CC BY-SA 4.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 16, 2019 at 9:32 | comment | added | Bartek Nowotarski |
@IvaKam you shouldn't do it. Cursors should be used only for going to next/prev page or saving a place where you finished processing to continue later. If you want to read objects from arbitrary ledger you should load that ledger resource, read the paging_token and use it in cursor parameter.
|
|
May 16, 2019 at 9:26 | comment | added | Iva Kam | But how then one can read ledgers from an arbitrary place on the network not knowing its cursor? For certain kinds of entities, there are self, next and prev links, but single ledger contains a link to self only. | |
May 16, 2019 at 9:20 | vote | accept | Iva Kam | ||
May 15, 2019 at 17:54 | history | answered | Bartek Nowotarski | CC BY-SA 4.0 |