-
Notifications
You must be signed in to change notification settings - Fork 25.6k
[DOCS] Adding get snapshot status API docs #59355
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
[DOCS] Adding get snapshot status API docs #59355
Conversation
|
@jrodewig, the tests that I added are failing for both |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@lockewritesdocs. I left a few comments that should help fix the CI tests. Mostly minor errors that were preventing the substitutions.
docs/reference/snapshot-restore/apis/get-snapshot-status-api.asciidoc
Outdated
Show resolved
Hide resolved
Co-authored-by: James Rodewig <[email protected]>
|
Pinging @elastic/es-docs (>docs) |
|
Pinging @elastic/es-distributed (:Distributed/Snapshot/Restore) |
jrodewig
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall LGTM.
The only blocking suggestions are that the <repository> and <snapshot> params look to be optional.
Feel free to ignore my other comments as you see fit. Thanks!
docs/reference/snapshot-restore/apis/get-snapshot-status-api.asciidoc
Outdated
Show resolved
Hide resolved
docs/reference/snapshot-restore/apis/get-snapshot-status-api.asciidoc
Outdated
Show resolved
Hide resolved
docs/reference/snapshot-restore/apis/get-snapshot-status-api.asciidoc
Outdated
Show resolved
Hide resolved
Co-authored-by: James Rodewig <[email protected]>
Co-authored-by: James Rodewig <[email protected]>
Co-authored-by: James Rodewig <[email protected]>
Co-authored-by: James Rodewig <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @lockewritesdocs looks good overall, just a few points on the details.
Also, could we add a disclaimer/warning to this API that makes it clear that this might be very expensive to execute if you run it over a large number of snapshots or over snapshots that contain a large number of shards? People should really not be using this API as part of e.g. orchestration logic unless absolutely necessary IMO.
docs/reference/snapshot-restore/apis/get-snapshot-status-api.asciidoc
Outdated
Show resolved
Hide resolved
docs/reference/snapshot-restore/apis/get-snapshot-status-api.asciidoc
Outdated
Show resolved
Hide resolved
docs/reference/snapshot-restore/apis/get-snapshot-status-api.asciidoc
Outdated
Show resolved
Hide resolved
original-brownbear
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM thanks for the extra iterations @lockewritesdocs !
* Adding get snapshot status API docs. * Adding more fields and a link to the new page. * Adding missing spaces in TESTRESPONSES * Adding more parameters and making some edits. * Marking snapshot as optional * Marking repository as optional * Add data type for stats * Add data type for shard_stats * Incorporating review feedback. * Lots of review feedback incorporated. * Fixing tests to unbreak CI builds. * Changing indices to index.
* Adding get snapshot status API docs. * Adding more fields and a link to the new page. * Adding missing spaces in TESTRESPONSES * Adding more parameters and making some edits. * Marking snapshot as optional * Marking repository as optional * Add data type for stats * Add data type for shard_stats * Incorporating review feedback. * Lots of review feedback incorporated. * Fixing tests to unbreak CI builds. * Changing indices to index.
* Adding get snapshot status API docs. * Adding more fields and a link to the new page. * Adding missing spaces in TESTRESPONSES * Adding more parameters and making some edits. * Marking snapshot as optional * Marking repository as optional * Add data type for stats * Add data type for shard_stats * Incorporating review feedback. * Lots of review feedback incorporated. * Fixing tests to unbreak CI builds. * Changing indices to index.
* Adding get snapshot status API docs. * Adding more fields and a link to the new page. * Adding missing spaces in TESTRESPONSES * Adding more parameters and making some edits. * Marking snapshot as optional * Marking repository as optional * Add data type for stats * Add data type for shard_stats * Incorporating review feedback. * Lots of review feedback incorporated. * Fixing tests to unbreak CI builds. * Changing indices to index.
* Adding get snapshot status API docs. * Adding more fields and a link to the new page. * Adding missing spaces in TESTRESPONSES * Adding more parameters and making some edits. * Marking snapshot as optional * Marking repository as optional * Add data type for stats * Add data type for shard_stats * Incorporating review feedback. * Lots of review feedback incorporated. * Fixing tests to unbreak CI builds. * Changing indices to index.
* Adding get snapshot status API docs. * Adding more fields and a link to the new page. * Adding missing spaces in TESTRESPONSES * Adding more parameters and making some edits. * Marking snapshot as optional * Marking repository as optional * Add data type for stats * Add data type for shard_stats * Incorporating review feedback. * Lots of review feedback incorporated. * Fixing tests to unbreak CI builds. * Changing indices to index.
Adds a new page for the Get snapshot status API.
Backports:
Relates to #56069