mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
[Docs] Fix curl examples in update data view api docs (#153292)
## Summary Fixes typos in the curl examples in the Update data views API docs. [Reported by a community user](https://discuss.elastic.co/t/kibana-data-view-update-api-request-doesnt-work/327435/5).
This commit is contained in:
parent
234d48d9bc
commit
95d4820592
1 changed files with 3 additions and 3 deletions
|
@ -62,7 +62,7 @@ Update a title of the `<my-view>` data view:
|
|||
|
||||
[source,sh]
|
||||
--------------------------------------------------
|
||||
$ curl -X POST api/data_views/data-view/my-view
|
||||
$ curl -X POST api/data_views/data_view/my-view
|
||||
{
|
||||
"data_view": {
|
||||
"title": "some-other-view-*"
|
||||
|
@ -75,7 +75,7 @@ Customize the update behavior:
|
|||
|
||||
[source,sh]
|
||||
--------------------------------------------------
|
||||
$ curl -X POST api/data_views/data-view/my-view
|
||||
$ curl -X POST api/data_views/data_view/my-view
|
||||
{
|
||||
"refresh_fields": true,
|
||||
"data_view": {
|
||||
|
@ -90,7 +90,7 @@ All update fields are optional, but you can specify the following fields:
|
|||
|
||||
[source,sh]
|
||||
--------------------------------------------------
|
||||
$ curl -X POST api/data_views/data-view/my-view
|
||||
$ curl -X POST api/data_views/data_view/my-view
|
||||
{
|
||||
"data_view": {
|
||||
"title": "...",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue