Skip to content

Resolve next page

It appears the API response changed in a few ways. First if a successful query was passed but no data were returned the response now says successful but has data=[]. In the past I believe it did not return this as a successful response. Also the "hits" appears to represent hits on current page, were if data=[] hits = 0. I believe in the past hits would remain the same as you paged across results.

Updates primarily target handling the new response. In addition, mentions of github were removed after USGS policies suggested removing old github repositories.

Merge request reports

Loading