Set snapshot repository

Auth

Creates or updates the snapshot repository configuration.

Path parameters

repository_name string required

The name of the snapshot repository configuration.

Query parameters

version integer

Checks for conflicts against the metadata version, then returns the value in the x-cloud-resource-version header.

Request body

The Elasticsearch snapshot repository configuration

type string required

Repository type, (Currently supported: 's3')

settings object required

Elasticsearch repository configuration settings JSON. See Elasticsearch documentation for more information

Response

New snapshot repository config

application/octet-stream
repository_name string required

Elasticsearch snapshot repository name

config object required

Elasticsearch configuration JSON for a snapshot repository