-
Notifications
You must be signed in to change notification settings - Fork 2k
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
[Weighted Routing] Update rest api spec #6336
Conversation
Signed-off-by: Anshu Agarwal <anshukag@amazon.com>
@@ -1,19 +1,31 @@ | |||
{ | |||
"cluster.delete_weighted_routing": { | |||
"documentation": { | |||
"url": "https://opensearch.org/docs/latest/opensearch/rest-api/weighted-routing/delete", | |||
"url": "https://opensearch.org/docs/2.5/api-reference/cluster-api/cluster-awareness/", |
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.
Why not point to latest
? That seems to be the standard. Also the 2.5
reference will go stale.
% git grep 'opensearch.org/docs/' rest-api-spec/src/main/resources/rest-api-spec/api/
rest-api-spec/src/main/resources/rest-api-spec/api/cat.cluster_manager.json: "url":"https://opensearch.org/docs/latest/opensearch/rest-api/cat/cat-master/",
rest-api-spec/src/main/resources/rest-api-spec/api/cluster.delete_decommission_awareness.json: "url": "https://opensearch.org/docs/latest/opensearch/rest-api/decommission/",
rest-api-spec/src/main/resources/rest-api-spec/api/cluster.delete_weighted_routing.json: "url": "https://opensearch.org/docs/latest/opensearch/rest-api/weighted-routing/delete",
rest-api-spec/src/main/resources/rest-api-spec/api/cluster.get_decommission_awareness.json: "url": "https://opensearch.org/docs/latest/opensearch/rest-api/decommission/",
rest-api-spec/src/main/resources/rest-api-spec/api/cluster.get_weighted_routing.json: "url": "https://opensearch.org/docs/latest/opensearch/rest-api/weighted-routing/get",
rest-api-spec/src/main/resources/rest-api-spec/api/cluster.put_decommission_awareness.json: "url": "https://opensearch.org/docs/latest/opensearch/rest-api/decommission/",
rest-api-spec/src/main/resources/rest-api-spec/api/cluster.put_weighted_routing.json: "url": "https://opensearch.org/docs/latest/opensearch/rest-api/weighted-routing/put",
rest-api-spec/src/main/resources/rest-api-spec/api/create_pit.json: "url":"https://opensearch.org/docs/latest/opensearch/rest-api/point_in_time/",
rest-api-spec/src/main/resources/rest-api-spec/api/delete_all_pits.json: "url":"https://opensearch.org/docs/latest/opensearch/rest-api/point_in_time/",
rest-api-spec/src/main/resources/rest-api-spec/api/delete_pit.json: "url":"https://opensearch.org/docs/latest/opensearch/rest-api/point_in_time/",
rest-api-spec/src/main/resources/rest-api-spec/api/get_all_pits.json: "url":"https://opensearch.org/docs/latest/opensearch/rest-api/point_in_time/",
rest-api-spec/src/main/resources/rest-api-spec/api/remote_store.restore.json: "url": "https://opensearch.org/docs/latest/opensearch/rest-api/remote-store#restore",
Gradle Check (Jenkins) Run Completed with:
|
Signed-off-by: Anshu Agarwal <anshukag@amazon.com>
Gradle Check (Jenkins) Run Completed with:
|
Gradle Check (Jenkins) Run Completed with:
|
Gradle Check (Jenkins) Run Completed with:
|
Signed-off-by: Anshu Agarwal <anshukag@amazon.com>
Gradle Check (Jenkins) Run Completed with:
|
This PR is stalled because it has been open for 30 days with no activity. Remove stalled label or comment or this will be closed in 7 days. |
This PR was closed because it has been stalled for 7 days with no activity. |
Description
This PR updates rest api spec
Issues Resolved
[List any issues this PR will resolve]
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.