查询签名密钥列表
功能介绍
查询所有签名密钥的信息。
URI
HTTP/HTTPS请求方法以及URI如下表所示。
| 
        请求方法  | 
      
        URI  | 
     
|---|---|
| 
        GET  | 
      
        /v1.0/apigw/signs[?page_size, page_no, id, name]  | 
     
 
   - 可以在URI后面用‘?’和‘&’添加不同的查询条件组合。
 - 查询条件可为以下字段以及对应的值:id、name。
 
请求消息
| 
        名称  | 
      
        是否必选  | 
      
        类型  | 
      
        说明  | 
     
|---|---|---|---|
| 
        id  | 
      
        否  | 
      
        String  | 
      
        签名密钥编号  | 
     
| 
        name  | 
      
        否  | 
      
        String  | 
      
        签名密钥名称  | 
     
| 
        precise_search  | 
      
        否  | 
      
        String  | 
      
        指定需要精确匹配查找的参数名称,目前仅支持name  | 
     
响应消息
| 
        名称  | 
      
        类型  | 
      
        说明  | 
     
|---|---|---|
| 
        total  | 
      
        Integer  | 
      
        符合条件的签名密钥的数量  | 
     
| 
        size  | 
      
        Integer  | 
      
        本次返回的列表长度  | 
     
| 
        signs  | 
      
        字典数据类型  | 
      
        本次查询到的签名密钥列表  | 
     
| 
        参数  | 
      
        类型  | 
      
        说明  | 
     
|---|---|---|
| 
        id  | 
      
        String  | 
      
        签名密钥的编号  | 
     
| 
        name  | 
      
        String  | 
      
        签名密钥的名称  | 
     
| 
        sign_key  | 
      
        String  | 
      
        签名密钥的key  | 
     
| 
        sign_secret  | 
      
        String  | 
      
        签名密钥的密钥  | 
     
| 
        create_time  | 
      
        Timestamp  | 
      
        创建时间  | 
     
| 
        update_time  | 
      
        Timestamp  | 
      
        更新时间  | 
     
| 
        bind_num  | 
      
        Integer  | 
      
        绑定的API数量  | 
     
响应消息样例:
{
	"total": 2,
	"size": 2,
	"signs": [{
		"name": "signature01",
		"sign_key": "abcd_1234",
		"sign_secret": "******",
		"id": "3a793b65a9034bdfae08924f149bfb4a",
		"create_time": "2018-02-06T12:17:36Z",
		"update_time": "2018-02-07T02:00:27.964766Z",
                "bind_num":1
	},
	{
		"name": "sada",
		"sign_key": "asdasdasdasda",
		"sign_secret": "******",
		"id": "51ce490901f4411fa54eb06d33bd7218",
		"create_time": "2018-02-06T11:53:08Z",
		"update_time": "2018-02-06T11:53:08Z",
                "bind_num":1
	}]
}
 状态码
| 
        状态码  | 
      
        说明  | 
     
|---|---|
| 
        200  | 
      
        OK  | 
     
| 
        400  | 
      
        Bad Request  | 
     
| 
        401  | 
      
        Unauthorized  | 
     
| 
        500  | 
      
        Server Internal Error  |