the browser-facing portion of osu!
at master 27 lines 694 B view raw view rendered
1## Cursor 2``` 3{ 4 "_id": 5, 5 "_score": 36.234 6} 7// query string: cursor[_id]=5&cursor[_score]=36.234 8``` 9 10``` 11{ 12 "page": 2, 13} 14// query string: cursor[page]=2 15``` 16 17A structure included in some API responses containing the parameters to get the next set of results. 18 19The values of the cursor should be provided to next request of the same endpoint to get the next set of results. 20 21If there are no more results available, a cursor with a value of `null` is returned: `"cursor": null`. 22 23Note that `sort` option should also be specified for it to work. 24 25<aside class="warning"> 26 This pagination parameter is being deprecated and replaced with <a href="#cursorstring">CursorString</a>. 27</aside>