Compiles a sort script.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
opensearch:WriteSortScript |
*App
|
None | None |
Request syntax
POST /v4/openapi/app-groups/{appGroupIdentity}/apps/{appVersionId}/sort-scripts/{scriptName}/actions/compiling HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| appGroupIdentity |
string |
Yes |
The name or ID of the application. |
search |
| scriptName |
string |
Yes |
The name of the script. |
script |
| appVersionId |
string |
No |
The ID of the application version. |
130196473 |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
No parameters required.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| requestId |
string |
The unique ID of the request. |
ABCDEFGH |
Error response
{
"requestId" : "ABCDEFGH",
"code":"InvalidAppStatus",
"message":"invalid app status.",
"httpCode":400
}
Examples
Success response
JSON format
{
"requestId": "ABCDEFGH"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.