# Backport
This will backport the following commits from `main` to `8.7`:
- [[Docs] Fix curl examples in update data view api docs
(#153292)](https://github.com/elastic/kibana/pull/153292)
<!--- Backport version: 8.9.7 -->
### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)
<!--BACKPORT [{"author":{"name":"Nick
Peihl","email":"nick.peihl@elastic.co"},"sourceCommit":{"committedDate":"2023-04-03T20:02:26Z","message":"[Docs]
Fix curl examples in update data view api docs (#153292)\n\n##
Summary\r\n\r\nFixes typos in the curl examples in the Update data views
API docs.\r\n\r\n[Reported by a
community\r\nuser](https://discuss.elastic.co/t/kibana-data-view-update-api-request-doesnt-work/327435/5).","sha":"95d48205924474153735ffa6a9a21e6d34b29ac3","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Docs","release_note:skip","docs","Team:DataDiscovery","v8.0.2","v8.1.3","v8.2.3","backport:all-open","v8.3.3","v8.4.3","v8.5.3","v8.6.2","v8.8.0","v8.7.1"],"number":153292,"url":"https://github.com/elastic/kibana/pull/153292","mergeCommit":{"message":"[Docs]
Fix curl examples in update data view api docs (#153292)\n\n##
Summary\r\n\r\nFixes typos in the curl examples in the Update data views
API docs.\r\n\r\n[Reported by a
community\r\nuser](https://discuss.elastic.co/t/kibana-data-view-update-api-request-doesnt-work/327435/5).","sha":"95d48205924474153735ffa6a9a21e6d34b29ac3"}},"sourceBranch":"main","suggestedTargetBranches":["8.0","8.1","8.2","8.3","8.4","8.5","8.6","8.7"],"targetPullRequestStates":[{"branch":"8.0","label":"v8.0.2","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.1","label":"v8.1.3","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.2","label":"v8.2.3","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.3","label":"v8.3.3","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.4","label":"v8.4.3","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.5","label":"v8.5.3","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.6","label":"v8.6.2","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.8.0","labelRegex":"^v8.8.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/153292","number":153292,"mergeCommit":{"message":"[Docs]
Fix curl examples in update data view api docs (#153292)\n\n##
Summary\r\n\r\nFixes typos in the curl examples in the Update data views
API docs.\r\n\r\n[Reported by a
community\r\nuser](https://discuss.elastic.co/t/kibana-data-view-update-api-request-doesnt-work/327435/5).","sha":"95d48205924474153735ffa6a9a21e6d34b29ac3"}},{"branch":"8.7","label":"v8.7.1","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
Co-authored-by: Nick Peihl <nick.peihl@elastic.co>
# Backport
This will backport the following commits from `main` to `8.7`:
- [[DOCS] Add stub for find case activity API
(#152041)](https://github.com/elastic/kibana/pull/152041)
<!--- Backport version: 8.9.7 -->
### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)
<!--BACKPORT [{"author":{"name":"Lisa
Cawley","email":"lcawley@elastic.co"},"sourceCommit":{"committedDate":"2023-02-28T17:16:33Z","message":"[DOCS]
Add stub for find case activity API
(#152041)","sha":"1607f812eb50127b56b6a1bace86a76c91b6ee3c","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:ResponseOps","docs","Feature:Cases","backport:prev-minor","v8.7.0","v8.8.0"],"number":152041,"url":"https://github.com/elastic/kibana/pull/152041","mergeCommit":{"message":"[DOCS]
Add stub for find case activity API
(#152041)","sha":"1607f812eb50127b56b6a1bace86a76c91b6ee3c"}},"sourceBranch":"main","suggestedTargetBranches":["8.7"],"targetPullRequestStates":[{"branch":"8.7","label":"v8.7.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.8.0","labelRegex":"^v8.8.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/152041","number":152041,"mergeCommit":{"message":"[DOCS]
Add stub for find case activity API
(#152041)","sha":"1607f812eb50127b56b6a1bace86a76c91b6ee3c"}}]}]
BACKPORT-->
Co-authored-by: Lisa Cawley <lcawley@elastic.co>
closes#150311
Adds wording to clarify that the space ID must be lowercase
alphanumeric, but can include underscores and hyphens. Previously this
restriction was not documented, but if these requirements are not met
the API will respond with a 400.
Update the `DELETE` request to use `<space_name>`.
Thanks @Erni for the nudge!
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* data view rest api request body field documentation
* document sub-fields of the api request body
* add examples of different ways to create the data view
* switch order of 2 examples
* Update docs/api/data-views/create.asciidoc
* data_view properties documentation
* update documentation
* fix broken link
* Apply suggestions from code review
Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>
* Update docs/api/data-views/create.asciidoc
* Update docs/api/data-views/create.asciidoc
Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>
Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>