GET

Get list of available index snapshots

Lists available index snapshots absolute paths with timestamps

Request

This request has no parameters.

Responses

Returns the list consisting of absolute paths to currently available index snapshots

application/json

IndexSnapshotBean
GET/api/2/index-snapshot
1 2 3 4 curl --request GET \ --url 'http://{baseurl}/rest/api/2/index-snapshot' \ --user 'email@example.com:<api_token>' \ --header 'Accept: application/json'
POST

Create index snapshot if not in progress

Starts taking an index snapshot if no other snapshot creation process is in progress

Request

This request has no parameters.

Responses

Returns the absolute path which index snapshot will be placed in, after it's created

application/json

IndexSnapshotPromiseBean
POST/api/2/index-snapshot
1 2 3 4 curl --request POST \ --url 'http://{baseurl}/rest/api/2/index-snapshot' \ --user 'email@example.com:<api_token>' \ --header 'Accept: application/json'
GET

Get index snapshot creation status

Checks if index snapshot creation is currently running

Request

This request has no parameters.

Responses

Returns status of current snapshot creation

application/json

IndexSnapshotStatusBean
GET/api/2/index-snapshot/isRunning
1 2 3 4 curl --request GET \ --url 'http://{baseurl}/rest/api/2/index-snapshot/isRunning' \ --user 'email@example.com:<api_token>' \ --header 'Accept: application/json'

Rate this page: