All Products
Search
Document Center

Edge Security Acceleration:CommitStagingRoutineCode

Last Updated:Oct 17, 2024

Generates an official code version from unstable JavaScript code that is in the staging environment. The version can be used in the canary release or production environment.

Operation description

Note The call frequency of the API is no more than 100 queries per second.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
NamestringYes

The name of the routine. The name must be unique among the routines that belong to the same Alibaba Cloud account.

test
CodeDescriptionstringYes

The description of the code version.

Hello World

Response parameters

ParameterTypeDescriptionExample
object
Contentobject

The version number of the code.

1620876959997924701
RequestIdstring

The ID of the request.

5CC228B4-7A67-4016-9C9F-4A4133494A91

Examples

Sample success responses

JSONformat

{
  "Content": 1620876959997924600,
  "RequestId": "5CC228B4-7A67-4016-9C9F-4A4133494A91"
}

Error codes

HTTP status codeError codeError messageDescription
400EdgeRoutine.GeneralErrorA server error occurred: %sA server error occurred. Try again later. If the error persists, submit a ticket.

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
No change history