Lists the environments you can create indexes in: the shared regions, your own dedicated servers and your cluster environments.
https://opensolr.com/solr_manager/api/get_envemail and api_key of your account, as GET or POST parameters: Authentication.01 · Parameters
web_crawlerOptionaltrue keeps only the environments with site search (crawl, Data Ingestion, hybrid search).
02 · Example
curl -s "https://opensolr.com/solr_manager/api/get_env?email=YOUR_EMAIL&api_key=YOUR_API_KEY&web_crawler=true"
03 · Answer
{ "status": true, "msg": { "cluster_owned_environments": [], "simple_shared_environments": [ { "server_identifier": "DE-SOLR-9", "solr_version": "9.00", "region": "...", "provider": "...", "country": "Germany", "flag": "..." } ], "simple_owned_environments": [] } }
simple_shared_environmentsThe shared regions every account can use.
simple_owned_environmentsYour dedicated servers.
cluster_owned_environmentsYour Resilient Cluster environments, for create_cluster.
Use server_identifier as the region of create_index.
04 · Errors
ERROR_AUTHENTICATION_FAILEDHTTP 403The email and API key do not match.
ERROR_RATE_LIMIT_PER_MINUTEHTTP 429Too many calls. Wait for the Retry-After seconds: Rate limits.
05 · Related
Only the identifiers: regions. Regions with site search, with their coordinates: vector_regions.
Every error code and HTTP status of the API: API errors. Calls per minute and per hour: Rate limits.