Skip to content

Commit

Permalink
[DLM] Fix the new endpoint rest-api specification (elastic#95665)
Browse files Browse the repository at this point in the history
Fix the following mistakes in the rest-api specification for the new
endpoints.

- Changed the stability of the endpoints from stable to experimental.
- Removed the following paths that we decided we do not support.

Relates to: elastic#93596
  • Loading branch information
gmarouli committed Apr 28, 2023
1 parent b640c21 commit 29d22ae
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 23 deletions.
5 changes: 5 additions & 0 deletions docs/changelog/95665.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pr: 95665
summary: "[DLM] Fix the new endpoint rest-api specification"
area: DLM
type: bug
issues: []
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,13 @@
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/master/dlm-delete-lifecycle.html",
"description":"Deletes the data lifecycle of the selected data streams."
},
"stability":"stable",
"stability":"experimental",
"visibility":"public",
"headers":{
"accept": [ "application/json"]
},
"url":{
"paths":[
{
"path":"/_data_stream/_lifecycle",
"methods":[
"DELETE"
]
},
{
"path":"/_data_stream/{name}/_lifecycle",
"methods":[
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,13 @@
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/master/dlm-get-lifecycle.html",
"description":"Returns the data lifecycle of the selected data streams."
},
"stability":"stable",
"stability":"experimental",
"visibility":"public",
"headers":{
"accept": [ "application/json"]
},
"url":{
"paths":[
{
"path":"/_data_stream/_lifecycle",
"methods":[
"GET"
]
},
{
"path":"/_data_stream/{name}/_lifecycle",
"methods":[
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,13 @@
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/master/dlm-put-lifecycle.html",
"description":"Updates the data lifecycle of the selected data streams."
},
"stability":"stable",
"stability":"experimental",
"visibility":"public",
"headers":{
"accept": [ "application/json"]
},
"url":{
"paths":[
{
"path":"/_data_stream/_lifecycle",
"methods":[
"PUT"
]
},
"url": {
"paths": [
{
"path":"/_data_stream/{name}/_lifecycle",
"methods":[
Expand Down

0 comments on commit 29d22ae

Please sign in to comment.