Commit 4c96a8344d814fbfd2a134691b586e990912b131

Authored by 刘炯
1 parent b71a8900

update

01.点播云/3.5 获取存储信息.md
@@ -9,38 +9,51 @@ @@ -9,38 +9,51 @@
9 #### 请求参数说明: 9 #### 请求参数说明:
10 | 参数名 | 参数类型 | 必选 | 参数说明 | 10 | 参数名 | 参数类型 | 必选 | 参数说明 |
11 | :----------- | :------: | :------: | :------: | 11 | :----------- | :------: | :------: | :------: |
12 -| appId | string | true | APPID |  
13 -|storageType|int|false|存储类型 1、金山 2、七牛,默认1|  
14 -|profile| string | false | 测试or生产环境 test | product,默认product | 12 +|appId | string | true | APPID |
  13 +|storageType|int|false|存储平台类型 1、金山 2、七牛,默认查询全部|
  14 +|state|int|false|状态:1 启用 ,2 禁用,默认查询全部 |
  15 +|contentType|int|false|存储内容类型:1视音频 2 图片,默认查询全部|
  16 +|profile| string | false | 测试or生产环境 test | product,默认查询全部 |
15 |timestamp| int | true | 精确到秒,当前Unix时间戳,请保证请求服务器时间正确 | 17 |timestamp| int | true | 精确到秒,当前Unix时间戳,请保证请求服务器时间正确 |
16 |sign| String | true | 签名规则见 [签名详情] (http://bj.gitlab.cnlive.com/OPEN-API/WIKI/blob/master/00.%E5%85%AC%E5%85%B1%E7%BB%84%E4%BB%B6/1.1%20SHA1%E7%AD%BE%E5%90%8D.md) | 18 |sign| String | true | 签名规则见 [签名详情] (http://bj.gitlab.cnlive.com/OPEN-API/WIKI/blob/master/00.%E5%85%AC%E5%85%B1%E7%BB%84%E4%BB%B6/1.1%20SHA1%E7%AD%BE%E5%90%8D.md) |
17 19
18 json 20 json
19 21
  22 +#### 返回参数说明
  23 +| 参数名 | 参数类型 | 参数说明 |
  24 +| :----------- | :------: | :------: |
  25 +|storageId|int|存储id|
  26 +|storageName | string |存储名称即bucket名称|
  27 +|storageType|int|存储平台类型 1、金山 2、七牛,默认查询全部|
  28 +|contentType|int|存储类型:1视音频 2 图片|
  29 +|state|int|状态:1 启用 ,2 禁用|
  30 +|contentType|int|存储内容类型:1视音频 2 图片|
  31 +|profile| string| 测试or生产环境 test | product |
  32 +
20 ```json 33 ```json
21 { 34 {
22 -    "data": [{  
23 -        "contentType": 1,  
24 -        "defaultStorage": 1,  
25 -        "id": 95,  
26 -        "name": "mam-main",  
27 -        "showName": "七牛云视音频存储",  
28 -        "spid": 60,  
29 -        "type": 2,  
30 -        "useState": 1,  
31 -        "yongtu": 3  
32 -    }, {  
33 -        "contentType": 2,  
34 -        "defaultStorage": 1,  
35 -        "id": 96,  
36 -        "name": "mam-main",  
37 -        "showName": "七牛云图片存储",  
38 -        "spid": 60,  
39 -        "type": 2,  
40 -        "useState": 1,  
41 -        "yongtu": 3  
42 -    }],  
43 -    "errorCode": 0,  
44 -    "errorMessage": "success" 35 + "data": [{
  36 + "contentType": 1,
  37 + "defaultStorage": 1,
  38 + "id": 95,
  39 + "name": "mam-main",
  40 + "showName": "七牛云视音频存储",
  41 + "spid": 60,
  42 + "type": 2,
  43 + "useState": 1,
  44 + "yongtu": 3
  45 + }, {
  46 + "contentType": 2,
  47 + "defaultStorage": 1,
  48 + "id": 96,
  49 + "name": "mam-main",
  50 + "showName": "七牛云图片存储",
  51 + "spid": 60,
  52 + "type": 2,
  53 + "useState": 1,
  54 + "yongtu": 3
  55 + }],
  56 + "errorCode": 0,
  57 + "errorMessage": "success"
45 } 58 }
46 ``` 59 ```
47 \ No newline at end of file 60 \ No newline at end of file