mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
parent
2f3476986f
commit
6e72e96247
1 changed files with 18 additions and 2 deletions
|
@ -16,7 +16,7 @@ Note: You cannot access this endpoint via the Console in Kibana.
|
|||
(array|string) The saved object type(s) that the export should be limited to
|
||||
`objects` (optional)::
|
||||
(array) A list of objects to export
|
||||
`includeReferencesDeep`::
|
||||
`includeReferencesDeep` (optional)::
|
||||
(boolean) This will make the exported objects include all the referenced objects needed
|
||||
|
||||
Note: At least `type` or `objects` must be passed in.
|
||||
|
@ -33,9 +33,25 @@ The following example exports all index pattern saved objects.
|
|||
--------------------------------------------------
|
||||
POST api/saved_objects/_export
|
||||
{
|
||||
"type": "index-patterns"
|
||||
"type": "index-pattern"
|
||||
}
|
||||
--------------------------------------------------
|
||||
// KIBANA
|
||||
|
||||
A successful call returns a response code of `200` along with the exported objects as the response body.
|
||||
|
||||
The following example exports specific saved objects.
|
||||
|
||||
[source,js]
|
||||
--------------------------------------------------
|
||||
POST api/saved_objects/_export
|
||||
{
|
||||
"objects": [
|
||||
{
|
||||
"type": "dashboard",
|
||||
"id": "be3733a0-9efe-11e7-acb3-3dab96693fab"
|
||||
}
|
||||
]
|
||||
}
|
||||
--------------------------------------------------
|
||||
// KIBANA
|
Loading…
Add table
Add a link
Reference in a new issue