Get snapshot repository

GET /platform/configuration/snapshots/repositories/{repository_name}

Retrieves the snapshot repository configuration. To access the configuration contents, you must have privileged permissions.

Path parameters

Responses

  • 200 application/json

    Retrieve snapshot repository config

    Hide response attributes Show response attributes object
    • repository_name string Required

      Elasticsearch snapshot repository name

    • config object Required

      Elasticsearch configuration JSON for a snapshot repository

GET /platform/configuration/snapshots/repositories/{repository_name}
curl \
 --request GET 'https://{{hostname}}/api/v1/platform/configuration/snapshots/repositories/{repository_name}' \
 --user "username:password"
Response examples (200)
{
  "repository_name": "string",
  "config": {}
}