You need to enable JavaScript to run this app.
导航

获取函数列表

最近更新时间2023.08.14 16:44:49

首次发布时间2023.02.15 19:04:53

本接口用于列出账号下所有函数的信息。

请求参数

名称位置类型是否必填示例值描述
ActionQueryStringListSparrow要执行的操作。取值:ListSparrow
search_typeQueryStringdomain搜索类型
  • 函数域名(domain)
  • 函数名称(name)
默认根据name进行搜索
searchQueryStringtest搜索内容
order_typeQueryStringcreate_time搜索类型
  • 创建时间(create_time)
  • 更新时间(update_time)
  • 函数域名(domain)
  • 函数名称(name)
默认根据id进行排序
pageQueryInt321页码
limitQueryInt3210每页条数
order_byQueryInt322数据顺序,1为降序,2为升序(默认按照id的升序排列)

返回数据

名称类型示例值描述
sparrows[]Sparrow见下文说明函数列表
total_countInt641函数总数

Sparrow

名称类型示例值描述
account_identityInt6420****账户id
user_identityInt640****用户id
domainStringtest-sparrow.test.test函数域名
nameStringhello-ve函数名称
clazz_nameStringf***套餐
creatorStringzhangsan创建人
create_timeInt641638326159创建时间
update_timeInt641638326159更新时间

请求示例

GET https://veefedge.volcengineapi.com/?Action=ListSparrow
&<公共请求参数>

返回示例

正常返回示例

{
    "ResponseMetadata": {
        "RequestId": "2021120720555001022524308105******",
        "Action": "ListSparrow",
        "Version": "2021-04-30",
        "Service": "veefedge",
        "Region": "cn-north-1"
    },
    "Result": {
        "sparrows": [
            {
                "account_identity": 20****,
                "user_identity": 0****,
                "domain": "test-sparrow.test.test",
                "name": "hello-ve",
                "clazz_name": "****",
                "creator": "*****",
                "create_time": 1638326159,
                "update_time": 1638326159
            }
            
        ],
        "total_count": 1
    }
}