18
18
/api :
19
19
get :
20
20
summary : List API resources.
21
+ description : |
22
+ Show paths to all supported API resources.
21
23
operationId : api_list
22
24
parameters : []
23
25
responses :
32
34
/api/bundles :
33
35
get :
34
36
summary : List bundles.
37
+ description : |
38
+ List all bundles that the current user has access to.
39
+ For unauthenticated requests, only public bundles can be shown.
35
40
operationId : bundles_list
36
41
parameters :
37
42
- $ref : ' #/components/parameters/Page'
75
80
- bundles
76
81
post :
77
82
summary : Create a bundle.
83
+ description : |
84
+ Create a new bundle.
78
85
operationId : bundles_create
79
86
security :
80
87
- basicAuth : []
@@ -113,6 +120,9 @@ paths:
113
120
type : integer
114
121
get :
115
122
summary : Show a bundle.
123
+ description : |
124
+ Retrieve a bundle by its ID.
125
+ The bundle must be either be public or be owned by the currently authenticated user.
116
126
operationId : bundles_read
117
127
responses :
118
128
' 200 ' :
@@ -131,6 +141,9 @@ paths:
131
141
- bundles
132
142
patch :
133
143
summary : Update a bundle (partial).
144
+ description :
145
+ Partially update an existing bundle.
146
+ The bundle must be owned by the currently authenticated user.
134
147
operationId : bundles_partial_update
135
148
security :
136
149
- basicAuth : []
@@ -205,6 +218,8 @@ paths:
205
218
/api/covers :
206
219
get :
207
220
summary : List cover letters.
221
+ description : |
222
+ List all cover letters.
208
223
operationId : covers_list
209
224
parameters :
210
225
- $ref : ' #/components/parameters/Page'
@@ -266,6 +281,8 @@ paths:
266
281
type : integer
267
282
get :
268
283
summary : Show a cover letter.
284
+ description : |
285
+ Retrieve a cover letter by its ID.
269
286
operationId : covers_read
270
287
responses :
271
288
' 200 ' :
@@ -294,6 +311,8 @@ paths:
294
311
type : integer
295
312
get :
296
313
summary : List cover letter comments
314
+ description : |
315
+ List all comments for the given cover letter.
297
316
operationId : cover_comments_list
298
317
parameters :
299
318
- $ref : ' #/components/parameters/Page'
@@ -338,6 +357,8 @@ paths:
338
357
type : integer
339
358
get :
340
359
summary : Show a cover letter comment.
360
+ description : |
361
+ Retrieve a cover letter comment by its ID.
341
362
operationId : cover_comments_read
342
363
responses :
343
364
' 200 ' :
@@ -356,6 +377,9 @@ paths:
356
377
- comments
357
378
patch :
358
379
summary : Update a cover letter comment (partial).
380
+ description :
381
+ Partially update an existing cover letter comment.
382
+ You must be a maintainer of the project that the cover letter comment belongs to.
359
383
operationId : cover_comments_partial_update
360
384
requestBody :
361
385
$ref : ' #/components/requestBodies/Comment'
@@ -389,6 +413,9 @@ paths:
389
413
/api/events :
390
414
get :
391
415
summary : List events.
416
+ description : |
417
+ List all events.
418
+ This list can be quite large. You are encouraged to use filters to narrow it to specific categories or project(s).
392
419
operationId : events_list
393
420
parameters :
394
421
- $ref : ' #/components/parameters/Page'
@@ -485,6 +512,8 @@ paths:
485
512
/api/patches :
486
513
get :
487
514
summary : List patches.
515
+ description : |
516
+ List all patches.
488
517
operationId : patches_list
489
518
parameters :
490
519
- $ref : ' #/components/parameters/Page'
@@ -574,6 +603,8 @@ paths:
574
603
type : integer
575
604
get :
576
605
summary : Show a patch.
606
+ description : |
607
+ Retrieve a patch by its ID.
577
608
operationId : patches_read
578
609
responses :
579
610
' 200 ' :
@@ -592,6 +623,9 @@ paths:
592
623
- patches
593
624
patch :
594
625
summary : Update a patch (partial).
626
+ description :
627
+ Partially update an existing patch.
628
+ You must be a maintainer of the project that the patch belongs to.
595
629
operationId : patches_partial_update
596
630
security :
597
631
- basicAuth : []
@@ -682,7 +716,9 @@ paths:
682
716
title : ID
683
717
type : integer
684
718
get :
685
- summary : List comments
719
+ summary : List patch comments
720
+ description : |
721
+ List all comments for the given patch.
686
722
operationId : patch_comments_list
687
723
parameters :
688
724
- $ref : ' #/components/parameters/Page'
@@ -727,6 +763,8 @@ paths:
727
763
type : integer
728
764
get :
729
765
summary : Show a patch comment.
766
+ description : |
767
+ Retrieve a patch comment by its ID and the ID of the patch.
730
768
operationId : patch_comments_read
731
769
responses :
732
770
' 200 ' :
@@ -745,6 +783,9 @@ paths:
745
783
- comments
746
784
patch :
747
785
summary : Update a patch comment (partial).
786
+ description :
787
+ Partially update an existing patch comment.
788
+ You must be a maintainer of the project that the patch comment belongs to.
748
789
operationId : patch_comments_partial_update
749
790
requestBody :
750
791
$ref : ' #/components/requestBodies/Comment'
@@ -786,6 +827,8 @@ paths:
786
827
type : integer
787
828
get :
788
829
summary : List checks.
830
+ description : |
831
+ List all checks for the given patch.
789
832
operationId : checks_list
790
833
parameters :
791
834
- $ref : ' #/components/parameters/Page'
@@ -890,6 +933,8 @@ paths:
890
933
type : integer
891
934
get :
892
935
summary : Show a check.
936
+ description : |
937
+ Retrieve a check by its ID.
893
938
operationId : checks_read
894
939
responses :
895
940
' 200 ' :
@@ -909,6 +954,9 @@ paths:
909
954
/api/people :
910
955
get :
911
956
summary : List people.
957
+ description : |
958
+ List all people.
959
+ A person is anyone that has submitted a patch, a series of patches, or a comment to any project.
912
960
operationId : people_list
913
961
security :
914
962
- basicAuth : []
@@ -949,6 +997,9 @@ paths:
949
997
type : integer
950
998
get :
951
999
summary : Show a person.
1000
+ description : |
1001
+ Retrieve a person by their ID.
1002
+ A person is anyone that has submitted a patch, a series of patches, or a comment to any project.
952
1003
operationId : people_read
953
1004
security :
954
1005
- basicAuth : []
@@ -977,6 +1028,8 @@ paths:
977
1028
/api/projects :
978
1029
get :
979
1030
summary : List projects.
1031
+ description : |
1032
+ List all projects.
980
1033
operationId : projects_list
981
1034
parameters :
982
1035
- $ref : ' #/components/parameters/Page'
@@ -1009,6 +1062,8 @@ paths:
1009
1062
type : string
1010
1063
get :
1011
1064
summary : Show a project.
1065
+ description : |
1066
+ Retrieve a project by its ID.
1012
1067
operationId : projects_read
1013
1068
responses :
1014
1069
' 200 ' :
@@ -1027,6 +1082,9 @@ paths:
1027
1082
- projects
1028
1083
patch :
1029
1084
summary : Update a project (partial).
1085
+ description :
1086
+ Partially update an existing project.
1087
+ You must be a maintainer of the project.
1030
1088
operationId : projects_partial_update
1031
1089
security :
1032
1090
- basicAuth : []
@@ -1098,6 +1156,9 @@ paths:
1098
1156
/api/series :
1099
1157
get :
1100
1158
summary : List series.
1159
+ description : |
1160
+ List all series.
1161
+ A series is a collection of patches with an optional cover letter.
1101
1162
operationId : series_list
1102
1163
parameters :
1103
1164
- $ref : ' #/components/parameters/Page'
@@ -1143,6 +1204,9 @@ paths:
1143
1204
type : integer
1144
1205
get :
1145
1206
summary : Show a series.
1207
+ description : |
1208
+ Retrieve a series by its ID.
1209
+ A series is a collection of patches with an optional cover letter.
1146
1210
operationId : series_read
1147
1211
responses :
1148
1212
' 200 ' :
@@ -1162,6 +1226,8 @@ paths:
1162
1226
/api/users :
1163
1227
get :
1164
1228
summary : List users.
1229
+ description : |
1230
+ List all users.
1165
1231
operationId : users_list
1166
1232
security :
1167
1233
- basicAuth : []
@@ -1202,6 +1268,8 @@ paths:
1202
1268
type : integer
1203
1269
get :
1204
1270
summary : Show a user.
1271
+ description : |
1272
+ Retrieve a user by their ID.
1205
1273
operationId : users_read
1206
1274
security :
1207
1275
- basicAuth : []
@@ -1229,6 +1297,9 @@ paths:
1229
1297
- users
1230
1298
patch :
1231
1299
summary : Update a user (partial).
1300
+ description :
1301
+ Partially update a user account.
1302
+ Only super users are allowed to update other user's accounts.
1232
1303
operationId : users_partial_update
1233
1304
security :
1234
1305
- basicAuth : []
0 commit comments