This operation supports dry runs.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
opensearch:WriteSummary |
update |
*App
|
None | None |
Request syntax
PUT /v4/openapi/app-groups/{appGroupIdentity}/apps/{appId}/summaries HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| appGroupIdentity |
string |
Yes |
The name of the application. |
“my_app_group_name” |
| appId |
integer |
Yes |
The version number of the application. |
10157886 |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| dryRun |
boolean |
No |
Specifies whether the request is a dry run. |
true |
| body |
array<object> |
No |
The request body. |
|
|
object |
No |
The request body. |
||
| field |
string |
No |
The field. |
"title" |
| len |
integer |
No |
The length of a segment. |
50 |
| element |
string |
No |
The HTML tag that is used to highlight terms in red. |
"em" |
| ellipsis |
string |
No |
The connector that is used to connect segments. |
"..." |
| snippet |
integer |
No |
The number of segments. |
1 |
Request body
| Field | Type | Required | Example | Description |
| [] | Object | Yes | The summary settings. For more information, see Summary. | |
| [].field | String | Yes | "title" | The field. |
| [].len | Integer | Yes | 50 | The length of a segment. |
| [].element | String | Yes | "em" | The HTML tag that is used to highlight terms. |
| [].ellipsis | String | Yes | "..." | The connector that is used to connect segments. |
| [].snippet | Integer | Yes | 1 | The number of segments. |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| result |
boolean |
Indicates whether the request was successful. |
true |
| requestId |
string |
The request ID. |
7A389E09-7964-5A2B-FE9D-F6CFA7162852 |
Examples
Success response
JSON format
{
"result": true,
"requestId": "7A389E09-7964-5A2B-FE9D-F6CFA7162852"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.