Publishes a sort script.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request headers

This operation uses only the common request headers. For more information, see Common request parameters.

Request syntax

POST /v4/openapi/app-groups/[appGroupIdentity]/apps/[appVersionId]/sort-scripts/[scriptName]/actions/release HTTP/1.1

Request parameters

Parameter Type Position Required Example Description
appGroupIdentity String Path Yes ''1234''

The name or ID of the application.

appVersionId String Path Yes ''12345''

The version number of the application.

scriptName String Path Yes ''test''

The name of the script.

Response parameters

Parameter Type Example Description
requestId String ABCDEFGH

The ID of the request.

Examples

Sample requests

POST /v4/openapi/app-groups/my_app/apps/123456/sort-scripts/script1/actions/release

Sample success responses

XML format

<requestId>ABCDEFGH</requestId>

JSON format

{
    "requestId": "ABCDEFGH"
}

Error codes

For a list of error codes, visit the API Error Center.

Sample error response

{

"requestId" : "ABCDEFGH"

"code":"InvalidAppStatus",

"message":"invalid app status.",

"httpCode":400

}