最近更新时间:2024-02-26 15:54:17
获取插件信息
GET | POST
公共参数列表 详情
名称 | 类型 | 必填 | 长度限制(字符) | 参数格式 | 描述 |
---|---|---|---|---|---|
Action | String | 是 | 确定值 | [a-zA-Z]+ | 操作接口名,系统规定参数,取值: GetPluginInfo |
Version | String | 是 | 确定值 | 固定为:2019-05-01 | |
PluginUuid | String | 是 | 22个字符 | [a-zA-Z0-9-_]+ | 插件UUID |
通过指定 Accept:application/json,返回的数据格式为json
请求示例
curl -X GET|POST \
'http://apigw.api.ksyun.com/?Action=GetPluginInfo&Version=2019-05-01&PluginUuid=0VnGLgmqSz27LV5sGj8EIw' \
-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": {
"plugin_info": {
"id": 208,
"account_id": "2000091140",
"plugin_name": "TestAccessPlugin",
"plugin_desc": "",
"plugin_uuid": "0VnGLgmqSz27LV5sGj8EIw",
"type": 2,
"is_valid": 1,
"priority": 100,
"bind_api_count": 1,
"deleted": 0,
"create_time": 1597837424,
"update_time": 1597837964,
"deleted_time": 0
},
"config_data": {
"effect": "allow",
"type": "1",
"ips": [
{
"value": "127.0.0.1",
"add_time": 1597837424
},
{
"value": "127.0.0.2",
"add_time": 1597837440
},
{
"value": "127.0.0.3",
"add_time": 1597837964
}
]
}
},
"RequestId": "9a827b3c-b87e-426d-a7c0-8110f3c3f690"
}
访问API错误码查看更多错误码
纯净模式