-
Notifications
You must be signed in to change notification settings - Fork 4.8k
/
Copy pathopenapi-doc.html
1496 lines (1448 loc) · 74.6 KB
/
openapi-doc.html
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
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html>
<head>
<title>yapi开放 api</title>
<meta charset="utf-8" />
<style>@charset "UTF-8";
html,
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote {
margin: 0;
padding: 0;
font-weight: normal;
-webkit-font-smoothing: antialiased;
}
/* 设置滚动条的样式 */
::-webkit-scrollbar {
width: 6px;
}
/* 外层轨道 */
::-webkit-scrollbar-track {
-webkit-box-shadow: inset006pxrgba(255, 0, 0, 0.3);
background: rgba(0, 0, 0, 0.1);
}
/* 滚动条滑块 */
::-webkit-scrollbar-thumb {
border-radius: 4px;
background: rgba(0, 0, 0, 0.2);
-webkit-box-shadow: inset006pxrgba(0, 0, 0, 0.5);
}
::-webkit-scrollbar-thumb:window-inactive {
background: rgba(0, 0, 0, 0.2);
}
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", SimSun, sans-serif;
font-size: 13px;
line-height: 25px;
color: #393838;
position: relative;
}
table {
margin: 10px 0 15px 0;
border-collapse: collapse;
}
td,
th {
border: 1px solid #ddd;
padding: 3px 10px;
}
th {
padding: 5px 10px;
}
a, a:link, a:visited {
color: #34495e;
text-decoration: none;
}
a:hover, a:focus {
color: #59d69d;
text-decoration: none;
}
a img {
border: none;
}
p {
padding-left: 10px;
margin-bottom: 9px;
}
h1,
h2,
h3,
h4,
h5,
h6 {
color: #404040;
line-height: 36px;
}
h1 {
color: #2c3e50;
font-weight: 600;
margin-bottom: 16px;
font-size: 32px;
padding-bottom: 16px;
border-bottom: 1px solid #ddd;
line-height: 50px;
}
h2 {
font-size: 28px;
padding-top: 10px;
padding-bottom: 10px;
}
h3 {
clear: both;
font-weight: 400;
margin-top: 20px;
margin-bottom: 20px;
border-left: 3px solid #59d69d;
padding-left: 8px;
font-size: 18px;
}
h4 {
font-size: 16px;
}
h5 {
font-size: 14px;
}
h6 {
font-size: 13px;
}
hr {
margin: 0 0 19px;
border: 0;
border-bottom: 1px solid #ccc;
}
blockquote {
padding: 13px 13px 21px 15px;
margin-bottom: 18px;
font-family: georgia, serif;
font-style: italic;
}
blockquote:before {
font-size: 40px;
margin-left: -10px;
font-family: georgia, serif;
color: #eee;
}
blockquote p {
font-size: 14px;
font-weight: 300;
line-height: 18px;
margin-bottom: 0;
font-style: italic;
}
code,
pre {
font-family: Monaco, Andale Mono, Courier New, monospace;
}
code {
background-color: #fee9cc;
color: rgba(0, 0, 0, 0.75);
padding: 1px 3px;
font-size: 12px;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
}
pre {
display: block;
padding: 14px;
margin: 0 0 18px;
line-height: 16px;
font-size: 11px;
border: 1px solid #d9d9d9;
white-space: pre-wrap;
word-wrap: break-word;
background: #f6f6f6;
}
pre code {
background-color: #f6f6f6;
color: #737373;
font-size: 11px;
padding: 0;
}
sup {
font-size: 0.83em;
vertical-align: super;
line-height: 0;
}
* {
-webkit-print-color-adjust: exact;
}
@media print {
body,
code,
pre code,
h1,
h2,
h3,
h4,
h5,
h6 {
color: black;
}
table,
pre {
page-break-inside: avoid;
}
}
html,
body {
height: 100%;
}
.table-of-contents {
position: fixed;
top: 61px;
left: 0;
bottom: 0;
overflow-x: hidden;
overflow-y: auto;
width: 260px;
}
.table-of-contents > ul > li > a {
font-size: 20px;
margin-bottom: 16px;
margin-top: 16px;
}
.table-of-contents ul {
overflow: auto;
margin: 0px;
height: 100%;
padding: 0px 0px;
box-sizing: border-box;
list-style-type: none;
}
.table-of-contents ul li {
padding-left: 20px;
}
.table-of-contents a {
padding: 2px 0px;
display: block;
text-decoration: none;
}
.content-right {
max-width: 700px;
margin-left: 290px;
padding-left: 70px;
flex-grow: 1;
}
.content-right h2:target {
padding-top: 80px;
}
body > p {
margin-left: 30px;
}
body > table {
margin-left: 30px;
}
body > pre {
margin-left: 30px;
}
.curProject {
position: fixed;
top: 20px;
font-size: 25px;
color: black;
margin-left: -240px;
width: 240px;
padding: 5px;
line-height: 25px;
box-sizing: border-box;
}
.g-doc {
margin-top: 56px;
padding-top: 24px;
display: flex;
}
.curproject-name {
font-size: 42px;
}
.m-header {
background: #32363a;
height: 56px;
line-height: 56px;
padding-left: 60px;
display: flex;
align-items: center;
position: fixed;
z-index: 9;
top: 0;
left: 0;
right: 0;
}
.m-header .title {
font-size: 22px;
color: #fff;
font-weight: normal;
-webkit-font-smoothing: antialiased;
margin: 0;
margin-left: 16px;
padding: 0;
line-height: 56px;
border: none;
}
.m-header .nav {
color: #fff;
font-size: 16px;
position: absolute;
right: 32px;
top: 0;
}
.m-header .nav a {
color: #fff;
margin-left: 16px;
padding: 8px;
transition: color .2s;
}
.m-header .nav a:hover {
color: #59d69d;
}
.m-footer {
border-top: 1px solid #ddd;
padding-top: 16px;
padding-bottom: 16px;
}
/*# sourceMappingURL=defaultTheme.css.map */
</style>
</head>
<body>
<div class="m-header">
<a href="#" style="display: inherit;"><svg class="svg" width="32px" height="32px" viewBox="0 0 64 64" version="1.1"><title>Icon</title><desc>Created with Sketch.</desc><defs><linearGradient x1="50%" y1="0%" x2="50%" y2="100%" id="linearGradient-1"><stop stop-color="#FFFFFF" offset="0%"></stop><stop stop-color="#F2F2F2" offset="100%"></stop></linearGradient><circle id="path-2" cx="31.9988602" cy="31.9988602" r="2.92886048"></circle><filter x="-85.4%" y="-68.3%" width="270.7%" height="270.7%" filterUnits="objectBoundingBox" id="filter-3"><feOffset dx="0" dy="1" in="SourceAlpha" result="shadowOffsetOuter1"></feOffset><feGaussianBlur stdDeviation="1.5" in="shadowOffsetOuter1" result="shadowBlurOuter1"></feGaussianBlur><feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.159703351 0" type="matrix" in="shadowBlurOuter1"></feColorMatrix></filter></defs><g id="首页" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g id="大屏幕"><g id="Icon"><circle id="Oval-1" fill="url(#linearGradient-1)" cx="32" cy="32" r="32"></circle><path d="M36.7078009,31.8054514 L36.7078009,51.7110548 C36.7078009,54.2844537 34.6258634,56.3695395 32.0579205,56.3695395 C29.4899777,56.3695395 27.4099998,54.0704461 27.4099998,51.7941246 L27.4099998,31.8061972 C27.4099998,29.528395 29.4909575,27.218453 32.0589004,27.230043 C34.6268432,27.241633 36.7078009,29.528395 36.7078009,31.8054514 Z" id="blue" fill="#2359F1" fill-rule="nonzero"></path><path d="M45.2586091,17.1026914 C45.2586091,17.1026914 45.5657231,34.0524383 45.2345291,37.01141 C44.9033351,39.9703817 43.1767091,41.6667796 40.6088126,41.6667796 C38.040916,41.6667796 35.9609757,39.3676862 35.9609757,37.0913646 L35.9609757,17.1034372 C35.9609757,14.825635 38.0418959,12.515693 40.6097924,12.527283 C43.177689,12.538873 45.2586091,14.825635 45.2586091,17.1026914 Z" id="green" fill="#57CF27" fill-rule="nonzero" transform="translate(40.674608, 27.097010) rotate(60.000000) translate(-40.674608, -27.097010) "></path><path d="M28.0410158,17.0465598 L28.0410158,36.9521632 C28.0410158,39.525562 25.9591158,41.6106479 23.3912193,41.6106479 C20.8233227,41.6106479 18.7433824,39.3115545 18.7433824,37.035233 L18.7433824,17.0473055 C18.7433824,14.7695034 20.8243026,12.4595614 23.3921991,12.4711513 C25.9600956,12.4827413 28.0410158,14.7695034 28.0410158,17.0465598 Z" id="red" fill="#FF561B" fill-rule="nonzero" transform="translate(23.392199, 27.040878) rotate(-60.000000) translate(-23.392199, -27.040878) "></path><g id="inner-round"><use fill="black" fill-opacity="1" filter="url(#filter-3)" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#path-2"></use><use fill="#F7F7F7" fill-rule="evenodd" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#path-2"></use></g></g></g></g></svg></a>
<a href="#"><h1 class="title">YAPI 接口文档</h1></a>
<div class="nav">
<a href="https://hellosean1025.github.io/yapi">YApi</a>
</div>
</div>
<div class="g-doc">
<div class="table-of-contents"><ul><li><a href="#u5f00u653eu63a5u53e3api">开放接口api</a><ul><li><a href="#u83b7u53d6u9879u76eeu57fau672cu4fe1u606f0a3ca20id3du83b7u53d6u9879u76eeu57fau672cu4fe1u606f3e203ca3e">获取项目基本信息
<a id=获取项目基本信息> </a></a></li><li><a href="#u65b0u589eu63a5u53e3u5206u7c7b0a3ca20id3du65b0u589eu63a5u53e3u5206u7c7b3e203ca3e">新增接口分类
<a id=新增接口分类> </a></a></li><li><a href="#u83b7u53d6u83dcu5355u5217u88680a3ca20id3du83b7u53d6u83dcu5355u5217u88683e203ca3e">获取菜单列表
<a id=获取菜单列表> </a></a></li><li><a href="#u670du52a1u7aefu6570u636eu5bfcu51650a3ca20id3du670du52a1u7aefu6570u636eu5bfcu51653e203ca3e">服务端数据导入
<a id=服务端数据导入> </a></a></li><li><a href="#u83b7u53d6u63a5u53e3u6570u636euff08u6709u8be6u7ec6u63a5u53e3u6570u636eu5b9au4e49u6587u6863uff090a3ca20id3du83b7u53d6u63a5u53e3u6570u636euff08u6709u8be6u7ec6u63a5u53e3u6570u636eu5b9au4e49u6587u6863uff093e203ca3e">获取接口数据(有详细接口数据定义文档)
<a id=获取接口数据(有详细接口数据定义文档)> </a></a></li><li><a href="#u83b7u53d6u67d0u4e2au5206u7c7bu4e0bu63a5u53e3u5217u88680a3ca20id3du83b7u53d6u67d0u4e2au5206u7c7bu4e0bu63a5u53e3u5217u88683e203ca3e">获取某个分类下接口列表
<a id=获取某个分类下接口列表> </a></a></li><li><a href="#u65b0u589eu63a5u53e30a3ca20id3du65b0u589eu63a5u53e33e203ca3e">新增接口
<a id=新增接口> </a></a></li><li><a href="#u65b0u589eu6216u8005u66f4u65b0u63a5u53e30a3ca20id3du65b0u589eu6216u8005u66f4u65b0u63a5u53e33e203ca3e">新增或者更新接口
<a id=新增或者更新接口> </a></a></li><li><a href="#u83b7u53d6u63a5u53e3u5217u8868u6570u636e0a3ca20id3du83b7u53d6u63a5u53e3u5217u8868u6570u636e3e203ca3e">获取接口列表数据
<a id=获取接口列表数据> </a></a></li><li><a href="#u66f4u65b0u63a5u53e30a3ca20id3du66f4u65b0u63a5u53e33e203ca3e">更新接口
<a id=更新接口> </a></a></li><li><a href="#u83b7u53d6u63a5u53e3u83dcu5355u5217u88680a3ca20id3du83b7u53d6u63a5u53e3u83dcu5355u5217u88683e203ca3e">获取接口菜单列表
<a id=获取接口菜单列表> </a></a></li></ul></li></ul></div>
<div id="right" class="content-right">
<h1 class="curproject-name"> yapi开放 api </h1>
<h1 id="u5f00u653eu63a5u53e3api">开放接口api</h1>
<p></p>
<h2 id="u83b7u53d6u9879u76eeu57fau672cu4fe1u606f0a3ca20id3du83b7u53d6u9879u76eeu57fau672cu4fe1u606f3e203ca3e">获取项目基本信息
<a id=获取项目基本信息> </a></h2>
<p></p>
<h3 id="">基本信息</h3>
<p><strong>Path:</strong> /api/project/get</p>
<p><strong>Method:</strong> GET</p>
<p><strong>接口描述:</strong></p>
<h3 id="-2">请求参数</h3>
<p><strong>Query</strong></p>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>是否必须</th>
<th>示例</th>
<th>备注</th>
</tr>
</thead>
<tbody>
<tr>
<td>token</td>
<td>是</td>
<td></td>
<td>项目token</td>
</tr>
</tbody>
</table>
<h2 id="u65b0u589eu63a5u53e3u5206u7c7b0a3ca20id3du65b0u589eu63a5u53e3u5206u7c7b3e203ca3e">新增接口分类
<a id=新增接口分类> </a></h2>
<p></p>
<h3 id="-3">基本信息</h3>
<p><strong>Path:</strong> /api/interface/add_cat</p>
<p><strong>Method:</strong> POST</p>
<p><strong>接口描述:</strong></p>
<h3 id="-4">请求参数</h3>
<p><strong>Headers</strong></p>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>参数值</th>
<th>是否必须</th>
<th>示例</th>
<th>备注</th>
</tr>
</thead>
<tbody>
<tr>
<td>Content-Type</td>
<td>application/x-www-form-urlencoded</td>
<td>是</td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
<p><strong>Body</strong></p>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>参数类型</th>
<th>是否必须</th>
<th>示例</th>
<th>备注</th>
</tr>
</thead>
<tbody>
<tr>
<td>desc</td>
<td>text</td>
<td>否</td>
<td></td>
<td></td>
</tr>
<tr>
<td>name</td>
<td>text</td>
<td>是</td>
<td></td>
<td></td>
</tr>
<tr>
<td>project_id</td>
<td>text</td>
<td>是</td>
<td></td>
<td></td>
</tr>
<tr>
<td>token</td>
<td>text</td>
<td>是</td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
<h2 id="u83b7u53d6u83dcu5355u5217u88680a3ca20id3du83b7u53d6u83dcu5355u5217u88683e203ca3e">获取菜单列表
<a id=获取菜单列表> </a></h2>
<p></p>
<h3 id="-5">基本信息</h3>
<p><strong>Path:</strong> /api/interface/getCatMenu</p>
<p><strong>Method:</strong> GET</p>
<p><strong>接口描述:</strong></p>
<h3 id="-6">请求参数</h3>
<p><strong>Query</strong></p>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>是否必须</th>
<th>示例</th>
<th>备注</th>
</tr>
</thead>
<tbody>
<tr>
<td>project_id</td>
<td>是</td>
<td></td>
<td></td>
</tr>
<tr>
<td>token</td>
<td>是</td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
<h2 id="u670du52a1u7aefu6570u636eu5bfcu51650a3ca20id3du670du52a1u7aefu6570u636eu5bfcu51653e203ca3e">服务端数据导入
<a id=服务端数据导入> </a></h2>
<p></p>
<h3 id="-7">基本信息</h3>
<p><strong>Path:</strong> /api/open/import_data</p>
<p><strong>Method:</strong> POST</p>
<p><strong>接口描述:</strong></p>
<h3 id="-8">请求参数</h3>
<p><strong>Headers</strong></p>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>参数值</th>
<th>是否必须</th>
<th>示例</th>
<th>备注</th>
</tr>
</thead>
<tbody>
<tr>
<td>Content-Type</td>
<td>application/x-www-form-urlencoded</td>
<td>是</td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
<p><strong>Body</strong></p>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>参数类型</th>
<th>是否必须</th>
<th>示例</th>
<th>备注</th>
</tr>
</thead>
<tbody>
<tr>
<td>type</td>
<td>text</td>
<td>是</td>
<td>swagger</td>
<td>导入方式</td>
</tr>
<tr>
<td>json</td>
<td>text</td>
<td>否</td>
<td>{"a": 1}</td>
<td>json 数据,类型为序列化后的字符串,请勿传递 object</td>
</tr>
<tr>
<td>merge</td>
<td>text</td>
<td>是</td>
<td>normal</td>
<td>数据同步方式 normal"(普通模式) , "good"(智能合并), "merge"(完全覆盖) 三种模式</td>
</tr>
<tr>
<td>token</td>
<td>text</td>
<td>是</td>
<td></td>
<td></td>
</tr>
<tr>
<td>url</td>
<td>text</td>
<td>否</td>
<td></td>
<td>导入数据url,如果存在该参数,将会通过 url 方式获取数据</td>
</tr>
</tbody>
</table>
<h2 id="u83b7u53d6u63a5u53e3u6570u636euff08u6709u8be6u7ec6u63a5u53e3u6570u636eu5b9au4e49u6587u6863uff090a3ca20id3du83b7u53d6u63a5u53e3u6570u636euff08u6709u8be6u7ec6u63a5u53e3u6570u636eu5b9au4e49u6587u6863uff093e203ca3e">获取接口数据(有详细接口数据定义文档)
<a id=获取接口数据(有详细接口数据定义文档)> </a></h2>
<p></p>
<h3 id="-9">基本信息</h3>
<p><strong>Path:</strong> /api/interface/get</p>
<p><strong>Method:</strong> GET</p>
<p><strong>接口描述:</strong></p>
<h3 id="-10">请求参数</h3>
<p><strong>Headers</strong></p>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>参数值</th>
<th>是否必须</th>
<th>示例</th>
<th>备注</th>
</tr>
</thead>
<tbody>
<tr>
<td>Content-Type</td>
<td>application/json</td>
<td>是</td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
<p><strong>Query</strong></p>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>是否必须</th>
<th>示例</th>
<th>备注</th>
</tr>
</thead>
<tbody>
<tr>
<td>id</td>
<td>是</td>
<td></td>
<td>接口id</td>
</tr>
<tr>
<td>token</td>
<td>是</td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
<h3 id="-11">返回数据</h3>
<table>
<thead class="ant-table-thead">
<tr>
<th key=name>名称</th><th key=type>类型</th><th key=required>是否必须</th><th key=default>默认值</th><th key=desc>备注</th><th key=sub>其他信息</th>
</tr>
</thead><tbody className="ant-table-tbody"><tr key=0-0><td key=0><span style="padding-left: 0px"><span style="color: #8c8a8a"></span> errcode</span></td><td key=1><span>number</span></td><td key=2>非必须</td><td key=3></td><td key=4><span style="white-space: pre-wrap"></span></td><td key=5></td></tr><tr key=0-1><td key=0><span style="padding-left: 0px"><span style="color: #8c8a8a"></span> errmsg</span></td><td key=1><span>string</span></td><td key=2>非必须</td><td key=3></td><td key=4><span style="white-space: pre-wrap"></span></td><td key=5></td></tr><tr key=0-2><td key=0><span style="padding-left: 0px"><span style="color: #8c8a8a"></span> data</span></td><td key=1><span>object</span></td><td key=2>非必须</td><td key=3></td><td key=4><span style="white-space: pre-wrap"></span></td><td key=5></td></tr><tr key=0-2-0><td key=0><span style="padding-left: 20px"><span style="color: #8c8a8a">├─</span> _id</span></td><td key=1><span>number</span></td><td key=2>非必须</td><td key=3></td><td key=4><span style="white-space: pre-wrap">接口id</span></td><td key=5></td></tr><tr key=0-2-1><td key=0><span style="padding-left: 20px"><span style="color: #8c8a8a">├─</span> project_id</span></td><td key=1><span>number</span></td><td key=2>非必须</td><td key=3></td><td key=4><span style="white-space: pre-wrap">项目id</span></td><td key=5></td></tr><tr key=0-2-2><td key=0><span style="padding-left: 20px"><span style="color: #8c8a8a">├─</span> catid</span></td><td key=1><span>number</span></td><td key=2>非必须</td><td key=3></td><td key=4><span style="white-space: pre-wrap">品类id</span></td><td key=5></td></tr><tr key=0-2-3><td key=0><span style="padding-left: 20px"><span style="color: #8c8a8a">├─</span> title</span></td><td key=1><span>string</span></td><td key=2>非必须</td><td key=3></td><td key=4><span style="white-space: pre-wrap"></span></td><td key=5></td></tr><tr key=0-2-4><td key=0><span style="padding-left: 20px"><span style="color: #8c8a8a">├─</span> path</span></td><td key=1><span>string</span></td><td key=2>非必须</td><td key=3></td><td key=4><span style="white-space: pre-wrap">请求路径</span></td><td key=5></td></tr><tr key=0-2-5><td key=0><span style="padding-left: 20px"><span style="color: #8c8a8a">├─</span> method</span></td><td key=1><span>string</span></td><td key=2>非必须</td><td key=3></td><td key=4><span style="white-space: pre-wrap">请求method</span></td><td key=5></td></tr><tr key=0-2-6><td key=0><span style="padding-left: 20px"><span style="color: #8c8a8a">├─</span> req_body_type</span></td><td key=1><span>string</span></td><td key=2>非必须</td><td key=3></td><td key=4><span style="white-space: pre-wrap">请求数据类型</span></td><td key=5><p key=2><span style="font-weight: '700'">枚举: </span><span>raw,form,json</span></p></td></tr><tr key=0-2-7><td key=0><span style="padding-left: 20px"><span style="color: #8c8a8a">├─</span> res_body</span></td><td key=1><span>string</span></td><td key=2>非必须</td><td key=3></td><td key=4><span style="white-space: pre-wrap">返回数据</span></td><td key=5></td></tr><tr key=0-2-8><td key=0><span style="padding-left: 20px"><span style="color: #8c8a8a">├─</span> res_body_type</span></td><td key=1><span>string</span></td><td key=2>非必须</td><td key=3></td><td key=4><span style="white-space: pre-wrap">返回数据类型</span></td><td key=5><p key=2><span style="font-weight: '700'">枚举: </span><span>json,raw</span></p></td></tr><tr key=0-2-9><td key=0><span style="padding-left: 20px"><span style="color: #8c8a8a">├─</span> uid</span></td><td key=1><span>number</span></td><td key=2>非必须</td><td key=3></td><td key=4><span style="white-space: pre-wrap">用户uid</span></td><td key=5></td></tr><tr key=0-2-10><td key=0><span style="padding-left: 20px"><span style="color: #8c8a8a">├─</span> add_time</span></td><td key=1><span>number</span></td><td key=2>非必须</td><td key=3></td><td key=4><span style="white-space: pre-wrap"></span></td><td key=5></td></tr><tr key=0-2-11><td key=0><span style="padding-left: 20px"><span style="color: #8c8a8a">├─</span> up_time</span></td><td key=1><span>number</span></td><td key=2>非必须</td><td key=3></td><td key=4><span style="white-space: pre-wrap"></span></td><td key=5></td></tr><tr key=0-2-12><td key=0><span style="padding-left: 20px"><span style="color: #8c8a8a">├─</span> req_body_form</span></td><td key=1><span>object []</span></td><td key=2>非必须</td><td key=3></td><td key=4><span style="white-space: pre-wrap">请求 form 参数</span></td><td key=5><p key=3><span style="font-weight: '700'">item 类型: </span><span>object</span></p></td></tr><tr key=0-2-12-0><td key=0><span style="padding-left: 40px"><span style="color: #8c8a8a">├─</span> name</span></td><td key=1><span>string</span></td><td key=2>必须</td><td key=3></td><td key=4><span style="white-space: pre-wrap"></span></td><td key=5></td></tr><tr key=0-2-12-1><td key=0><span style="padding-left: 40px"><span style="color: #8c8a8a">├─</span> type</span></td><td key=1><span>string</span></td><td key=2>必须</td><td key=3></td><td key=4><span style="white-space: pre-wrap"></span></td><td key=5></td></tr><tr key=0-2-12-2><td key=0><span style="padding-left: 40px"><span style="color: #8c8a8a">├─</span> example</span></td><td key=1><span>string</span></td><td key=2>必须</td><td key=3></td><td key=4><span style="white-space: pre-wrap"></span></td><td key=5></td></tr><tr key=0-2-12-3><td key=0><span style="padding-left: 40px"><span style="color: #8c8a8a">├─</span> desc</span></td><td key=1><span>string</span></td><td key=2>必须</td><td key=3></td><td key=4><span style="white-space: pre-wrap"></span></td><td key=5></td></tr><tr key=0-2-12-4><td key=0><span style="padding-left: 40px"><span style="color: #8c8a8a">├─</span> required</span></td><td key=1><span>string</span></td><td key=2>必须</td><td key=3>1</td><td key=4><span style="white-space: pre-wrap"></span></td><td key=5><p key=2><span style="font-weight: '700'">枚举: </span><span>1,0</span></p></td></tr><tr key=0-2-13><td key=0><span style="padding-left: 20px"><span style="color: #8c8a8a">├─</span> req_params</span></td><td key=1><span>object []</span></td><td key=2>非必须</td><td key=3></td><td key=4><span style="white-space: pre-wrap"></span></td><td key=5><p key=3><span style="font-weight: '700'">item 类型: </span><span>object</span></p></td></tr><tr key=0-2-13-0><td key=0><span style="padding-left: 40px"><span style="color: #8c8a8a">├─</span> name</span></td><td key=1><span>string</span></td><td key=2>必须</td><td key=3></td><td key=4><span style="white-space: pre-wrap"></span></td><td key=5></td></tr><tr key=0-2-13-1><td key=0><span style="padding-left: 40px"><span style="color: #8c8a8a">├─</span> example</span></td><td key=1><span>string</span></td><td key=2>必须</td><td key=3></td><td key=4><span style="white-space: pre-wrap"></span></td><td key=5></td></tr><tr key=0-2-13-2><td key=0><span style="padding-left: 40px"><span style="color: #8c8a8a">├─</span> desc</span></td><td key=1><span>string</span></td><td key=2>必须</td><td key=3></td><td key=4><span style="white-space: pre-wrap"></span></td><td key=5></td></tr><tr key=0-2-14><td key=0><span style="padding-left: 20px"><span style="color: #8c8a8a">├─</span> req_headers</span></td><td key=1><span>object []</span></td><td key=2>非必须</td><td key=3></td><td key=4><span style="white-space: pre-wrap"></span></td><td key=5><p key=3><span style="font-weight: '700'">item 类型: </span><span>object</span></p></td></tr><tr key=0-2-14-0><td key=0><span style="padding-left: 40px"><span style="color: #8c8a8a">├─</span> name</span></td><td key=1><span>string</span></td><td key=2>必须</td><td key=3></td><td key=4><span style="white-space: pre-wrap"></span></td><td key=5></td></tr><tr key=0-2-14-1><td key=0><span style="padding-left: 40px"><span style="color: #8c8a8a">├─</span> type</span></td><td key=1><span>string</span></td><td key=2>必须</td><td key=3></td><td key=4><span style="white-space: pre-wrap"></span></td><td key=5></td></tr><tr key=0-2-14-2><td key=0><span style="padding-left: 40px"><span style="color: #8c8a8a">├─</span> example</span></td><td key=1><span>string</span></td><td key=2>必须</td><td key=3></td><td key=4><span style="white-space: pre-wrap"></span></td><td key=5></td></tr><tr key=0-2-14-3><td key=0><span style="padding-left: 40px"><span style="color: #8c8a8a">├─</span> desc</span></td><td key=1><span>string</span></td><td key=2>必须</td><td key=3></td><td key=4><span style="white-space: pre-wrap"></span></td><td key=5></td></tr><tr key=0-2-14-4><td key=0><span style="padding-left: 40px"><span style="color: #8c8a8a">├─</span> required</span></td><td key=1><span>string</span></td><td key=2>必须</td><td key=3>1</td><td key=4><span style="white-space: pre-wrap"></span></td><td key=5><p key=2><span style="font-weight: '700'">枚举: </span><span>1,0</span></p></td></tr><tr key=0-2-15><td key=0><span style="padding-left: 20px"><span style="color: #8c8a8a">├─</span> req_query</span></td><td key=1><span>object []</span></td><td key=2>非必须</td><td key=3></td><td key=4><span style="white-space: pre-wrap"></span></td><td key=5><p key=3><span style="font-weight: '700'">item 类型: </span><span>object</span></p></td></tr><tr key=0-2-15-0><td key=0><span style="padding-left: 40px"><span style="color: #8c8a8a">├─</span> name</span></td><td key=1><span>string</span></td><td key=2>必须</td><td key=3></td><td key=4><span style="white-space: pre-wrap"></span></td><td key=5></td></tr><tr key=0-2-15-1><td key=0><span style="padding-left: 40px"><span style="color: #8c8a8a">├─</span> type</span></td><td key=1><span>string</span></td><td key=2>必须</td><td key=3></td><td key=4><span style="white-space: pre-wrap"></span></td><td key=5></td></tr><tr key=0-2-15-2><td key=0><span style="padding-left: 40px"><span style="color: #8c8a8a">├─</span> example</span></td><td key=1><span>string</span></td><td key=2>必须</td><td key=3></td><td key=4><span style="white-space: pre-wrap"></span></td><td key=5></td></tr><tr key=0-2-15-3><td key=0><span style="padding-left: 40px"><span style="color: #8c8a8a">├─</span> desc</span></td><td key=1><span>string</span></td><td key=2>必须</td><td key=3></td><td key=4><span style="white-space: pre-wrap"></span></td><td key=5></td></tr><tr key=0-2-15-4><td key=0><span style="padding-left: 40px"><span style="color: #8c8a8a">├─</span> required</span></td><td key=1><span>string</span></td><td key=2>必须</td><td key=3>1</td><td key=4><span style="white-space: pre-wrap"></span></td><td key=5><p key=2><span style="font-weight: '700'">枚举: </span><span>1,0</span></p></td></tr><tr key=0-2-16><td key=0><span style="padding-left: 20px"><span style="color: #8c8a8a">├─</span> status</span></td><td key=1><span>string</span></td><td key=2>非必须</td><td key=3></td><td key=4><span style="white-space: pre-wrap">接口状态</span></td><td key=5></td></tr><tr key=0-2-17><td key=0><span style="padding-left: 20px"><span style="color: #8c8a8a">├─</span> edit_uid</span></td><td key=1><span>number</span></td><td key=2>非必须</td><td key=3></td><td key=4><span style="white-space: pre-wrap">修改的用户uid</span></td><td key=5></td></tr><tr key=0-2-18><td key=0><span style="padding-left: 20px"><span style="color: #8c8a8a">├─</span> res_body_is_json_schema</span></td><td key=1><span>boolean</span></td><td key=2>必须</td><td key=3>false</td><td key=4><span style="white-space: pre-wrap">返回数据是否为 json-schema</span></td><td key=5></td></tr>
</tbody>
</table>
<h2 id="u83b7u53d6u67d0u4e2au5206u7c7bu4e0bu63a5u53e3u5217u88680a3ca20id3du83b7u53d6u67d0u4e2au5206u7c7bu4e0bu63a5u53e3u5217u88683e203ca3e">获取某个分类下接口列表
<a id=获取某个分类下接口列表> </a></h2>
<p></p>
<h3 id="-12">基本信息</h3>
<p><strong>Path:</strong> /api/interface/list_cat</p>
<p><strong>Method:</strong> GET</p>
<p><strong>接口描述:</strong></p>
<h3 id="-13">请求参数</h3>
<p><strong>Query</strong></p>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>是否必须</th>
<th>示例</th>
<th>备注</th>
</tr>
</thead>
<tbody>
<tr>
<td>token</td>
<td>是</td>
<td></td>
<td>项目token</td>
</tr>
<tr>
<td>catid</td>
<td>是</td>
<td></td>
<td>分类id</td>
</tr>
<tr>
<td>page</td>
<td>否</td>
<td>1</td>
<td>当前页面</td>
</tr>
<tr>
<td>limit</td>
<td>否</td>
<td>10</td>
<td>每页数量,默认为10,如果不想要分页数据,可将 limit 设置为比较大的数字,比如 1000</td>
</tr>
</tbody>
</table>
<h2 id="u65b0u589eu63a5u53e30a3ca20id3du65b0u589eu63a5u53e33e203ca3e">新增接口
<a id=新增接口> </a></h2>
<p></p>
<h3 id="-14">基本信息</h3>
<p><strong>Path:</strong> /api/interface/add</p>
<p><strong>Method:</strong> POST</p>
<p><strong>接口描述:</strong></p>
<h3 id="-15">请求参数</h3>
<p><strong>Headers</strong></p>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>参数值</th>
<th>是否必须</th>
<th>示例</th>
<th>备注</th>
</tr>
</thead>
<tbody>
<tr>
<td>Content-Type</td>
<td>application/json</td>
<td>是</td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
<p><strong>Body</strong></p>
<pre><code class="language-javascript">{
"token": "xxx",
"req_query": [],
"req_headers": [
{
"name": "Content-Type"
}
],
"req_body_form": [],
"title": "/api/group/list",
"catid": "1376",
"path": "/api/group/list",
"status": "undone",
"res_body_type": "json",
"res_body": "{\n \"errcode\": 0,\n \"errmsg\": \"成功!\",\n \"data\": [\n {\n \"_id\": 11,\n \"group_name\": \"个人空间\",\n \"add_time\": 1507877807,\n \"up_time\": 1507877807,\n \"type\": \"private\",\n \"role\": \"owner\"\n },\n {\n \"_id\": 358,\n \"group_name\": \"测试新组长\",\n \"group_desc\": \"是组长,但不是超级管理员的情况\",\n \"uid\": 11,\n \"add_time\": 1510152313,\n \"up_time\": 1510216549,\n \"type\": \"public\",\n \"role\": \"admin\"\n },\n {\n \"_id\": 295,\n \"group_name\": \"eerurueuff\",\n \"group_desc\": \"sdsuddhdh\",\n \"uid\": 11,\n \"add_time\": 1509678660,\n \"up_time\": 1509678660,\n \"type\": \"public\",\n \"role\": \"admin\"\n },\n {\n \"_id\": 19,\n \"group_name\": \"demo\",\n \"group_desc\": \"demo\",\n \"uid\": 11,\n \"add_time\": 1507877873,\n \"up_time\": 1509679366,\n \"type\": \"public\",\n \"role\": \"admin\"\n },\n {\n \"_id\": 402,\n \"group_name\": \"yy\",\n \"group_desc\": \"\",\n \"uid\": 11,\n \"add_time\": 1511431183,\n \"up_time\": 1511431183,\n \"type\": \"public\",\n \"role\": \"admin\"\n },\n {\n \"_id\": 390,\n \"group_name\": \"ttt\",\n \"group_desc\": \"4\",\n \"uid\": 11,\n \"add_time\": 1511430683,\n \"up_time\": 1511430683,\n \"type\": \"public\",\n \"role\": \"admin\"\n },\n {\n \"_id\": 384,\n \"group_name\": \"yapi 上线测试分组(误删)\",\n \"group_desc\": \"\",\n \"uid\": 11,\n \"add_time\": 1511264706,\n \"up_time\": 1511264706,\n \"type\": \"public\",\n \"role\": \"admin\"\n },\n {\n \"_id\": 373,\n \"group_name\": \"test\",\n \"group_desc\": \"巍峨如如如如\",\n \"uid\": 11,\n \"add_time\": 1510747315,\n \"up_time\": 1510747315,\n \"type\": \"public\",\n \"role\": \"admin\"\n },\n {\n \"_id\": 366,\n \"group_name\": \"测试新组长1\",\n \"group_desc\": \"是组长,但不是超级管理员的情况\",\n \"uid\": 11,\n \"add_time\": 1510152399,\n \"up_time\": 1510152403,\n \"type\": \"public\",\n \"role\": \"admin\"\n },\n {\n \"_id\": 151,\n \"group_name\": \"test_123\",\n \"group_desc\": \"\",\n \"uid\": 11,\n \"add_time\": 1508489714,\n \"up_time\": 1508489714,\n \"type\": \"public\",\n \"role\": \"admin\"\n },\n {\n \"_id\": 40,\n \"group_name\": \"test1\",\n \"group_desc\": \"\",\n \"uid\": 11,\n \"add_time\": 1507882145,\n \"up_time\": 1507882145,\n \"type\": \"public\",\n \"role\": \"admin\"\n }\n ]\n}",
"switch_notice": false,
"message": "",
"desc": "<p><br></p>",
"method": "GET",
"req_params": []
}
</code></pre>
<h3 id="-16">返回数据</h3>
<pre><code class="language-javascript">{
"errcode": 0,
"errmsg": "成功!",
"data": {
"ok": 1,
"nModified": 1,
"n": 1
}
}
</code></pre>
<h2 id="u65b0u589eu6216u8005u66f4u65b0u63a5u53e30a3ca20id3du65b0u589eu6216u8005u66f4u65b0u63a5u53e33e203ca3e">新增或者更新接口
<a id=新增或者更新接口> </a></h2>
<p></p>
<h3 id="-17">基本信息</h3>
<p><strong>Path:</strong> /api/interface/save</p>
<p><strong>Method:</strong> POST</p>
<p><strong>接口描述:</strong></p>
<h3 id="-18">请求参数</h3>
<p><strong>Headers</strong></p>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>参数值</th>
<th>是否必须</th>
<th>示例</th>
<th>备注</th>
</tr>
</thead>
<tbody>
<tr>
<td>Content-Type</td>
<td>application/json</td>
<td>是</td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
<p><strong>Body</strong></p>
<pre><code class="language-javascript">{
"token": "...",
"req_query": [],
"req_headers": [
{
"name": "Content-Type"
}
],
"req_body_form": [],
"title": "/api/group/list",
"catid": "1376",
"path": "/api/group/list",
"status": "undone",
"res_body_type": "json",
"res_body": "{\n \"errcode\": 0,\n \"errmsg\": \"成功!\",\n \"data\": [\n {\n \"_id\": 11,\n \"group_name\": \"个人空间\",\n \"add_time\": 1507877807,\n \"up_time\": 1507877807,\n \"type\": \"private\",\n \"role\": \"owner\"\n },\n {\n \"_id\": 358,\n \"group_name\": \"测试新组长\",\n \"group_desc\": \"是组长,但不是超级管理员的情况\",\n \"uid\": 11,\n \"add_time\": 1510152313,\n \"up_time\": 1510216549,\n \"type\": \"public\",\n \"role\": \"admin\"\n },\n {\n \"_id\": 295,\n \"group_name\": \"eerurueuff\",\n \"group_desc\": \"sdsuddhdh\",\n \"uid\": 11,\n \"add_time\": 1509678660,\n \"up_time\": 1509678660,\n \"type\": \"public\",\n \"role\": \"admin\"\n },\n {\n \"_id\": 19,\n \"group_name\": \"demo\",\n \"group_desc\": \"demo\",\n \"uid\": 11,\n \"add_time\": 1507877873,\n \"up_time\": 1509679366,\n \"type\": \"public\",\n \"role\": \"admin\"\n },\n {\n \"_id\": 402,\n \"group_name\": \"yy\",\n \"group_desc\": \"\",\n \"uid\": 11,\n \"add_time\": 1511431183,\n \"up_time\": 1511431183,\n \"type\": \"public\",\n \"role\": \"admin\"\n },\n {\n \"_id\": 390,\n \"group_name\": \"ttt\",\n \"group_desc\": \"4\",\n \"uid\": 11,\n \"add_time\": 1511430683,\n \"up_time\": 1511430683,\n \"type\": \"public\",\n \"role\": \"admin\"\n },\n {\n \"_id\": 384,\n \"group_name\": \"yapi 上线测试分组(误删)\",\n \"group_desc\": \"\",\n \"uid\": 11,\n \"add_time\": 1511264706,\n \"up_time\": 1511264706,\n \"type\": \"public\",\n \"role\": \"admin\"\n },\n {\n \"_id\": 373,\n \"group_name\": \"test\",\n \"group_desc\": \"巍峨如如如如\",\n \"uid\": 11,\n \"add_time\": 1510747315,\n \"up_time\": 1510747315,\n \"type\": \"public\",\n \"role\": \"admin\"\n },\n {\n \"_id\": 366,\n \"group_name\": \"测试新组长1\",\n \"group_desc\": \"是组长,但不是超级管理员的情况\",\n \"uid\": 11,\n \"add_time\": 1510152399,\n \"up_time\": 1510152403,\n \"type\": \"public\",\n \"role\": \"admin\"\n },\n {\n \"_id\": 151,\n \"group_name\": \"test_123\",\n \"group_desc\": \"\",\n \"uid\": 11,\n \"add_time\": 1508489714,\n \"up_time\": 1508489714,\n \"type\": \"public\",\n \"role\": \"admin\"\n },\n {\n \"_id\": 40,\n \"group_name\": \"test1\",\n \"group_desc\": \"\",\n \"uid\": 11,\n \"add_time\": 1507882145,\n \"up_time\": 1507882145,\n \"type\": \"public\",\n \"role\": \"admin\"\n }\n ]\n}",
"switch_notice": false,
"message": "",
"desc": "<p><br></p>",
"method": "GET",
"req_params": [],
"id": "4396"
}
</code></pre>
<h3 id="-19">返回数据</h3>
<pre><code class="language-javascript">{
"errcode": 0,
"errmsg": "成功!",
"data": {
"ok": 1,
"nModified": 1,
"n": 1
}
}
</code></pre>
<h2 id="u83b7u53d6u63a5u53e3u5217u8868u6570u636e0a3ca20id3du83b7u53d6u63a5u53e3u5217u8868u6570u636e3e203ca3e">获取接口列表数据
<a id=获取接口列表数据> </a></h2>
<p></p>
<h3 id="-20">基本信息</h3>
<p><strong>Path:</strong> /api/interface/list</p>
<p><strong>Method:</strong> GET</p>
<p><strong>接口描述:</strong></p>
<h3 id="-21">请求参数</h3>
<p><strong>Headers</strong></p>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>参数值</th>
<th>是否必须</th>
<th>示例</th>
<th>备注</th>
</tr>
</thead>
<tbody>
<tr>
<td>Content-Type</td>
<td>application/json</td>
<td>是</td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
<p><strong>Query</strong></p>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>是否必须</th>
<th>示例</th>
<th>备注</th>
</tr>
</thead>
<tbody>
<tr>
<td>project_id</td>
<td>是</td>
<td></td>
<td></td>
</tr>
<tr>
<td>token</td>
<td>是</td>
<td></td>
<td></td>
</tr>
<tr>
<td>page</td>
<td>是</td>
<td>1</td>
<td>当前页数</td>
</tr>
<tr>
<td>limit</td>
<td>是</td>
<td>10</td>
<td>每页数量,默认为10,如果不想要分页数据,可将 limit 设置为比较大的数字,比如 1000</td>
</tr>
</tbody>
</table>
<h3 id="-22">返回数据</h3>
<pre><code class="language-javascript">{
"errcode": 0,
"errmsg": "成功!",
"data": [
{
"_id": 4444,
"project_id": 299,
"catid": 1376,
"title": "/api/group/del",
"path": "/api/group/del",
"method": "POST",
"uid": 11,
"add_time": 1511431246,
"up_time": 1511751531,
"status": "undone",
"edit_uid": 0
},
{
"_id": 4436,
"project_id": 299,
"catid": 1376,
"title": "/api/group/up",
"path": "/api/group/up",
"method": "POST",
"uid": 11,
"add_time": 1511431246,
"up_time": 1511751572,
"status": "undone",
"edit_uid": 0
},
{
"_id": 4428,
"project_id": 299,
"catid": 1376,
"title": "/api/group/get_member_list",
"path": "/api/group/get_member_list",
"method": "GET",
"uid": 11,
"add_time": 1511431245,
"up_time": 1511431245,
"status": "undone",
"edit_uid": 0
},
{
"_id": 4420,
"project_id": 299,
"catid": 1376,
"title": "/api/log/list",
"path": "/api/log/list",
"method": "GET",
"uid": 11,
"add_time": 1511431245,
"up_time": 1511431245,
"status": "undone",
"edit_uid": 0
},
{
"_id": 4412,
"project_id": 299,
"catid": 1376,
"title": "/api/group/get",
"path": "/api/group/get",
"method": "GET",
"uid": 11,
"add_time": 1511431245,
"up_time": 1511431245,
"status": "undone",
"edit_uid": 0
},
{
"_id": 4404,
"project_id": 299,
"catid": 1376,
"title": "/api/project/list",
"path": "/api/project/list",
"method": "GET",
"uid": 11,
"add_time": 1511431245,
"up_time": 1511431245,
"status": "undone",
"edit_uid": 0
},
{
"_id": 4396,
"project_id": 299,
"catid": 1376,
"title": "/api/group/list",
"path": "/api/group/list",
"method": "GET",
"uid": 11,
"add_time": 1511431245,
"up_time": 1511431245,
"status": "undone",
"edit_uid": 0
},
{
"_id": 4388,
"project_id": 299,
"catid": 1376,
"title": "/api/group/add",
"path": "/api/group/add",
"method": "POST",
"uid": 11,
"add_time": 1511431245,
"up_time": 1511493611,
"status": "undone",