Lists the names of every configuration file of your Opensolr Index.
Endpoint
https://opensolr.com/solr_manager/api/get_all_config_filesMethodGET
Auth
email and api_key of your account, as GET or POST parameters: Authentication.In the panelThe configuration files
01 · Parameters
core_nameRequiredThe name of your index.
02 · Example
curl -s "https://opensolr.com/solr_manager/api/get_all_config_files?email=YOUR_EMAIL&api_key=YOUR_API_KEY&core_name=my_index"
03 · Answer
{ "status": true, "msg": "[\"schema.xml\",\"solrconfig.xml\",\"synonyms.txt\",\"stopwords.txt\",\"protwords.txt\"]" }
msg is a string that holds a JSON list: decode it a second time to get the file names.04 · Errors
ERROR_NOT_CORE_OWNERHTTP 200The index is not yours.
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
Read one file: get_file. Upload one: upload_config_file.
Every error code and HTTP status of the API: API errors. Calls per minute and per hour: Rate limits.