Skip to content

Commit 5954cda

Browse files
committed
handle rest-api docs
1 parent 6dba086 commit 5954cda

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

x-pack/docs/en/rest-api/watcher/ack-watch.asciidoc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,7 @@ PUT _watcher/watch/my_watch
6868
"test_index": {
6969
"throttle_period": "15m",
7070
"index": {
71-
"index": "test",
72-
"doc_type": "test2"
71+
"index": "test"
7372
}
7473
}
7574
}

x-pack/docs/en/rest-api/watcher/execute-watch.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ This is an example of the output:
255255
"index": {
256256
"response": {
257257
"index": "test",
258-
"type": "test2",
258+
"type": "_doc",
259259
"version": 1,
260260
"created": true,
261261
"result": "created",

x-pack/docs/en/rest-api/watcher/get-watch.asciidoc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,7 @@ Response:
8181
"actions": {
8282
"test_index": {
8383
"index": {
84-
"index": "test",
85-
"doc_type": "test2"
84+
"index": "test"
8685
}
8786
}
8887
}

0 commit comments

Comments
 (0)