An opaque token representing the position in a set of results to fetch items from. Use this to paginate through large result sets. Please note that you can’t use query_params and cursor in the same request. We recommend using query_params for the initial request and cursor for paginated requests.
Set the limit to 100 , execute the query, then to get the next 100, use the value of cursor given in the previous result set. Rinse & repeat until you have all the data needed.
You’ll need to pass the cursor in on each subsequent call to the API.
This is Jia again !
Sorry for asking another question. It’s appreciated if you could help this.
For my next step, I’m using the query including cursor to get more column’s data not only for ‘id’ and ‘name’. I’ve tried 2 version of code below, but it all gave me the errors.
Could you please advise it?
Version 1:
query = ‘’'query {
boards (ids: ******) {
items_page (limit: 100, %s) {
cursor
items {
id
name
text
text1
date
hour
hour_1
status
}
}
}
Version 2:
query = ‘’‘query {
boards (ids: ******) {
items_page (limit: 100, %s) {
cursor
items {
id
name
column_values {
text
text1
date
hour
hour_1
status
}
}
}
}
}’‘’
Looking forward to your reply.
Thank you very much!