home.html
10.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
<!DOCTYPE html>
<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" href="img/favicon.ico">
<title>首页展示 - 繁星2.0</title>
<link href='https://fonts.googleapis.com/css?family=Lato:400,700|Roboto+Slab:400,700|Inconsolata:400,700' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="css/theme.css" type="text/css" />
<link rel="stylesheet" href="css/theme_extra.css" type="text/css" />
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/github.min.css">
<script>
// Current page data
var mkdocs_page_name = "\u9996\u9875\u5c55\u793a";
var mkdocs_page_input_path = "home.md";
var mkdocs_page_url = null;
</script>
<script src="js/jquery-2.1.1.min.js" defer></script>
<script src="js/modernizr-2.8.3.min.js" defer></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</head>
<body class="wy-body-for-nav" role="document">
<div class="wy-grid-for-nav">
<nav data-toggle="wy-nav-shift" class="wy-nav-side stickynav">
<div class="wy-side-nav-search">
<a href="index.html" class="icon icon-home"> 繁星2.0</a>
<div role="search">
<form id ="rtd-search-form" class="wy-form" action="./search.html" method="get">
<input type="text" name="q" placeholder="Search docs" title="Type search term here" />
</form>
</div>
</div>
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
<ul class="current">
<li class="toctree-l1">
<a class="" href="index.html">概述</a>
</li>
<li class="toctree-l1">
<span class="caption-text">所有接口</span>
<ul class="subnav">
<li class=" current">
<a class="current" href="home.html">首页展示</a>
<ul class="subnav">
<li class="toctree-l3"><a href="#_1">综治展示</a></li>
<ul>
<li><a class="toctree-l4" href="#_2">事件类型统计</a></li>
<li><a class="toctree-l4" href="#_3">区域事件统计</a></li>
<li><a class="toctree-l4" href="#_4">今日抓拍量</a></li>
<li><a class="toctree-l4" href="#_5">今日事件趋势</a></li>
</ul>
<li class="toctree-l3"><a href="#_6">交通展示</a></li>
<ul>
<li><a class="toctree-l4" href="#_7">事件类型统计</a></li>
<li><a class="toctree-l4" href="#_8">重点车辆统计</a></li>
<li><a class="toctree-l4" href="#_9">今日抓拍量</a></li>
<li><a class="toctree-l4" href="#_10">今日事件趋势</a></li>
</ul>
</ul>
</li>
<li class="">
<a class="" href="system.html">系统运维</a>
</li>
<li class="">
<a class="" href="resource.html">资源管理</a>
</li>
<li class="">
<a class="" href="search.html">智能检索</a>
</li>
<li class="">
<a class="" href="task.html">任务管理</a>
</li>
</ul>
</li>
</ul>
</div>
</nav>
<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
<nav class="wy-nav-top" role="navigation" aria-label="top navigation">
<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
<a href="index.html">繁星2.0</a>
</nav>
<div class="wy-nav-content">
<div class="rst-content">
<div role="navigation" aria-label="breadcrumbs navigation">
<ul class="wy-breadcrumbs">
<li><a href="index.html">Docs</a> »</li>
<li>所有接口 »</li>
<li>首页展示</li>
<li class="wy-breadcrumbs-aside">
</li>
</ul>
<hr/>
</div>
<div role="main">
<div class="section">
<h2 id="_1">综治展示</h2>
<h5 id="_2">事件类型统计</h5>
<p><code>URL</code>: /api/v1/datahandle/statistics/behavior/type<br />
<code>Verb</code>: GET<br />
<code>Header</code>: Authorization: {atoken},Accept-Language: {lang_code}<br />
<code>Request Body</code>:<code>{
"startDt":"2019-11-25+16:00:00",
"endDt":"2019-11-26+16:00:00"
}</code> </p>
<p><code>Response Body</code>:<code>{
"list_data": [
{
"total_num": 49467,
"event_type": "shigongzhandao",
"event_name": "施工占道"
},
...
],
"total_num": 51309
}</code></p>
<h5 id="_3">区域事件统计</h5>
<p><code>URL</code>: /api/v1/datahandle/statistics/behavior/area<br />
<code>Verb</code>: GET<br />
<code>Header</code>: Authorization: {atoken},Accept-Language: {lang_code}<br />
<code>Request Body</code>:<code>{
"startDt":"2019-11-25+16:00:00",
"endDt":"2019-11-26+16:00:00"
}</code> </p>
<p><code>Response Body</code>:<code>{
"list_data": [
{
"total_num": 49467,
"area_code": "01",
"area_name": "龙城所"
},
...
],
"total_num": 51309
}</code></p>
<h5 id="_4">今日抓拍量</h5>
<p><code>URL</code>: /api/v1/datahandle/statistics/behavior/snap<br />
<code>Verb</code>: GET<br />
<code>Header</code>: Authorization: {atoken},Accept-Language: {lang_code}<br />
<code>Request Body</code>:<code>{
"startDt":"2019-11-25+16:00:00",
"endDt":"2019-11-26+16:00:00",
"event_type":"shigongzhandao"
}</code> </p>
<p><code>Response Body</code>:<code>{
"day_total_snap_num":10000,
"day_single_snap_num":500,
"month_total_snap_num":800000,
"month_single_snap_num":7000
}</code></p>
<h5 id="_5">今日事件趋势</h5>
<p><code>URL</code>: /api/v1/datahandle/statistics/behavior/hour<br />
<code>Verb</code>: GET<br />
<code>Header</code>: Authorization: {atoken},Accept-Language: {lang_code}<br />
<code>Request Body</code>:<code>{
"startDt":"2019-11-25+16:00:00",
"endDt":"2019-11-26+16:00:00"
}</code> </p>
<p><code>Response Body</code>:<code>{
"list_data": [
{
"total_num": 1805,
"event_type": "shigongzhandao",
"hour": "00",
"event_name": "施工占道"
},
...
]
}</code></p>
<h2 id="_6">交通展示</h2>
<h5 id="_7">事件类型统计</h5>
<p><code>URL</code>: /api/v1/datahandle/statistics/traffic/type<br />
<code>Verb</code>: GET<br />
<code>Header</code>: Authorization: {atoken},Accept-Language: {lang_code}<br />
<code>Request Body</code>:<code>{
"startDt":"2019-11-25+16:00:00",
"endDt":"2019-11-26+16:00:00"
}</code> </p>
<p><code>Response Body</code>:<code>{
"list_data": [
{
"total_num": 49467,
"event_type": "03",
"event_name": "异常停车"
},
...
],
"total_num": 51309
}</code></p>
<h5 id="_8">重点车辆统计</h5>
<p><code>URL</code>: /api/v1/datahandle/statistics/traffic/key/vehicle<br />
<code>Verb</code>: GET<br />
<code>Header</code>: Authorization: {atoken},Accept-Language: {lang_code}<br />
<code>Request Body</code>:<code>{
"startDt":"2019-11-25+16:00:00",
"endDt":"2019-11-26+16:00:00"
}</code> </p>
<p><code>Response Body</code>:<code>{
"list_data": [
{
"total_num": 49467,
"vehicle_type": "62",
"vehicle_name": "渣土车"
},
...
],
"total_num": 51309
}</code></p>
<h5 id="_9">今日抓拍量</h5>
<p><code>URL</code>: /api/v1/datahandle/statistics/traffic/snap<br />
<code>Verb</code>: GET<br />
<code>Header</code>: Authorization: {atoken},Accept-Language: {lang_code}<br />
<code>Request Body</code>:<code>{
"startDt":"2019-11-25+16:00:00",
"endDt":"2019-11-26+16:00:00",
"event_type":"shigongzhandao"
}</code> </p>
<p><code>Response Body</code>:<code>{
"day_total_snap_num":10000,
"day_single_snap_num":500,
"month_total_snap_num":800000,
"month_single_snap_num":7000
}</code></p>
<h5 id="_10">今日事件趋势</h5>
<p><code>URL</code>: /api/v1/datahandle/statistics/traffic/hour<br />
<code>Verb</code>: GET<br />
<code>Header</code>: Authorization: {atoken},Accept-Language: {lang_code}<br />
<code>Request Body</code>:<code>{
"startDt":"2019-11-25+16:00:00",
"endDt":"2019-11-26+16:00:00",
"illegal_type":"01",
"event_type":"yongdu",
"key_vehicle_type":"62"
}</code> </p>
<p><code>Response Body</code>:<code>{
"illegal"[
{
"total_num": 1805,
"illegal_code": "chuanghongdeng",
"hour": "00",
"illegal_name": "闯红灯"
},
...
],
"event_type":[
{
"total_num": 1805,
"event_type": "shigongzhandao",
"hour": "00",
"event_name": "施工占道"
},
...
],
"key_vehicle":[
{
"total_num": 1805,
"vehicle_type": "62",
"hour": "00",
"vehicle_name": "渣土车"
},
...
]
}</code></p>
</div>
</div>
<footer>
<div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
<a href="system.html" class="btn btn-neutral float-right" title="系统运维">Next <span class="icon icon-circle-arrow-right"></span></a>
<a href="index.html" class="btn btn-neutral" title="概述"><span class="icon icon-circle-arrow-left"></span> Previous</a>
</div>
<hr/>
<div role="contentinfo">
<!-- Copyright etc -->
</div>
Built with <a href="http://www.mkdocs.org">MkDocs</a> using a <a href="https://github.com/snide/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>.
</footer>
</div>
</div>
</section>
</div>
<div class="rst-versions" role="note" style="cursor: pointer">
<span class="rst-current-version" data-toggle="rst-current-version">
<span><a href="index.html" style="color: #fcfcfc;">« Previous</a></span>
<span style="margin-left: 15px"><a href="system.html" style="color: #fcfcfc">Next »</a></span>
</span>
</div>
<script>var base_url = '.';</script>
<script src="js/theme.js" defer></script>
<script src="search/main.js" defer></script>
</body>
</html>