mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
# Backport This will backport the following commits from `main` to `8.x`: - [[DOCS][OpenAPI] Add descriptions, examples, tags, responses for space APIs (#195333)](https://github.com/elastic/kibana/pull/195333) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Lisa Cawley","email":"lcawley@elastic.co"},"sourceCommit":{"committedDate":"2024-10-18T19:03:06Z","message":"[DOCS][OpenAPI] Add descriptions, examples, tags, responses for space APIs (#195333)\n\nCo-authored-by: Elena Shostak <165678770+elena-shostak@users.noreply.github.com>","sha":"2656e5a4ff79277c9a370ee24d6692ccb1d3142c","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Feature:Security/Spaces","release_note:skip","v9.0.0","docs","v8.16.0","backport:version","v8.17.0"],"title":"[DOCS][OpenAPI] Add descriptions, examples, tags, responses for space APIs","number":195333,"url":"https://github.com/elastic/kibana/pull/195333","mergeCommit":{"message":"[DOCS][OpenAPI] Add descriptions, examples, tags, responses for space APIs (#195333)\n\nCo-authored-by: Elena Shostak <165678770+elena-shostak@users.noreply.github.com>","sha":"2656e5a4ff79277c9a370ee24d6692ccb1d3142c"}},"sourceBranch":"main","suggestedTargetBranches":["8.16","8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/195333","number":195333,"mergeCommit":{"message":"[DOCS][OpenAPI] Add descriptions, examples, tags, responses for space APIs (#195333)\n\nCo-authored-by: Elena Shostak <165678770+elena-shostak@users.noreply.github.com>","sha":"2656e5a4ff79277c9a370ee24d6692ccb1d3142c"}},{"branch":"8.16","label":"v8.16.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.x","label":"v8.17.0","branchLabelMappingKey":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Lisa Cawley <lcawley@elastic.co>
20 lines
712 B
YAML
20 lines
712 B
YAML
summary: Resolve missing reference errors
|
|
description: >
|
|
Resolve missing reference errors for a visualization by ignoring the error.
|
|
NOTE: If a prior copy attempt resulted in resolvable errors, you must include a retry for each object you want to copy, including any that were returned in the successResults array.
|
|
In this example, we retried copying the dashboard and canvas accordingly.
|
|
value:
|
|
objects:
|
|
- type: dashboard
|
|
id: my-dashboard
|
|
includeReferences: true
|
|
createNewCopies: false
|
|
retries:
|
|
marketing:
|
|
- type: visualization
|
|
id: my-vis
|
|
ignoreMissingReferences: true
|
|
- type: canvas
|
|
id: my-canvas
|
|
- type: dashboard
|
|
id: my-dashboard
|