Creates a search strategy.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
opensearch:WriteSearchStrategy |
*SearchStrategy
|
None | None |
Request syntax
POST /v4/openapi/app-groups/{appGroupIdentity}/apps/{appId}/search-strategies HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| appGroupIdentity |
string |
Yes |
The name of the application. |
"my_app" |
| appId |
string |
Yes |
The version number. |
1234 |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
SearchStrategy |
No |
The search strategy. |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response body. |
||
| requestId |
string |
The ID of the request. |
"abc123" |
Examples
Success response
JSON format
{
"requestId": "\"abc123\""
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.