Reads one configuration file of your Opensolr Index and gives you its content.
Endpoint
https://opensolr.com/solr_manager/api/get_fileMethodGET
Auth
email and api_key of your account, as GET or POST parameters: Authentication.In the panelEdit a configuration file
01 · Parameters
core_nameRequiredThe name of your index (index_name works too).
file_nameRequiredThe name without its extension, for example schema.
file_extensionRequiredThe extension, for example xml.
02 · Example
curl -s "https://opensolr.com/solr_manager/api/get_file?email=YOUR_EMAIL&api_key=YOUR_API_KEY&core_name=my_index&file_name=schema&file_extension=xml"
03 · Answer
{ "status": true, "msg": "<?xml version=\"1.0\" encoding=\"UTF-8\" ?> <schema name=\"my_index\" version=\"1.6\"> ..." }
04 · Errors
ERROR_INVALID_CORE_NAMEHTTP 200No index name, or the 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
List the files: get_all_config_files. Change one: upload_config_file.
Every error code and HTTP status of the API: API errors. Calls per minute and per hour: Rate limits.