We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The response from the get snapshot endpoint contains only snapshots. https://opensearch.org/docs/latest/api-reference/snapshots/get-snapshot/
However, the API definition includes total, responses, and remaining. https://github.com/opensearch-project/opensearch-api-specification/blob/main/spec/namespaces/snapshot.yaml#L411-L427
Similarly, the definition of SnapshotInfo includes unnecessary duration, index_details, metadata, reason, repository, and feature_states."
opensearch-api-specification/spec/schemas/snapshot._common.yaml
Lines 9 to 63 in 10027be
Compare the actual response with requests made to OpenSearch.
Match spec to what's in the OpenSearch code.
OpenSearch 2.15.0
opensearch-project/opensearch-java#420
The text was updated successfully, but these errors were encountered:
@hogesako Thanks for opening this, appreciate a PR if you have time!
Sorry, something went wrong.
Duration, metadata, and reason were described in the source code. https://github.com/opensearch-project/OpenSearch/blob/main/server/src/main/java/org/opensearch/snapshots/SnapshotInfo.java
No branches or pull requests
What is the bug?
The response from the get snapshot endpoint contains only snapshots.
https://opensearch.org/docs/latest/api-reference/snapshots/get-snapshot/
However, the API definition includes total, responses, and remaining.
https://github.com/opensearch-project/opensearch-api-specification/blob/main/spec/namespaces/snapshot.yaml#L411-L427
Similarly, the definition of SnapshotInfo includes unnecessary duration, index_details, metadata, reason, repository, and feature_states."
opensearch-api-specification/spec/schemas/snapshot._common.yaml
Lines 9 to 63 in 10027be
How can one reproduce the bug?
Compare the actual response with requests made to OpenSearch.
What is the expected behavior?
Match spec to what's in the OpenSearch code.
What is your host/environment?
OpenSearch 2.15.0
Do you have any additional context?
opensearch-project/opensearch-java#420
The text was updated successfully, but these errors were encountered: