mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-09 06:25:07 +00:00
[REST API] use a block literal for request bodies
This commit is contained in:
parent
6c3f6778df
commit
a859595dcd
@ -80,17 +80,18 @@
|
|||||||
type: test
|
type: test
|
||||||
id: 1
|
id: 1
|
||||||
pipeline: "my_pipeline"
|
pipeline: "my_pipeline"
|
||||||
body: {
|
body: >
|
||||||
field_to_rename: "value",
|
{
|
||||||
field_to_remove: "old_value",
|
field_to_rename: "value",
|
||||||
field_to_lowercase: "LOWERCASE",
|
field_to_remove: "old_value",
|
||||||
field_to_uppercase: "uppercase",
|
field_to_lowercase: "LOWERCASE",
|
||||||
field_to_trim: " trimmed ",
|
field_to_uppercase: "uppercase",
|
||||||
field_to_split: "127-0-0-1",
|
field_to_trim: " trimmed ",
|
||||||
field_to_join: ["127","0","0","1"],
|
field_to_split: "127-0-0-1",
|
||||||
field_to_convert: ["127","0","0","1"],
|
field_to_join: ["127","0","0","1"],
|
||||||
field_to_gsub: "127-0-0-1"
|
field_to_convert: ["127","0","0","1"],
|
||||||
}
|
field_to_gsub: "127-0-0-1"
|
||||||
|
}
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
get:
|
get:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user