API - Get a list of your Opensolr Indexes

Index Management

Lists the Opensolr Indexes of your account.

Endpointhttps://opensolr.com/solr_manager/api/get_index_list
MethodGET
Authemail and api_key of your account, as GET or POST parameters: Authentication.

01 · Parameters

None besides email and api_key.

02 · Example

curl -s "https://opensolr.com/solr_manager/api/get_index_list?email=YOUR_EMAIL&api_key=YOUR_API_KEY"

03 · Answer

[
    {
        "index_name": "my_index",
        "index_type": "-1"
    },
    {
        "index_name": "prodsearch",
        "index_type": "0"
    }
]

A plain list, without status. index_type is -1 for a standalone index, 0 for a cluster master, and the id of its master index for a replica. A scoped key limited to some indexes gets only those.

04 · Errors

ERROR_AUTHENTICATION_FAILEDHTTP 403

The email and API key do not match.

ERROR_RATE_LIMIT_PER_MINUTEHTTP 429

Too many calls. Wait for the Retry-After seconds: Rate limits.

05 · Related

The details of one index: get_core_info.

Every error code and HTTP status of the API: API errors. Calls per minute and per hour: Rate limits.