Mengambil detail paket kode fungsi.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
fc:GetFunctionCode |
get |
*全部资源
|
None | None |
Sintaks permintaan
GET /2023-03-30/functions/{functionName}/code HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| functionName |
string |
Yes |
Nama fungsi. |
my-func |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| qualifier |
string |
No |
Versi atau alias fungsi. |
LATEST |
Elemen respons
|
Element |
Type |
Description |
Example |
| OutputFuncCode |
The function code information. |
Contoh
Respons sukses
JSONformat
{
"checksum": "1234567890",
"url": "http://func-code.oss-cn-shanghai.aliyuncs.com/1a2b3c4d5e6f"
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.