Geo Search in Category, Radius, and Rect via REST API

I now have all the Geo API calls working but having some suggestions.

  1. If the number of Geo Points returned is less than the totalObjects the document states to set the offset plus the size of the data array.
    I found that in this case the object next page is returned in the response similar to other API responses. For example, the response returned is:
"nextPage":"/v1/geo/points?lat=36.114869&
lon=-115.176904&
r=25&
units=MILES&
categories=zzz,zz2,zz3,zz4,zz5&
metadata=%7B%22City%22%3A%22Vegas%22%7D&
pagesize=1&
includemetadata=true&
offset=13"}}

1a. The nextPage URL is a partial of the total URL. It would be consistent with other API response to return the full URL. Also, know if multiple API calls are needed or not, the nextPage should always be returned even in the case that all Geo points have been returned in the response. In other API calls the nextPage value is NULL when no other pages are available to be requested.
Updating the document API to talk about the nextPage object would be very useful.

What is your take on this statement.

Hi Roy,

When you say “other API calls”, what exactly do you refer to?

Regards,
Mark

The other API calls - for instance in the Data Service API for performing queries on Tables, the nextPage refers to any further table can or cannot be queried.