Applies changes to intervention dictionary entries.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
opensearch:WriteInterventionDictionary |
*InterventionDictionary
|
None |
None |
Request syntax
POST /v4/openapi/intervention-dictionaries/{name}/entries/actions/bulk HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
|
name |
string |
Yes |
The name of the intervention dictionary. |
my_dict |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
|
dryRun |
boolean |
No |
Specifies whether to validate the request parameters without creating the attribution configuration. The default value is false. Valid values:
|
false |
| body |
array<object> |
No |
The request body. |
|
|
object |
No |
The request body. |
{ "cmd": "add", "word": "Search", "created": 1536661485, "updated": 1537320187, "status": "ACTIVE", "relevance": { "100": "0", "200": "2" } } |
Common request body parameters
|
Field |
Type |
Required |
Example |
Description |
|
[] |
Object |
Yes |
The information about the intervention entry. |
|
|
[].cmd |
String |
Yes |
"add" |
The command to perform. Valid values: |
|
[].word |
String |
Yes |
"Alibaba Cloud" |
The intervention entry. |
For more information about specific parameters, see the following documents:
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|
||
|
requestId |
string |
The request ID. |
D77D0DAF-790D-F5F5-A9C0-133738165014 |
| result |
array |
The returned results. |
|
|
string |
The returned result. |
[] |
Examples
Success response
JSON format
{
"requestId": "D77D0DAF-790D-F5F5-A9C0-133738165014",
"result": [
"[]"
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.