最近更新时间:2024-02-26 15:54:32
获取APP列表
GET | POST
公共参数列表 详情
名称 | 类型 | 必填 | 长度限制(字符) | 参数格式 | 描述 |
---|---|---|---|---|---|
Action | String | 是 | 确定值 | [a-zA-Z]+ | 操作接口名,系统规定参数,取值: AppGetList |
Version | String | 是 | 确定值 | 固定为:2019-05-01 | |
Page | Integer | 否 | 页码 | ||
Size | Integer | 否 | 每页数量 |
通过指定 Accept:application/json,返回的数据格式为json
请求示例
curl -X GET|POST \
'http://apigw.api.ksyun.com/?Action=AppGetList&Version=2019-05-01&Page=1&Size=10' \
-H 'authorization: xxx, SignedHeaders=accept;content-type;host;x-amz-date, Signature=xxx' \
-H 'accept: application/json' \
-H 'content-type: application/x-www-form-urlencoded' \
-H 'host: apigw.api.ksyun.com' \
-H 'x-amz-date: 20170720T022802Z'
响应成功返回示例
{
"Res": {
"total": 3,
"list": {
"id": 105,
"account_id": "2000091140",
"app_name": "TestApp",
"app_desc": "TestApp",
"app_uuid": "qvgI_BioQBKUheh3WvLxzw",
"app_key": "apigwC1b57Y6-TpasiD381Q2Olg",
"app_secret": "ziM0tGc1Uk/5ubYQkYT/neDFrv7uz/yuGo2bdP8PkhQHxX5RzWwOjGXraj+5Q5HyiLE/9WfhP5vdIH9SLsAv3R8TE2DjnpukJivGfDDhcLc=",
"app_type": 1,
"auth_api_count": 1,
"is_valid": 1,
"deleted": 0,
"create_time": 1597833908,
"update_time": 1597833908,
"deleted_time": 0
}
},
"RequestId": "e0c3ba4d-f07e-45c2-addf-b6f411069987"
}
访问API错误码查看更多错误码
纯净模式