最近更新时间:2023.08.14 16:44:49
首次发布时间:2023.02.15 19:04:53
本接口用于列出账号下所有函数的信息。
名称 | 位置 | 类型 | 是否必填 | 示例值 | 描述 |
---|---|---|---|---|---|
Action | Query | String | 是 | ListSparrow | 要执行的操作。取值:ListSparrow |
search_type | Query | String | 否 | domain | 搜索类型
|
search | Query | String | 否 | test | 搜索内容 |
order_type | Query | String | 否 | create_time | 搜索类型
|
page | Query | Int32 | 否 | 1 | 页码 |
limit | Query | Int32 | 否 | 10 | 每页条数 |
order_by | Query | Int32 | 否 | 2 | 数据顺序,1为降序,2为升序(默认按照id的升序排列) |
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
sparrows | []Sparrow | 见下文说明 | 函数列表 |
total_count | Int64 | 1 | 函数总数 |
Sparrow
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
account_identity | Int64 | 20**** | 账户id |
user_identity | Int64 | 0**** | 用户id |
domain | String | test-sparrow.test.test | 函数域名 |
name | String | hello-ve | 函数名称 |
clazz_name | String | f*** | 套餐 |
creator | String | zhangsan | 创建人 |
create_time | Int64 | 1638326159 | 创建时间 |
update_time | Int64 | 1638326159 | 更新时间 |
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 } }