Queries the JavaScript code version of a routine.
Operation description
Note
You can call this operation up to 100 times per second per account.
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 |
SelectCodeRevision | string | Yes | The version of the JavaScript code that you want to query. | 1611151912787121550 |
Response parameters
Examples
Sample success responses
JSON
format
{
"Content": {
"test": "test",
"test2": 1
},
"RequestId": "D24F0C48-1B27-4C58-8B84-1A0C001A514E"
}
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.