how to get all sites instead of by page api/v3/search

138
0
08-14-2019 10:41 AM
LeoHu
by
New Contributor III

At this page:  https://hub.arcgis.com/search?collection=Site  

It list 3865 hub sites avaliable.

If I run this https://opendata.arcgis.com/api/v3/search?filter[collection]=any(Site)

it only return 10 sites 

if you want to get more result, 

you have to run https://opendata.arcgis.com/api/v3/search?filter[collection]=any(Site)&page[key]=eyJodWIiOnsic3RhcnQ...

which have next page (key).

What I want is to get all 3865 site at one request:

https://opendata.arcgis.com/api/v3/search?filter[collection]=any(Site) & some magic parameters 

return all 3865 site instead of only first page 10 with next page key value in  meta{} 

0 Kudos
0 Replies