mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
# Backport This will backport the following commits from `main` to `8.8`: - [[Data Views] Fix data view field update paths in documentation (#158900)](https://github.com/elastic/kibana/pull/158900) <!--- Backport version: 8.9.7 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Matthias Wilhelm","email":"matthias.wilhelm@elastic.co"},"sourceCommit":{"committedDate":"2023-06-02T14:02:54Z","message":"[Data Views] Fix data view field update paths in documentation (#158900)\n\n## Summary\r\n\r\nThis PR fixes the documentation for the \"update data view fields\" API which used an incorrect route in the provided examples (data-view instead of data_view)","sha":"40c75ed1a2f8f3d8a6ae91ee5dce4fd4bb7ef3da","branchLabelMapping":{"^v8.9.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Feature:Data Views","release_note:skip","docs","Team:DataDiscovery","backport:prev-minor","v8.9.0"],"number":158900,"url":"https://github.com/elastic/kibana/pull/158900","mergeCommit":{"message":"[Data Views] Fix data view field update paths in documentation (#158900)\n\n## Summary\r\n\r\nThis PR fixes the documentation for the \"update data view fields\" API which used an incorrect route in the provided examples (data-view instead of data_view)","sha":"40c75ed1a2f8f3d8a6ae91ee5dce4fd4bb7ef3da"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.9.0","labelRegex":"^v8.9.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/158900","number":158900,"mergeCommit":{"message":"[Data Views] Fix data view field update paths in documentation (#158900)\n\n## Summary\r\n\r\nThis PR fixes the documentation for the \"update data view fields\" API which used an incorrect route in the provided examples (data-view instead of data_view)","sha":"40c75ed1a2f8f3d8a6ae91ee5dce4fd4bb7ef3da"}}]}] BACKPORT--> Co-authored-by: Matthias Wilhelm <matthias.wilhelm@elastic.co>
This commit is contained in:
parent
1eda8460c8
commit
f4375f6c22
1 changed files with 5 additions and 5 deletions
|
@ -49,7 +49,7 @@ Set popularity `count` for field `foo`:
|
|||
|
||||
[source,sh]
|
||||
--------------------------------------------------
|
||||
$ curl -X POST api/data_views/data-view/my-view/fields
|
||||
$ curl -X POST api/data_views/data_view/my-view/fields
|
||||
{
|
||||
"fields": {
|
||||
"foo": {
|
||||
|
@ -64,7 +64,7 @@ Change a simple field format:
|
|||
|
||||
[source,sh]
|
||||
--------------------------------------------------
|
||||
$ curl -X POST api/data_views/data-view/my-view/fields
|
||||
$ curl -X POST api/data_views/data_view/my-view/fields
|
||||
{
|
||||
"fields": {
|
||||
"foo": {
|
||||
|
@ -81,7 +81,7 @@ Change a complex field format:
|
|||
|
||||
[source,sh]
|
||||
--------------------------------------------------
|
||||
$ curl -X POST api/data_views/data-view/my-view/fields
|
||||
$ curl -X POST api/data_views/data_view/my-view/fields
|
||||
{
|
||||
"fields": {
|
||||
"foo": {
|
||||
|
@ -111,7 +111,7 @@ Update multiple metadata fields in one request:
|
|||
|
||||
[source,sh]
|
||||
--------------------------------------------------
|
||||
$ curl -X POST api/data_views/data-view/my-view/fields
|
||||
$ curl -X POST api/data_views/data_view/my-view/fields
|
||||
{
|
||||
"fields": {
|
||||
"foo": {
|
||||
|
@ -130,7 +130,7 @@ Use `null` value to delete metadata:
|
|||
|
||||
[source,sh]
|
||||
--------------------------------------------------
|
||||
$ curl -X POST api/data_views/data-view/my-pattern/fields
|
||||
$ curl -X POST api/data_views/data_view/my-pattern/fields
|
||||
{
|
||||
"fields": {
|
||||
"foo": {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue