mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
[DOCS] Fix ML sync API example (#133585)
This commit is contained in:
parent
b7c4d890c0
commit
b7ae8a2efb
4 changed files with 76 additions and 14 deletions
|
@ -74,7 +74,7 @@ Retrieve the list of {ml} saved objects that require synchronization:
|
|||
|
||||
[source,sh]
|
||||
--------------------------------------------------
|
||||
$ curl -X GET api/ml/saved_objects/sync?simulate=true
|
||||
GET api/ml/saved_objects/sync?simulate=true
|
||||
--------------------------------------------------
|
||||
// KIBANA
|
||||
|
||||
|
@ -83,7 +83,7 @@ the following response:
|
|||
|
||||
[source,sh]
|
||||
--------------------------------------------------
|
||||
{{"savedObjectsCreated":{"anomaly_detector":{"myjob1":{"success":true},"myjob2":{"success":true}}},"savedObjectsDeleted":{},"datafeedsAdded":{},"datafeedsRemoved":{}}
|
||||
{"savedObjectsCreated":{"anomaly_detector":{"myjob1":{"success":true},"myjob2":{"success":true}}},"savedObjectsDeleted":{},"datafeedsAdded":{},"datafeedsRemoved":{}}
|
||||
--------------------------------------------------
|
||||
|
||||
To perform the synchronization, re-run the API and omit the `simulate` parameter.
|
Loading…
Add table
Add a link
Reference in a new issue