Skip to content

Get snapshots response example for the breaking change #43475

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 25, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 49 additions & 1 deletion docs/reference/migration/migrate_8_0/snapshots.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,55 @@
[float]
=== Get snapshots response format is changed
It's possible to get snapshots from multiple repositories in one go. The response format has changed
and now contains separate response for each repository. See <<modules-snapshots>> for more information.
and now contains separate response for each repository.

For example, requesting one snapshot from particular repository

[source,js]
-----------------------------------
GET _snapshot/repo1/snap1
-----------------------------------
// CONSOLE
// TEST[skip:no repo and snapshots are created]

produces the following response

[source,js]
-----------------------------------
{
"responses": [
{
"repository": "repo1",
"snapshots": [
{
"snapshot": "snap1",
"uuid": "cEzdqUKxQ5G6MyrJAcYwmA",
"version_id": 8000099,
"version": "8.0.0",
"indices": [],
"include_global_state": true,
"state": "SUCCESS",
"start_time": "2019-05-10T17:01:57.868Z",
"start_time_in_millis": 1557507717868,
"end_time": "2019-05-10T17:01:57.909Z",
"end_time_in_millis": 1557507717909,
"duration_in_millis": 41,
"failures": [],
"shards": {
"total": 0,
"failed": 0,
"successful": 0
}
}
]
}
]
}
-----------------------------------
// TESTRESPONSE
// TEST[skip:no repo and snapshots are created]

See <<modules-snapshots>> for more information.

[float]
==== Deprecated node level compress setting removed
Expand Down