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

  • 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

      Additional properties are allowed.

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