Showing
1 changed file
with
6 additions
and
42 deletions
@@ -12,13 +12,7 @@ | @@ -12,13 +12,7 @@ | ||
12 | | date | date | false |2016-12-26|时间类型(默认当天)| | 12 | | date | date | false |2016-12-26|时间类型(默认当天)| |
13 | 13 | ||
14 | #### 请求方法 | 14 | #### 请求方法 |
15 | - post htttp://localhost:8080/flowsurvey/overview | ||
16 | - | ||
17 | -#### 请求内容json | ||
18 | - { | ||
19 | - "date": "2016-12-16", | ||
20 | - "type": "pc/ios/android/app/all" | ||
21 | - } | 15 | + get htttp://localhost:8080/flowsurvey/overview?type=all&date=2016-12-26 |
22 | 16 | ||
23 | #### 响应内容json | 17 | #### 响应内容json |
24 | { | 18 | { |
@@ -43,22 +37,10 @@ | @@ -43,22 +37,10 @@ | ||
43 | | Param Name | Param Type | Required | Param Value | Desc | | 37 | | Param Name | Param Type | Required | Param Value | Desc | |
44 | | :-- | --: | --: | --: | --: | | 38 | | :-- | --: | --: | --: | --: | |
45 | | type | String | false |pc/wap/ios/android/all| 客户端类类型(默认全部)| | 39 | | type | String | false |pc/wap/ios/android/all| 客户端类类型(默认全部)| |
46 | -| index | Array | false | ["pv","uv","loss_rate","avg_pv","avg_stay"]|指标类型(默认全部指标)| | 40 | +| index | String | false | pv,uv,loss_rate,avg_pv,avg_stay]|指标类型(默认全部指标)| |
47 | 41 | ||
48 | ### 请求方法 | 42 | ### 请求方法 |
49 | - post http://localhost:8080//flowsurvey/trend | ||
50 | - | ||
51 | -### 请求内容json | ||
52 | - { | ||
53 | - "type": "pc/wap/ios/android/all", | ||
54 | - "index": [ | ||
55 | - "pv", | ||
56 | - "uv", | ||
57 | - "loss_rate", | ||
58 | - "avg_pv", | ||
59 | - "avg_stay" | ||
60 | - ] | ||
61 | - } | 43 | + get http://localhost:8080/flowsurvey/trend?type=al&index=pv,uv |
62 | 44 | ||
63 | #### 响应内容json | 45 | #### 响应内容json |
64 | { | 46 | { |
@@ -105,13 +87,7 @@ | @@ -105,13 +87,7 @@ | ||
105 | | date | date | false |2016-12-26|时间类型(默认当天)| | 87 | | date | date | false |2016-12-26|时间类型(默认当天)| |
106 | 88 | ||
107 | #### 请求方法 | 89 | #### 请求方法 |
108 | - post htttp://localhost:8080/flowsurvey/resource_rank | ||
109 | - | ||
110 | -#### 请求内容json | ||
111 | - { | ||
112 | - "date": "2016-12-26", | ||
113 | - "type": "ios/android" | ||
114 | - } | 90 | + get htttp://localhost:8080/flowsurvey/resource_rank?type=ios&date=2016-12-26 |
115 | 91 | ||
116 | #### 响应内容json(结果已排序 index 从大到小排列) | 92 | #### 响应内容json(结果已排序 index 从大到小排列) |
117 | { | 93 | { |
@@ -151,14 +127,7 @@ | @@ -151,14 +127,7 @@ | ||
151 | | top | Int | false ||排名多少(默认前50)| | 127 | | top | Int | false ||排名多少(默认前50)| |
152 | 128 | ||
153 | #### 请求方法 | 129 | #### 请求方法 |
154 | - post htttp://localhost:8080/flowsurvey/action_rank | ||
155 | - | ||
156 | -#### 请求内容json | ||
157 | - { | ||
158 | - "date": "2016-12-16", | ||
159 | - "type": “brand/product”, | ||
160 | - "top": 50 | ||
161 | - } | 130 | + get htttp://localhost:8080/flowsurvey/action_rank?type=brand&date=2016-12-26&top=50 |
162 | 131 | ||
163 | #### 响应内容json (同上 index 排序) | 132 | #### 响应内容json (同上 index 排序) |
164 | { | 133 | { |
@@ -194,13 +163,8 @@ | @@ -194,13 +163,8 @@ | ||
194 | | date | date | false |2016-12-26|时间类型(默认当天)| | 163 | | date | date | false |2016-12-26|时间类型(默认当天)| |
195 | 164 | ||
196 | #### 请求方法 | 165 | #### 请求方法 |
197 | - post htttp://localhost:8080/flowsurvey/user_rank | 166 | + get htttp://localhost:8080/flowsurvey/user_rank?type=terminal&date=2016-12-26 |
198 | 167 | ||
199 | -#### 请求内容json | ||
200 | - { | ||
201 | - "date": "2016-12-16", | ||
202 | - "type": “terminal/city/gender/comp" | ||
203 | - } | ||
204 | 168 | ||
205 | #### 响应内容json | 169 | #### 响应内容json |
206 | ##### terminal | 170 | ##### terminal |
-
Please register or login to post a comment