elasticsearch/docs/reference/dlm/apis
Andrei Dan 731e6dd097
GET _lifecycle returns data streams without lifecycle (#95192)
This changes the `GET _data_stream/ds_name/_lifecycle` endpoint to
return the data stream name even if it doesn't have a lifecycle
configured.

e.g.
```
{
  "data_streams": [
    {
      "name": "logs-nginx"
    }
  ]
}
```

* Fix xcontent and tests

* Update docs

---------

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2023-04-17 10:35:22 +01:00
..
delete-lifecycle.asciidoc Add new endpoints to configure data lifecycle on a data stream level. (#94590) 2023-04-04 18:37:38 +02:00
dlm-api.asciidoc Add new endpoints to configure data lifecycle on a data stream level. (#94590) 2023-04-04 18:37:38 +02:00
explain-data-lifecycle.asciidoc Introduce a _lifecycle/explain API for data stream backing indices (#94621) 2023-03-27 08:44:40 +01:00
get-lifecycle.asciidoc GET _lifecycle returns data streams without lifecycle (#95192) 2023-04-17 10:35:22 +01:00
put-lifecycle.asciidoc Remove the lifecycle field in the PUT _lifecycle request (#95201) 2023-04-13 09:12:48 +01:00