Get snapshot repositories

GET /platform/configuration/snapshots/repositories

Retrieves a list of available snapshot repository configurations. To access the configuration contents, you must have privileged permissions.

Responses

  • List of snapshot repository configs

    Hide response attribute Show response attribute object
    • configs array[object] Required

      List of snapshot configurations

      Hide configs attributes Show configs attributes object
      • repository_name string Required

        Elasticsearch snapshot repository name

      • config object Required

        Elasticsearch configuration JSON for a snapshot repository

        Additional properties are allowed.

GET /platform/configuration/snapshots/repositories
curl \
 -X GET https://{{hostname}}/api/v1/platform/configuration/snapshots/repositories
Response examples (200)
{
  "configs": [
    {
      "repository_name": "string",
      "config": {}
    }
  ]
}