Queries the metadata of a specific edge function (EdgeRoutine), including the EdgeRoutine configuration, configuration version, and code version for each environment.
Operation description
API call frequency: 100 calls per second.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dcdn:DescribeRoutine |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Name |
string |
Yes |
The name of the edge function. The name must be unique within the same account. |
test |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Content |
object |
The information about the EdgeRoutine. For more information about the fields, see the following table. |
CodeRevs, EnvConf, Description, Envs, and CreationTime |
| RequestId |
string |
The request ID. |
4DBA68F5-04A9-406B-****-F2CB635E103F |
Content field metric description
| Name | Type | Example | Description |
| CreationTime | String | 2021-05-31T13:20:14Z | The creation time of the routine. |
| Description | String | InRoZSBkZXNjcmlwdGlvbiBvZiB0aGlzIHJvdXRpbmUi | The description of the routine, stored in base64 encoding. |
| Envs | JSON | production | All canary environments of the routine. |
| EnvConf | JSON | The environment context of all canary environments of the routine, including the CPU specification (SpecName), code version number (CodeRev), and allowed associated DCDN domain names (AllowedHosts) for each canary environment. | |
| ㄴSpecName | String | 100ms | The CPU specification time slice. |
| ㄴCodeRev | String | 1622467214654495147 | The code version number. |
| ㄴAllowedHosts | String | test-e.alicdn.com | The allowed associated DCDN domain names. |
| CodeRevs | JSON | All code versions of the routine, including the description (CodeDescription), creation time (CreationTime), and version number (CodeRevision) for each version. | |
| ㄴCreationTime | String | 2021-05-31T13:20:14Z | The creation time of the code. |
| ㄴCodeDescription | String | IkhlbGxvIFdvcmxkIg== | The description of the code version, stored in base64 encoding. |
| ㄴCodeRevision | String | 1622467236337778954 | The code version number. |
Examples
Success response
JSON format
{
"Content": {
"test": "test",
"test2": 1
},
"RequestId": "4DBA68F5-04A9-406B-****-F2CB635E103F"
}
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. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.