1818 /api :
1919 get :
2020 summary : List API resources.
21+ description : |
22+ Show paths to all supported API resources.
2123 operationId : api_list
2224 parameters : []
2325 responses :
3234 /api/bundles :
3335 get :
3436 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.
3540 operationId : bundles_list
3641 parameters :
3742 - $ref : ' #/components/parameters/Page'
7580 - bundles
7681 post :
7782 summary : Create a bundle.
83+ description : |
84+ Create a new bundle.
7885 operationId : bundles_create
7986 security :
8087 - basicAuth : []
@@ -113,6 +120,9 @@ paths:
113120 type : integer
114121 get :
115122 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.
116126 operationId : bundles_read
117127 responses :
118128 ' 200 ' :
@@ -131,6 +141,9 @@ paths:
131141 - bundles
132142 patch :
133143 summary : Update a bundle (partial).
144+ description :
145+ Partially update an existing bundle.
146+ The bundle must be owned by the currently authenticated user.
134147 operationId : bundles_partial_update
135148 security :
136149 - basicAuth : []
@@ -205,6 +218,8 @@ paths:
205218 /api/covers :
206219 get :
207220 summary : List cover letters.
221+ description : |
222+ List all cover letters.
208223 operationId : covers_list
209224 parameters :
210225 - $ref : ' #/components/parameters/Page'
@@ -266,6 +281,8 @@ paths:
266281 type : integer
267282 get :
268283 summary : Show a cover letter.
284+ description : |
285+ Retrieve a cover letter by its ID.
269286 operationId : covers_read
270287 responses :
271288 ' 200 ' :
@@ -294,6 +311,8 @@ paths:
294311 type : integer
295312 get :
296313 summary : List cover letter comments
314+ description : |
315+ List all comments for the given cover letter.
297316 operationId : cover_comments_list
298317 parameters :
299318 - $ref : ' #/components/parameters/Page'
@@ -338,6 +357,8 @@ paths:
338357 type : integer
339358 get :
340359 summary : Show a cover letter comment.
360+ description : |
361+ Retrieve a cover letter comment by its ID.
341362 operationId : cover_comments_read
342363 responses :
343364 ' 200 ' :
@@ -356,6 +377,9 @@ paths:
356377 - comments
357378 patch :
358379 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.
359383 operationId : cover_comments_partial_update
360384 requestBody :
361385 $ref : ' #/components/requestBodies/Comment'
@@ -389,6 +413,9 @@ paths:
389413 /api/events :
390414 get :
391415 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).
392419 operationId : events_list
393420 parameters :
394421 - $ref : ' #/components/parameters/Page'
@@ -485,6 +512,8 @@ paths:
485512 /api/patches :
486513 get :
487514 summary : List patches.
515+ description : |
516+ List all patches.
488517 operationId : patches_list
489518 parameters :
490519 - $ref : ' #/components/parameters/Page'
@@ -574,6 +603,8 @@ paths:
574603 type : integer
575604 get :
576605 summary : Show a patch.
606+ description : |
607+ Retrieve a patch by its ID.
577608 operationId : patches_read
578609 responses :
579610 ' 200 ' :
@@ -592,6 +623,9 @@ paths:
592623 - patches
593624 patch :
594625 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.
595629 operationId : patches_partial_update
596630 security :
597631 - basicAuth : []
@@ -682,7 +716,9 @@ paths:
682716 title : ID
683717 type : integer
684718 get :
685- summary : List comments
719+ summary : List patch comments
720+ description : |
721+ List all comments for the given patch.
686722 operationId : patch_comments_list
687723 parameters :
688724 - $ref : ' #/components/parameters/Page'
@@ -727,6 +763,8 @@ paths:
727763 type : integer
728764 get :
729765 summary : Show a patch comment.
766+ description : |
767+ Retrieve a patch comment by its ID and the ID of the patch.
730768 operationId : patch_comments_read
731769 responses :
732770 ' 200 ' :
@@ -745,6 +783,9 @@ paths:
745783 - comments
746784 patch :
747785 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.
748789 operationId : patch_comments_partial_update
749790 requestBody :
750791 $ref : ' #/components/requestBodies/Comment'
@@ -786,6 +827,8 @@ paths:
786827 type : integer
787828 get :
788829 summary : List checks.
830+ description : |
831+ List all checks for the given patch.
789832 operationId : checks_list
790833 parameters :
791834 - $ref : ' #/components/parameters/Page'
@@ -890,6 +933,8 @@ paths:
890933 type : integer
891934 get :
892935 summary : Show a check.
936+ description : |
937+ Retrieve a check by its ID.
893938 operationId : checks_read
894939 responses :
895940 ' 200 ' :
@@ -909,6 +954,9 @@ paths:
909954 /api/people :
910955 get :
911956 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.
912960 operationId : people_list
913961 security :
914962 - basicAuth : []
@@ -949,6 +997,9 @@ paths:
949997 type : integer
950998 get :
951999 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.
9521003 operationId : people_read
9531004 security :
9541005 - basicAuth : []
@@ -977,6 +1028,8 @@ paths:
9771028 /api/projects :
9781029 get :
9791030 summary : List projects.
1031+ description : |
1032+ List all projects.
9801033 operationId : projects_list
9811034 parameters :
9821035 - $ref : ' #/components/parameters/Page'
@@ -1009,6 +1062,8 @@ paths:
10091062 type : string
10101063 get :
10111064 summary : Show a project.
1065+ description : |
1066+ Retrieve a project by its ID.
10121067 operationId : projects_read
10131068 responses :
10141069 ' 200 ' :
@@ -1027,6 +1082,9 @@ paths:
10271082 - projects
10281083 patch :
10291084 summary : Update a project (partial).
1085+ description :
1086+ Partially update an existing project.
1087+ You must be a maintainer of the project.
10301088 operationId : projects_partial_update
10311089 security :
10321090 - basicAuth : []
@@ -1098,6 +1156,9 @@ paths:
10981156 /api/series :
10991157 get :
11001158 summary : List series.
1159+ description : |
1160+ List all series.
1161+ A series is a collection of patches with an optional cover letter.
11011162 operationId : series_list
11021163 parameters :
11031164 - $ref : ' #/components/parameters/Page'
@@ -1143,6 +1204,9 @@ paths:
11431204 type : integer
11441205 get :
11451206 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.
11461210 operationId : series_read
11471211 responses :
11481212 ' 200 ' :
@@ -1162,6 +1226,8 @@ paths:
11621226 /api/users :
11631227 get :
11641228 summary : List users.
1229+ description : |
1230+ List all users.
11651231 operationId : users_list
11661232 security :
11671233 - basicAuth : []
@@ -1202,6 +1268,8 @@ paths:
12021268 type : integer
12031269 get :
12041270 summary : Show a user.
1271+ description : |
1272+ Retrieve a user by their ID.
12051273 operationId : users_read
12061274 security :
12071275 - basicAuth : []
@@ -1229,6 +1297,9 @@ paths:
12291297 - users
12301298 patch :
12311299 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.
12321303 operationId : users_partial_update
12331304 security :
12341305 - basicAuth : []
0 commit comments