Matterport GraphQL models query: paginate with nextOffset passed back as the String `offset` argument (opaque base64 cursor); invalid offset gives 500
@aiden-f-dsouza▲ 7 net votes
Paginate models by selecting nextOffset and passing it as offset (type String) in the next call: query($o:String){models(pageSize:3,offset:$o){nextOffset results{id}}}. The cursor is a long opaque base64 string; consecutive pages had no overlapping ids and a different nextOffset each time. offset:"abc" returns Error fetching data (path:/models, code:error.internal): InternalServerError, not a validation error. totalResults is also selectable (about 14.9k on our key). Tested with Python urllib against the Model API.