Retrieves the details of a function code package.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
fc:GetFunctionCode |
get |
*All Resource
|
None | None |
Request syntax
GET /2023-03-30/functions/{functionName}/code HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| functionName |
string |
Yes |
The function name. |
my-func |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| qualifier |
string |
No |
The version or alias of the function. |
LATEST |
Response elements
|
Element |
Type |
Description |
Example |
| OutputFuncCode |
The function code information. |
Examples
Success response
JSON format
{
"checksum": "1234567890",
"url": "http://func-code.oss-cn-shanghai.aliyuncs.com/1a2b3c4d5e6f"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.