Queries the fine sort expression for a version of an OpenSearch application.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
opensearch:DescribeSecondRank |
*SecondRank
|
None | None |
Request syntax
GET /v4/openapi/app-groups/{appGroupIdentity}/apps/{appId}/second-ranks/{name} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| appGroupIdentity |
string |
Yes |
The name of the application group. |
my_app_group_name |
| appId |
integer |
Yes |
The API version. |
110157886 |
| name |
string |
Yes |
The name of the second-rank expression. |
test |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
No parameters required.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| requestId |
string |
The request ID. |
0A6EB64B-B4C8-CF02-810F-E660812972FF |
| result |
object |
The details of the second-rank expression. |
|
| created |
integer |
The time when the expression was created. |
1587052801 |
| active |
boolean |
Indicates whether the expression is active. |
true |
| isDefault |
string |
Indicates whether the expression is the default one. This parameter is returned only in the response.
|
true |
| isSys |
string |
Indicates whether the expression is a system expression. This parameter is returned only in the response.
|
false |
| description |
string |
The description. |
- |
| updated |
integer |
The time when the expression was updated. |
1587052801 |
| name |
string |
The name of the expression. |
tests |
| meta |
string |
The second-rank expression. You can write an expression that contains fields, feature functions, and mathematical functions to implement complex sort logic. |
random()+now() |
| id |
string |
The ID of the expression. This parameter is returned only in the response. |
89047 |
Examples
Success response
JSON format
{
"requestId": "0A6EB64B-B4C8-CF02-810F-E660812972FF",
"result": {
"created": 1587052801,
"active": true,
"isDefault": "true",
"isSys": "false",
"description": "-",
"updated": 1587052801,
"name": "tests",
"meta": "random()+now()",
"id": "89047"
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.