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
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
Name | string | Yes | The name of the routine. The name must be unique among the routines that belong to the same Alibaba Cloud account. | test |
CodeDescription | string | Yes | The description of the code version. | Hello World |
Response parameters
Examples
Sample success responses
JSON
format
{
"Content": 1620876959997924600,
"RequestId": "5CC228B4-7A67-4016-9C9F-4A4133494A91"
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
400 | EdgeRoutine.GeneralError | A server error occurred: %s | A 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 time | Summary of changes | Operation |
---|
No change history