Retrieves the list of sort expressions for an application version.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
opensearch:ListSortExpression |
list |
*FirstRank
*SecondRank
|
None | None |
Request syntax
GET /v4/openapi/app-groups/{appGroupIdentity}/apps/{appId}/sort-expressions HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| appGroupIdentity |
string |
Yes |
The application name. |
my_app_group_name |
| appId |
integer |
Yes |
The version ID. |
110116134 |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
No parameters required.
Query parameters
| Field | Type | Required | Example | Description |
| pageNumber | Integer | No | 1 | The page number. Default value: pageNumber=1. |
| pageSize | Integer | No | 10 | The number of entries per page. Default value: pageSize=10. |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| requestId |
string |
The request ID. |
D77D0DAF-790D-F5F5-A9C0-133738165014 |
| result |
array<object> |
The rough sort or fine sort expression information. References: FirstRank, SecondRank |
|
|
object |
|||
| created |
integer |
The creation time (UNIX timestamp). |
1655793690 |
| active |
boolean |
Indicates whether this is the default expression. |
true |
| description |
string |
The description. |
"" |
| updated |
integer |
The update time (UNIX timestamp). |
1655793690 |
| name |
string |
The name. |
default |
| meta |
any |
||
| type |
string |
||
| totalCount |
integer |
Examples
Success response
JSON format
{
"requestId": "D77D0DAF-790D-F5F5-A9C0-133738165014",
"result": [
{
"created": 1655793690,
"active": true,
"description": "\"\"",
"updated": 1655793690,
"name": "default",
"meta": "",
"type": ""
}
],
"totalCount": 0
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.