查询边缘程序的函数路由列表。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
授权信息
当前API暂无授权信息透出。
请求参数
| 名称 | 类型 | 必填 | 描述 | 示例值 |
|---|---|---|---|---|
| PageNumber | integer | 否 | 第几页,不传时默认为 1。 | 1 |
| PageSize | integer | 否 | 每页几条,最大 500,不传时默认 500。 | 10 |
| RoutineName | string | 是 | 边缘函数 Routine 名。 | test-routine1 |
返回参数
示例
正常返回示例
JSON格式
{
"RequestId": "04F0F334-1335-436C-A1D7-6C044FE73368\n",
"Configs": [
{
"SiteId": 554889455535696,
"SiteName": "test.com",
"ConfigId": 0,
"SiteVersion": 1,
"Sequence": 1,
"RouteEnable": "on",
"Rule": "(http.host eq \\\"video.example.com\\\")\n",
"RouteName": "test_route",
"ConfigType": "global",
"RoutineName": "test-routine1\n",
"Bypass": "on",
"Mode": "simple",
"Fallback": "on"
}
],
"PageNumber": 1,
"PageSize": 20,
"TotalCount": 83,
"TotalPage": 2
}错误码
| HTTP status code | 错误码 | 错误信息 | 描述 |
|---|---|---|---|
| 400 | InternalException | Failed to call the service. Try again later or contact technical support. | 调用服务失败,请稍后重试或联系客服咨询详情。 |
| 400 | InvalidParameter.FunctionName | The specified feature does not exist. Specify a valid feature name based on the related documentation. | 您所输入的功能名称不存在,请参照功能配置文档选择正确的功能名进行操作。 |
访问错误中心查看更多错误码。
