Get site(s) OpenSearch snapshot
GET/sites/:siteId/opensearch/snapshots/:snapshotName
Returns the OpenSearch Snapshot
Request
Path Parameters
Site Identifier
Snapshot Name
Responses
- 200
200 OK
Response Headers
Access-Control-Allow-Origin
string
Access-Control-Allow-Methods
string
Access-Control-Allow-Headers
string
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
]
]
snapshots
object[]
Snapshot name
Snapshot’s universally unique identifier (UUID)
Open Search version that created the snapshot
Indices in the snapshot
shards
object
Total number of shards
Failed number of shards
Successful number of shards
failures
object[]
The index name.
UUID of the index.
Shard identifier.
Full exception/message explaining why the failure occurred.
ID of the node handling that shard.
Status of the failure (e.g., INTERNAL_SERVER_ERROR).
Snapshot status. Possible values: IN_PROGRESS, SUCCESS, FAILED, PARTIAL
Date/time when the snapshot creation process began
Time (in milliseconds) when the snapshot creation process began
Date/time when the snapshot creation process ended
Time (in milliseconds) when the snapshot creation process ended
Total time (in milliseconds) that the snapshot creation process lasted
{
"snapshots": [
{
"snapshot": "string",
"uuid": "string",
"version": "string",
"indices": [
"string"
],
"shards": {
"total": 0,
"failed": 0,
"successful": 0
},
"failures": [
{
"index": "string",
"index_uuid": "string",
"shard_id": 0,
"reason": "string",
"node_id": "string",
"status": "string"
}
],
"state": "string",
"start_time": "string",
"start_time_in_millis": 0,
"end_time": "string",
"end_time_in_millis": 0,
"duration_in_millis": 0
}
]
}