API - Get all the Solr configuration files list

Config Files
API Endpoint

Get All Configuration Files List

Retrieve a list of all configuration files present on your Opensolr index. Use this to see which config files are available before downloading or modifying them.

Endpoint

GET https://opensolr.com/solr_manager/api/get_all_config_files

Parameters

ParameterStatusDescription
emailrequiredYour Opensolr registration email address
api_keyrequiredYour Opensolr API key
core_namerequiredThe name of your Opensolr index

Code Examples

cURL

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

PHP

$params = http_build_query([
    'email'     => 'YOUR_EMAIL',
    'api_key'   => 'YOUR_API_KEY',
    'core_name' => 'YOUR_INDEX',
]);
$response = json_decode(file_get_contents(
    'https://opensolr.com/solr_manager/api/get_all_config_files?' . $params
), true);
print_r($response);

Python

import requests

response = requests.get(
    "https://opensolr.com/solr_manager/api/get_all_config_files",
    params={
        "email": "YOUR_EMAIL",
        "api_key": "YOUR_API_KEY",
        "core_name": "YOUR_INDEX",
    }
)
data = response.json()
print(data)

Related Documentation

Get Config File

Download a specific configuration file from your index.

Upload Config File

Upload or update a single configuration file.

Upload Config Zip

Upload multiple config files at once as a zip archive.

Config File Guide

Understand how Solr configuration files work together.

Need help with your Solr configuration? We can help.

Contact Support