1{
2  "info": {
3    "termsOfService": "https://quay.io/tos",
4    "version": "v1",
5    "contact": {
6      "email": "support@quay.io"
7    },
8    "description": "This API allows you to perform many of the operations required to work with Quay repositories, users, and organizations. You can find out more at <a href=\"https://quay.io\">Quay</a>.",
9    "title": "Quay Frontend"
10  },
11  "paths": {
12    "/logarchive/{file_id}": {
13      "put": {
14        "responses": {
15          "200": {
16            "description": "Successful invocation"
17          },
18          "404": {
19            "description": "Not found"
20          },
21          "403": {
22            "description": "Unauthorized access"
23          },
24          "401": {
25            "description": "Session required"
26          },
27          "400": {
28            "description": "Bad Request"
29          }
30        },
31        "tags": ["archivedlogs"],
32        "description": "",
33        "parameters": [{
34          "description": "",
35          "required": true,
36          "type": "string",
37          "name": "file_id",
38          "in": "path"
39        }],
40        "operationId": "unnamed"
41      },
42      "x-name": "data.archivedlogs.LogArchiveHandlers",
43      "x-tag": "archivedlogs",
44      "x-path": "/logarchive/{file_id}",
45      "get": {
46        "responses": {
47          "200": {
48            "description": "Successful invocation"
49          },
50          "404": {
51            "description": "Not found"
52          },
53          "403": {
54            "description": "Unauthorized access"
55          },
56          "401": {
57            "description": "Session required"
58          },
59          "400": {
60            "description": "Bad Request"
61          }
62        },
63        "tags": ["archivedlogs"],
64        "description": "",
65        "parameters": [{
66          "description": "",
67          "required": true,
68          "type": "string",
69          "name": "file_id",
70          "in": "path"
71        }],
72        "operationId": "unnamed"
73      }
74    },
75    "/api/v1/organization/{orgname}/invoices": {
76      "x-name": "endpoints.api.billing.OrganizationInvoiceList",
77      "parameters": [{
78        "description": "The name of the organization",
79        "required": true,
80        "type": "string",
81        "name": "orgname",
82        "in": "path"
83      }],
84      "x-tag": "billing",
85      "x-path": "/api/v1/organization/{orgname}/invoices",
86      "get": {
87        "responses": {
88          "200": {
89            "description": "Successful invocation"
90          },
91          "404": {
92            "description": "Not found"
93          },
94          "403": {
95            "description": "Unauthorized access"
96          },
97          "401": {
98            "description": "Session required"
99          },
100          "400": {
101            "description": "Bad Request"
102          }
103        },
104        "parameters": [{
105          "description": "The name of the organization",
106          "required": true,
107          "type": "string",
108          "name": "orgname",
109          "in": "path"
110        }],
111        "tags": ["billing"],
112        "security": [{
113          "oauth2_implicit": ["org:admin"]
114        }],
115        "operationId": "listOrgInvoices",
116        "description": "List the invoices for the specified orgnaization."
117      }
118    },
119    "/api/v1/plans/": {
120      "x-name": "endpoints.api.billing.ListPlans",
121      "x-tag": "billing",
122      "x-path": "/api/v1/plans/",
123      "get": {
124        "responses": {
125          "200": {
126            "description": "Successful invocation"
127          },
128          "404": {
129            "description": "Not found"
130          },
131          "403": {
132            "description": "Unauthorized access"
133          },
134          "401": {
135            "description": "Session required"
136          },
137          "400": {
138            "description": "Bad Request"
139          }
140        },
141        "tags": ["billing"],
142        "description": "List the avaialble plans.",
143        "parameters": [],
144        "operationId": "listPlans"
145      }
146    },
147    "/api/v1/repository/{repository}/build/": {
148      "x-name": "endpoints.api.build.RepositoryBuildList",
149      "parameters": [{
150        "description": "The full path of the repository. e.g. namespace/name",
151        "required": true,
152        "type": "string",
153        "name": "repository",
154        "in": "path"
155      }],
156      "get": {
157        "responses": {
158          "200": {
159            "description": "Successful invocation"
160          },
161          "404": {
162            "description": "Not found"
163          },
164          "403": {
165            "description": "Unauthorized access"
166          },
167          "401": {
168            "description": "Session required"
169          },
170          "400": {
171            "description": "Bad Request"
172          }
173        },
174        "parameters": [{
175          "description": "The full path of the repository. e.g. namespace/name",
176          "required": true,
177          "type": "string",
178          "name": "repository",
179          "in": "path"
180        }, {
181          "description": "Returns all builds since the given unix timecode",
182          "required": false,
183          "type": "integer",
184          "name": "since",
185          "in": "query"
186        }, {
187          "description": "The maximum number of builds to return",
188          "required": false,
189          "type": "integer",
190          "name": "limit",
191          "in": "query"
192        }],
193        "tags": ["build"],
194        "security": [{
195          "oauth2_implicit": ["repo:read"]
196        }],
197        "operationId": "getRepoBuilds",
198        "description": "Get the list of repository builds."
199      },
200      "x-path": "/api/v1/repository/{repository}/build/",
201      "x-tag": "build",
202      "post": {
203        "responses": {
204          "200": {
205            "description": "Successful invocation"
206          },
207          "404": {
208            "description": "Not found"
209          },
210          "403": {
211            "description": "Unauthorized access"
212          },
213          "401": {
214            "description": "Session required"
215          },
216          "400": {
217            "description": "Bad Request"
218          }
219        },
220        "parameters": [{
221          "description": "The full path of the repository. e.g. namespace/name",
222          "required": true,
223          "type": "string",
224          "name": "repository",
225          "in": "path"
226        }, {
227          "schema": {
228            "$ref": "#/definitions/RepositoryBuildRequest"
229          },
230          "description": "Request body contents.",
231          "required": true,
232          "name": "body",
233          "in": "body"
234        }],
235        "tags": ["build"],
236        "security": [{
237          "oauth2_implicit": ["repo:write"]
238        }],
239        "operationId": "requestRepoBuild",
240        "description": "Request that a repository be built and pushed from the specified input."
241      }
242    },
243    "/api/v1/repository/{repository}/build/{build_uuid}/status": {
244      "x-name": "endpoints.api.build.RepositoryBuildStatus",
245      "parameters": [{
246        "description": "The UUID of the build",
247        "required": true,
248        "type": "string",
249        "name": "build_uuid",
250        "in": "path"
251      }, {
252        "description": "The full path of the repository. e.g. namespace/name",
253        "required": true,
254        "type": "string",
255        "name": "repository",
256        "in": "path"
257      }],
258      "x-tag": "build",
259      "x-path": "/api/v1/repository/{repository}/build/{build_uuid}/status",
260      "get": {
261        "responses": {
262          "200": {
263            "description": "Successful invocation"
264          },
265          "404": {
266            "description": "Not found"
267          },
268          "403": {
269            "description": "Unauthorized access"
270          },
271          "401": {
272            "description": "Session required"
273          },
274          "400": {
275            "description": "Bad Request"
276          }
277        },
278        "parameters": [{
279          "description": "The UUID of the build",
280          "required": true,
281          "type": "string",
282          "name": "build_uuid",
283          "in": "path"
284        }, {
285          "description": "The full path of the repository. e.g. namespace/name",
286          "required": true,
287          "type": "string",
288          "name": "repository",
289          "in": "path"
290        }],
291        "tags": ["build"],
292        "security": [{
293          "oauth2_implicit": ["repo:read"]
294        }],
295        "operationId": "getRepoBuildStatus",
296        "description": "Return the status for the builds specified by the build uuids."
297      }
298    },
299    "/api/v1/repository/{repository}/build/{build_uuid}": {
300      "x-name": "endpoints.api.build.RepositoryBuildResource",
301      "parameters": [{
302        "description": "The UUID of the build",
303        "required": true,
304        "type": "string",
305        "name": "build_uuid",
306        "in": "path"
307      }, {
308        "description": "The full path of the repository. e.g. namespace/name",
309        "required": true,
310        "type": "string",
311        "name": "repository",
312        "in": "path"
313      }],
314      "get": {
315        "responses": {
316          "200": {
317            "description": "Successful invocation"
318          },
319          "404": {
320            "description": "Not found"
321          },
322          "403": {
323            "description": "Unauthorized access"
324          },
325          "401": {
326            "description": "Session required"
327          },
328          "400": {
329            "description": "Bad Request"
330          }
331        },
332        "parameters": [{
333          "description": "The UUID of the build",
334          "required": true,
335          "type": "string",
336          "name": "build_uuid",
337          "in": "path"
338        }, {
339          "description": "The full path of the repository. e.g. namespace/name",
340          "required": true,
341          "type": "string",
342          "name": "repository",
343          "in": "path"
344        }],
345        "tags": ["build"],
346        "security": [{
347          "oauth2_implicit": ["repo:read"]
348        }],
349        "operationId": "getRepoBuild",
350        "description": "Returns information about a build."
351      },
352      "x-path": "/api/v1/repository/{repository}/build/{build_uuid}",
353      "x-tag": "build",
354      "delete": {
355        "responses": {
356          "404": {
357            "description": "Not found"
358          },
359          "403": {
360            "description": "Unauthorized access"
361          },
362          "204": {
363            "description": "Deleted"
364          },
365          "401": {
366            "description": "Session required"
367          },
368          "400": {
369            "description": "Bad Request"
370          }
371        },
372        "parameters": [{
373          "description": "The UUID of the build",
374          "required": true,
375          "type": "string",
376          "name": "build_uuid",
377          "in": "path"
378        }, {
379          "description": "The full path of the repository. e.g. namespace/name",
380          "required": true,
381          "type": "string",
382          "name": "repository",
383          "in": "path"
384        }],
385        "tags": ["build"],
386        "security": [{
387          "oauth2_implicit": ["repo:admin"]
388        }],
389        "operationId": "cancelRepoBuild",
390        "description": "Cancels a repository build if it has not yet been picked up by a build worker."
391      }
392    },
393    "/api/v1/repository/{repository}/build/{build_uuid}/logs": {
394      "x-name": "endpoints.api.build.RepositoryBuildLogs",
395      "parameters": [{
396        "description": "The UUID of the build",
397        "required": true,
398        "type": "string",
399        "name": "build_uuid",
400        "in": "path"
401      }, {
402        "description": "The full path of the repository. e.g. namespace/name",
403        "required": true,
404        "type": "string",
405        "name": "repository",
406        "in": "path"
407      }],
408      "x-tag": "build",
409      "x-path": "/api/v1/repository/{repository}/build/{build_uuid}/logs",
410      "get": {
411        "responses": {
412          "200": {
413            "description": "Successful invocation"
414          },
415          "404": {
416            "description": "Not found"
417          },
418          "403": {
419            "description": "Unauthorized access"
420          },
421          "401": {
422            "description": "Session required"
423          },
424          "400": {
425            "description": "Bad Request"
426          }
427        },
428        "parameters": [{
429          "description": "The UUID of the build",
430          "required": true,
431          "type": "string",
432          "name": "build_uuid",
433          "in": "path"
434        }, {
435          "description": "The full path of the repository. e.g. namespace/name",
436          "required": true,
437          "type": "string",
438          "name": "repository",
439          "in": "path"
440        }],
441        "tags": ["build"],
442        "security": [{
443          "oauth2_implicit": ["repo:write"]
444        }],
445        "operationId": "getRepoBuildLogs",
446        "description": "Return the build logs for the build specified by the build uuid."
447      }
448    },
449    "/api/v1/discovery": {
450      "x-name": "endpoints.api.discovery.DiscoveryResource",
451      "x-tag": "discovery",
452      "x-path": "/api/v1/discovery",
453      "get": {
454        "responses": {
455          "200": {
456            "description": "Successful invocation"
457          },
458          "404": {
459            "description": "Not found"
460          },
461          "403": {
462            "description": "Unauthorized access"
463          },
464          "401": {
465            "description": "Session required"
466          },
467          "400": {
468            "description": "Bad Request"
469          }
470        },
471        "tags": ["discovery"],
472        "description": "List all of the API endpoints available in the swagger API format.",
473        "parameters": [{
474          "description": "Whether to include internal APIs.",
475          "required": false,
476          "type": "boolean",
477          "name": "internal",
478          "in": "query"
479        }],
480        "operationId": "discovery"
481      }
482    },
483    "/api/v1/repository/{repository}/image/{image_id}": {
484      "x-name": "endpoints.api.image.RepositoryImage",
485      "parameters": [{
486        "description": "The Docker image ID",
487        "required": true,
488        "type": "string",
489        "name": "image_id",
490        "in": "path"
491      }, {
492        "description": "The full path of the repository. e.g. namespace/name",
493        "required": true,
494        "type": "string",
495        "name": "repository",
496        "in": "path"
497      }],
498      "x-tag": "image",
499      "x-path": "/api/v1/repository/{repository}/image/{image_id}",
500      "get": {
501        "responses": {
502          "200": {
503            "description": "Successful invocation"
504          },
505          "404": {
506            "description": "Not found"
507          },
508          "403": {
509            "description": "Unauthorized access"
510          },
511          "401": {
512            "description": "Session required"
513          },
514          "400": {
515            "description": "Bad Request"
516          }
517        },
518        "parameters": [{
519          "description": "The Docker image ID",
520          "required": true,
521          "type": "string",
522          "name": "image_id",
523          "in": "path"
524        }, {
525          "description": "The full path of the repository. e.g. namespace/name",
526          "required": true,
527          "type": "string",
528          "name": "repository",
529          "in": "path"
530        }],
531        "tags": ["image"],
532        "security": [{
533          "oauth2_implicit": ["repo:read"]
534        }],
535        "operationId": "getImage",
536        "description": "Get the information available for the specified image."
537      }
538    },
539    "/api/v1/repository/{repository}/image/{image_id}/changes": {
540      "x-name": "endpoints.api.image.RepositoryImageChanges",
541      "parameters": [{
542        "description": "The Docker image ID",
543        "required": true,
544        "type": "string",
545        "name": "image_id",
546        "in": "path"
547      }, {
548        "description": "The full path of the repository. e.g. namespace/name",
549        "required": true,
550        "type": "string",
551        "name": "repository",
552        "in": "path"
553      }],
554      "x-tag": "image",
555      "x-path": "/api/v1/repository/{repository}/image/{image_id}/changes",
556      "get": {
557        "responses": {
558          "200": {
559            "description": "Successful invocation"
560          },
561          "404": {
562            "description": "Not found"
563          },
564          "403": {
565            "description": "Unauthorized access"
566          },
567          "401": {
568            "description": "Session required"
569          },
570          "400": {
571            "description": "Bad Request"
572          }
573        },
574        "parameters": [{
575          "description": "The Docker image ID",
576          "required": true,
577          "type": "string",
578          "name": "image_id",
579          "in": "path"
580        }, {
581          "description": "The full path of the repository. e.g. namespace/name",
582          "required": true,
583          "type": "string",
584          "name": "repository",
585          "in": "path"
586        }],
587        "tags": ["image"],
588        "security": [{
589          "oauth2_implicit": ["repo:read"]
590        }],
591        "operationId": "getImageChanges",
592        "description": "Get the list of changes for the specified image."
593      }
594    },
595    "/api/v1/repository/{repository}/image/": {
596      "x-name": "endpoints.api.image.RepositoryImageList",
597      "parameters": [{
598        "description": "The full path of the repository. e.g. namespace/name",
599        "required": true,
600        "type": "string",
601        "name": "repository",
602        "in": "path"
603      }],
604      "x-tag": "image",
605      "x-path": "/api/v1/repository/{repository}/image/",
606      "get": {
607        "responses": {
608          "200": {
609            "description": "Successful invocation"
610          },
611          "404": {
612            "description": "Not found"
613          },
614          "403": {
615            "description": "Unauthorized access"
616          },
617          "401": {
618            "description": "Session required"
619          },
620          "400": {
621            "description": "Bad Request"
622          }
623        },
624        "parameters": [{
625          "description": "The full path of the repository. e.g. namespace/name",
626          "required": true,
627          "type": "string",
628          "name": "repository",
629          "in": "path"
630        }],
631        "tags": ["image"],
632        "security": [{
633          "oauth2_implicit": ["repo:read"]
634        }],
635        "operationId": "listRepositoryImages",
636        "description": "List the images for the specified repository."
637      }
638    },
639    "/api/v1/organization/{orgname}/aggregatelogs": {
640      "x-name": "endpoints.api.logs.OrgAggregateLogs",
641      "parameters": [{
642        "description": "The name of the organization",
643        "required": true,
644        "type": "string",
645        "name": "orgname",
646        "in": "path"
647      }],
648      "x-tag": "logs",
649      "x-path": "/api/v1/organization/{orgname}/aggregatelogs",
650      "get": {
651        "responses": {
652          "200": {
653            "description": "Successful invocation"
654          },
655          "404": {
656            "description": "Not found"
657          },
658          "403": {
659            "description": "Unauthorized access"
660          },
661          "401": {
662            "description": "Session required"
663          },
664          "400": {
665            "description": "Bad Request"
666          }
667        },
668        "parameters": [{
669          "description": "The name of the organization",
670          "required": true,
671          "type": "string",
672          "name": "orgname",
673          "in": "path"
674        }, {
675          "description": "Username for which to filter logs.",
676          "required": false,
677          "type": "string",
678          "name": "performer",
679          "in": "query"
680        }, {
681          "description": "Latest time to which to get logs. (%m/%d/%Y %Z)",
682          "required": false,
683          "type": "string",
684          "name": "endtime",
685          "in": "query"
686        }, {
687          "description": "Earliest time from which to get logs. (%m/%d/%Y %Z)",
688          "required": false,
689          "type": "string",
690          "name": "starttime",
691          "in": "query"
692        }],
693        "tags": ["logs"],
694        "security": [{
695          "oauth2_implicit": ["org:admin"]
696        }],
697        "operationId": "getAggregateOrgLogs",
698        "description": "Gets the aggregated logs for the specified organization."
699      }
700    },
701    "/api/v1/organization/{orgname}/logs": {
702      "x-name": "endpoints.api.logs.OrgLogs",
703      "parameters": [{
704        "description": "The name of the organization",
705        "required": true,
706        "type": "string",
707        "name": "orgname",
708        "in": "path"
709      }],
710      "x-tag": "logs",
711      "x-path": "/api/v1/organization/{orgname}/logs",
712      "get": {
713        "responses": {
714          "200": {
715            "description": "Successful invocation"
716          },
717          "404": {
718            "description": "Not found"
719          },
720          "403": {
721            "description": "Unauthorized access"
722          },
723          "401": {
724            "description": "Session required"
725          },
726          "400": {
727            "description": "Bad Request"
728          }
729        },
730        "parameters": [{
731          "description": "The name of the organization",
732          "required": true,
733          "type": "string",
734          "name": "orgname",
735          "in": "path"
736        }, {
737          "description": "The page number for the logs",
738          "required": false,
739          "type": "integer",
740          "name": "page",
741          "in": "query"
742        }, {
743          "description": "Username for which to filter logs.",
744          "required": false,
745          "type": "string",
746          "name": "performer",
747          "in": "query"
748        }, {
749          "description": "Latest time to which to get logs. (%m/%d/%Y %Z)",
750          "required": false,
751          "type": "string",
752          "name": "endtime",
753          "in": "query"
754        }, {
755          "description": "Earliest time from which to get logs. (%m/%d/%Y %Z)",
756          "required": false,
757          "type": "string",
758          "name": "starttime",
759          "in": "query"
760        }],
761        "tags": ["logs"],
762        "security": [{
763          "oauth2_implicit": ["org:admin"]
764        }],
765        "operationId": "listOrgLogs",
766        "description": "List the logs for the specified organization."
767      }
768    },
769    "/api/v1/repository/{repository}/logs": {
770      "x-name": "endpoints.api.logs.RepositoryLogs",
771      "parameters": [{
772        "description": "The full path of the repository. e.g. namespace/name",
773        "required": true,
774        "type": "string",
775        "name": "repository",
776        "in": "path"
777      }],
778      "x-tag": "logs",
779      "x-path": "/api/v1/repository/{repository}/logs",
780      "get": {
781        "responses": {
782          "200": {
783            "description": "Successful invocation"
784          },
785          "404": {
786            "description": "Not found"
787          },
788          "403": {
789            "description": "Unauthorized access"
790          },
791          "401": {
792            "description": "Session required"
793          },
794          "400": {
795            "description": "Bad Request"
796          }
797        },
798        "parameters": [{
799          "description": "The full path of the repository. e.g. namespace/name",
800          "required": true,
801          "type": "string",
802          "name": "repository",
803          "in": "path"
804        }, {
805          "description": "The page number for the logs",
806          "required": false,
807          "type": "integer",
808          "name": "page",
809          "in": "query"
810        }, {
811          "description": "Latest time to which to get logs (%m/%d/%Y %Z)",
812          "required": false,
813          "type": "string",
814          "name": "endtime",
815          "in": "query"
816        }, {
817          "description": "Earliest time from which to get logs (%m/%d/%Y %Z)",
818          "required": false,
819          "type": "string",
820          "name": "starttime",
821          "in": "query"
822        }],
823        "tags": ["logs"],
824        "security": [{
825          "oauth2_implicit": ["repo:admin"]
826        }],
827        "operationId": "listRepoLogs",
828        "description": "List the logs for the specified repository."
829      }
830    },
831    "/api/v1/repository/{repository}/aggregatelogs": {
832      "x-name": "endpoints.api.logs.RepositoryAggregateLogs",
833      "parameters": [{
834        "description": "The full path of the repository. e.g. namespace/name",
835        "required": true,
836        "type": "string",
837        "name": "repository",
838        "in": "path"
839      }],
840      "x-tag": "logs",
841      "x-path": "/api/v1/repository/{repository}/aggregatelogs",
842      "get": {
843        "responses": {
844          "200": {
845            "description": "Successful invocation"
846          },
847          "404": {
848            "description": "Not found"
849          },
850          "403": {
851            "description": "Unauthorized access"
852          },
853          "401": {
854            "description": "Session required"
855          },
856          "400": {
857            "description": "Bad Request"
858          }
859        },
860        "parameters": [{
861          "description": "The full path of the repository. e.g. namespace/name",
862          "required": true,
863          "type": "string",
864          "name": "repository",
865          "in": "path"
866        }, {
867          "description": "Latest time to which to get logs (%m/%d/%Y %Z)",
868          "required": false,
869          "type": "string",
870          "name": "endtime",
871          "in": "query"
872        }, {
873          "description": "Earliest time from which to get logs (%m/%d/%Y %Z)",
874          "required": false,
875          "type": "string",
876          "name": "starttime",
877          "in": "query"
878        }],
879        "tags": ["logs"],
880        "security": [{
881          "oauth2_implicit": ["repo:admin"]
882        }],
883        "operationId": "getAggregateRepoLogs",
884        "description": "Returns the aggregated logs for the specified repository."
885      }
886    },
887    "/api/v1/organization/{orgname}/members/{membername}": {
888      "x-name": "endpoints.api.organization.OrganizationMember",
889      "parameters": [{
890        "description": "The name of the organization",
891        "required": true,
892        "type": "string",
893        "name": "orgname",
894        "in": "path"
895      }, {
896        "description": "The username of the organization member",
897        "required": true,
898        "type": "string",
899        "name": "membername",
900        "in": "path"
901      }],
902      "get": {
903        "responses": {
904          "200": {
905            "description": "Successful invocation"
906          },
907          "404": {
908            "description": "Not found"
909          },
910          "403": {
911            "description": "Unauthorized access"
912          },
913          "401": {
914            "description": "Session required"
915          },
916          "400": {
917            "description": "Bad Request"
918          }
919        },
920        "parameters": [{
921          "description": "The name of the organization",
922          "required": true,
923          "type": "string",
924          "name": "orgname",
925          "in": "path"
926        }, {
927          "description": "The username of the organization member",
928          "required": true,
929          "type": "string",
930          "name": "membername",
931          "in": "path"
932        }],
933        "tags": ["organization"],
934        "security": [{
935          "oauth2_implicit": ["org:admin"]
936        }],
937        "operationId": "getOrganizationMember",
938        "description": "Retrieves the details of a member of the organization."
939      },
940      "x-path": "/api/v1/organization/{orgname}/members/{membername}",
941      "x-tag": "organization",
942      "delete": {
943        "responses": {
944          "404": {
945            "description": "Not found"
946          },
947          "403": {
948            "description": "Unauthorized access"
949          },
950          "204": {
951            "description": "Deleted"
952          },
953          "401": {
954            "description": "Session required"
955          },
956          "400": {
957            "description": "Bad Request"
958          }
959        },
960        "parameters": [{
961          "description": "The name of the organization",
962          "required": true,
963          "type": "string",
964          "name": "orgname",
965          "in": "path"
966        }, {
967          "description": "The username of the organization member",
968          "required": true,
969          "type": "string",
970          "name": "membername",
971          "in": "path"
972        }],
973        "tags": ["organization"],
974        "security": [{
975          "oauth2_implicit": ["org:admin"]
976        }],
977        "operationId": "removeOrganizationMember",
978        "description": "Removes a member from an organization, revoking all its repository\n        priviledges and removing it from all teams in the organization."
979      }
980    },
981    "/api/v1/organization/{orgname}": {
982      "x-name": "endpoints.api.organization.Organization",
983      "parameters": [{
984        "description": "The name of the organization",
985        "required": true,
986        "type": "string",
987        "name": "orgname",
988        "in": "path"
989      }],
990      "get": {
991        "responses": {
992          "200": {
993            "description": "Successful invocation"
994          },
995          "404": {
996            "description": "Not found"
997          },
998          "403": {
999            "description": "Unauthorized access"
1000          },
1001          "401": {
1002            "description": "Session required"
1003          },
1004          "400": {
1005            "description": "Bad Request"
1006          }
1007        },
1008        "parameters": [{
1009          "description": "The name of the organization",
1010          "required": true,
1011          "type": "string",
1012          "name": "orgname",
1013          "in": "path"
1014        }],
1015        "tags": ["organization"],
1016        "security": [{
1017          "oauth2_implicit": ["org:admin"]
1018        }],
1019        "operationId": "getOrganization",
1020        "description": "Get the details for the specified organization"
1021      },
1022      "x-path": "/api/v1/organization/{orgname}",
1023      "x-tag": "organization",
1024      "put": {
1025        "responses": {
1026          "200": {
1027            "description": "Successful invocation"
1028          },
1029          "404": {
1030            "description": "Not found"
1031          },
1032          "403": {
1033            "description": "Unauthorized access"
1034          },
1035          "401": {
1036            "description": "Session required"
1037          },
1038          "400": {
1039            "description": "Bad Request"
1040          }
1041        },
1042        "parameters": [{
1043          "description": "The name of the organization",
1044          "required": true,
1045          "type": "string",
1046          "name": "orgname",
1047          "in": "path"
1048        }, {
1049          "schema": {
1050            "$ref": "#/definitions/UpdateOrg"
1051          },
1052          "description": "Request body contents.",
1053          "required": true,
1054          "name": "body",
1055          "in": "body"
1056        }],
1057        "tags": ["organization"],
1058        "security": [{
1059          "oauth2_implicit": ["org:admin"]
1060        }],
1061        "operationId": "changeOrganizationDetails",
1062        "description": "Change the details for the specified organization."
1063      }
1064    },
1065    "/api/v1/organization/{orgname}/applications/{client_id}": {
1066      "x-name": "endpoints.api.organization.OrganizationApplicationResource",
1067      "parameters": [{
1068        "description": "The name of the organization",
1069        "required": true,
1070        "type": "string",
1071        "name": "orgname",
1072        "in": "path"
1073      }, {
1074        "description": "The OAuth client ID",
1075        "required": true,
1076        "type": "string",
1077        "name": "client_id",
1078        "in": "path"
1079      }],
1080      "get": {
1081        "responses": {
1082          "200": {
1083            "description": "Successful invocation"
1084          },
1085          "404": {
1086            "description": "Not found"
1087          },
1088          "403": {
1089            "description": "Unauthorized access"
1090          },
1091          "401": {
1092            "description": "Session required"
1093          },
1094          "400": {
1095            "description": "Bad Request"
1096          }
1097        },
1098        "parameters": [{
1099          "description": "The name of the organization",
1100          "required": true,
1101          "type": "string",
1102          "name": "orgname",
1103          "in": "path"
1104        }, {
1105          "description": "The OAuth client ID",
1106          "required": true,
1107          "type": "string",
1108          "name": "client_id",
1109          "in": "path"
1110        }],
1111        "tags": ["organization"],
1112        "security": [{
1113          "oauth2_implicit": ["org:admin"]
1114        }],
1115        "operationId": "getOrganizationApplication",
1116        "description": "Retrieves the application with the specified client_id under the specified organization"
1117      },
1118      "x-path": "/api/v1/organization/{orgname}/applications/{client_id}",
1119      "x-tag": "organization",
1120      "put": {
1121        "responses": {
1122          "200": {
1123            "description": "Successful invocation"
1124          },
1125          "404": {
1126            "description": "Not found"
1127          },
1128          "403": {
1129            "description": "Unauthorized access"
1130          },
1131          "401": {
1132            "description": "Session required"
1133          },
1134          "400": {
1135            "description": "Bad Request"
1136          }
1137        },
1138        "parameters": [{
1139          "description": "The name of the organization",
1140          "required": true,
1141          "type": "string",
1142          "name": "orgname",
1143          "in": "path"
1144        }, {
1145          "description": "The OAuth client ID",
1146          "required": true,
1147          "type": "string",
1148          "name": "client_id",
1149          "in": "path"
1150        }, {
1151          "schema": {
1152            "$ref": "#/definitions/UpdateApp"
1153          },
1154          "description": "Request body contents.",
1155          "required": true,
1156          "name": "body",
1157          "in": "body"
1158        }],
1159        "tags": ["organization"],
1160        "security": [{
1161          "oauth2_implicit": ["org:admin"]
1162        }],
1163        "operationId": "updateOrganizationApplication",
1164        "description": "Updates an application under this organization."
1165      },
1166      "delete": {
1167        "responses": {
1168          "404": {
1169            "description": "Not found"
1170          },
1171          "403": {
1172            "description": "Unauthorized access"
1173          },
1174          "204": {
1175            "description": "Deleted"
1176          },
1177          "401": {
1178            "description": "Session required"
1179          },
1180          "400": {
1181            "description": "Bad Request"
1182          }
1183        },
1184        "parameters": [{
1185          "description": "The name of the organization",
1186          "required": true,
1187          "type": "string",
1188          "name": "orgname",
1189          "in": "path"
1190        }, {
1191          "description": "The OAuth client ID",
1192          "required": true,
1193          "type": "string",
1194          "name": "client_id",
1195          "in": "path"
1196        }],
1197        "tags": ["organization"],
1198        "security": [{
1199          "oauth2_implicit": ["org:admin"]
1200        }],
1201        "operationId": "deleteOrganizationApplication",
1202        "description": "Deletes the application under this organization."
1203      }
1204    },
1205    "/api/v1/organization/{orgname}/applications": {
1206      "x-name": "endpoints.api.organization.OrganizationApplications",
1207      "parameters": [{
1208        "description": "The name of the organization",
1209        "required": true,
1210        "type": "string",
1211        "name": "orgname",
1212        "in": "path"
1213      }],
1214      "get": {
1215        "responses": {
1216          "200": {
1217            "description": "Successful invocation"
1218          },
1219          "404": {
1220            "description": "Not found"
1221          },
1222          "403": {
1223            "description": "Unauthorized access"
1224          },
1225          "401": {
1226            "description": "Session required"
1227          },
1228          "400": {
1229            "description": "Bad Request"
1230          }
1231        },
1232        "parameters": [{
1233          "description": "The name of the organization",
1234          "required": true,
1235          "type": "string",
1236          "name": "orgname",
1237          "in": "path"
1238        }],
1239        "tags": ["organization"],
1240        "security": [{
1241          "oauth2_implicit": ["org:admin"]
1242        }],
1243        "operationId": "getOrganizationApplications",
1244        "description": "List the applications for the specified organization"
1245      },
1246      "x-path": "/api/v1/organization/{orgname}/applications",
1247      "x-tag": "organization",
1248      "post": {
1249        "responses": {
1250          "200": {
1251            "description": "Successful invocation"
1252          },
1253          "404": {
1254            "description": "Not found"
1255          },
1256          "403": {
1257            "description": "Unauthorized access"
1258          },
1259          "401": {
1260            "description": "Session required"
1261          },
1262          "400": {
1263            "description": "Bad Request"
1264          }
1265        },
1266        "parameters": [{
1267          "description": "The name of the organization",
1268          "required": true,
1269          "type": "string",
1270          "name": "orgname",
1271          "in": "path"
1272        }, {
1273          "schema": {
1274            "$ref": "#/definitions/NewApp"
1275          },
1276          "description": "Request body contents.",
1277          "required": true,
1278          "name": "body",
1279          "in": "body"
1280        }],
1281        "tags": ["organization"],
1282        "security": [{
1283          "oauth2_implicit": ["org:admin"]
1284        }],
1285        "operationId": "createOrganizationApplication",
1286        "description": "Creates a new application under this organization."
1287      }
1288    },
1289    "/api/v1/organization/{orgname}/members": {
1290      "x-name": "endpoints.api.organization.OrganizationMemberList",
1291      "parameters": [{
1292        "description": "The name of the organization",
1293        "required": true,
1294        "type": "string",
1295        "name": "orgname",
1296        "in": "path"
1297      }],
1298      "x-tag": "organization",
1299      "x-path": "/api/v1/organization/{orgname}/members",
1300      "get": {
1301        "responses": {
1302          "200": {
1303            "description": "Successful invocation"
1304          },
1305          "404": {
1306            "description": "Not found"
1307          },
1308          "403": {
1309            "description": "Unauthorized access"
1310          },
1311          "401": {
1312            "description": "Session required"
1313          },
1314          "400": {
1315            "description": "Bad Request"
1316          }
1317        },
1318        "parameters": [{
1319          "description": "The name of the organization",
1320          "required": true,
1321          "type": "string",
1322          "name": "orgname",
1323          "in": "path"
1324        }],
1325        "tags": ["organization"],
1326        "security": [{
1327          "oauth2_implicit": ["org:admin"]
1328        }],
1329        "operationId": "getOrganizationMembers",
1330        "description": "List the human members of the specified organization."
1331      }
1332    },
1333    "/api/v1/app/{client_id}": {
1334      "x-name": "endpoints.api.organization.ApplicationInformation",
1335      "parameters": [{
1336        "description": "The OAuth client ID",
1337        "required": true,
1338        "type": "string",
1339        "name": "client_id",
1340        "in": "path"
1341      }],
1342      "x-tag": "organization",
1343      "x-path": "/api/v1/app/{client_id}",
1344      "get": {
1345        "responses": {
1346          "200": {
1347            "description": "Successful invocation"
1348          },
1349          "404": {
1350            "description": "Not found"
1351          },
1352          "403": {
1353            "description": "Unauthorized access"
1354          },
1355          "401": {
1356            "description": "Session required"
1357          },
1358          "400": {
1359            "description": "Bad Request"
1360          }
1361        },
1362        "tags": ["organization"],
1363        "description": "Get information on the specified application.",
1364        "parameters": [{
1365          "description": "The OAuth client ID",
1366          "required": true,
1367          "type": "string",
1368          "name": "client_id",
1369          "in": "path"
1370        }],
1371        "operationId": "getApplicationInformation"
1372      }
1373    },
1374    "/api/v1/repository/{repository}/permissions/team/{teamname}": {
1375      "x-name": "endpoints.api.permission.RepositoryTeamPermission",
1376      "parameters": [{
1377        "description": "The full path of the repository. e.g. namespace/name",
1378        "required": true,
1379        "type": "string",
1380        "name": "repository",
1381        "in": "path"
1382      }, {
1383        "description": "The name of the team to which the permission applies",
1384        "required": true,
1385        "type": "string",
1386        "name": "teamname",
1387        "in": "path"
1388      }],
1389      "get": {
1390        "responses": {
1391          "200": {
1392            "description": "Successful invocation"
1393          },
1394          "404": {
1395            "description": "Not found"
1396          },
1397          "403": {
1398            "description": "Unauthorized access"
1399          },
1400          "401": {
1401            "description": "Session required"
1402          },
1403          "400": {
1404            "description": "Bad Request"
1405          }
1406        },
1407        "parameters": [{
1408          "description": "The name of the team to which the permission applies",
1409          "required": true,
1410          "type": "string",
1411          "name": "teamname",
1412          "in": "path"
1413        }, {
1414          "description": "The full path of the repository. e.g. namespace/name",
1415          "required": true,
1416          "type": "string",
1417          "name": "repository",
1418          "in": "path"
1419        }],
1420        "tags": ["permission"],
1421        "security": [{
1422          "oauth2_implicit": ["repo:admin"]
1423        }],
1424        "operationId": "getTeamPermissions",
1425        "description": "Fetch the permission for the specified team."
1426      },
1427      "x-path": "/api/v1/repository/{repository}/permissions/team/{teamname}",
1428      "x-tag": "permission",
1429      "put": {
1430        "responses": {
1431          "200": {
1432            "description": "Successful invocation"
1433          },
1434          "404": {
1435            "description": "Not found"
1436          },
1437          "403": {
1438            "description": "Unauthorized access"
1439          },
1440          "401": {
1441            "description": "Session required"
1442          },
1443          "400": {
1444            "description": "Bad Request"
1445          }
1446        },
1447        "parameters": [{
1448          "description": "The name of the team to which the permission applies",
1449          "required": true,
1450          "type": "string",
1451          "name": "teamname",
1452          "in": "path"
1453        }, {
1454          "description": "The full path of the repository. e.g. namespace/name",
1455          "required": true,
1456          "type": "string",
1457          "name": "repository",
1458          "in": "path"
1459        }, {
1460          "schema": {
1461            "$ref": "#/definitions/TeamPermission"
1462          },
1463          "description": "Request body contents.",
1464          "required": true,
1465          "name": "body",
1466          "in": "body"
1467        }],
1468        "tags": ["permission"],
1469        "security": [{
1470          "oauth2_implicit": ["repo:admin"]
1471        }],
1472        "operationId": "changeTeamPermissions",
1473        "description": "Update the existing team permission."
1474      },
1475      "delete": {
1476        "responses": {
1477          "404": {
1478            "description": "Not found"
1479          },
1480          "403": {
1481            "description": "Unauthorized access"
1482          },
1483          "204": {
1484            "description": "Deleted"
1485          },
1486          "401": {
1487            "description": "Session required"
1488          },
1489          "400": {
1490            "description": "Bad Request"
1491          }
1492        },
1493        "parameters": [{
1494          "description": "The name of the team to which the permission applies",
1495          "required": true,
1496          "type": "string",
1497          "name": "teamname",
1498          "in": "path"
1499        }, {
1500          "description": "The full path of the repository. e.g. namespace/name",
1501          "required": true,
1502          "type": "string",
1503          "name": "repository",
1504          "in": "path"
1505        }],
1506        "tags": ["permission"],
1507        "security": [{
1508          "oauth2_implicit": ["repo:admin"]
1509        }],
1510        "operationId": "deleteTeamPermissions",
1511        "description": "Delete the permission for the specified team."
1512      }
1513    },
1514    "/api/v1/repository/{repository}/permissions/user/": {
1515      "x-name": "endpoints.api.permission.RepositoryUserPermissionList",
1516      "parameters": [{
1517        "description": "The full path of the repository. e.g. namespace/name",
1518        "required": true,
1519        "type": "string",
1520        "name": "repository",
1521        "in": "path"
1522      }],
1523      "x-tag": "permission",
1524      "x-path": "/api/v1/repository/{repository}/permissions/user/",
1525      "get": {
1526        "responses": {
1527          "200": {
1528            "description": "Successful invocation"
1529          },
1530          "404": {
1531            "description": "Not found"
1532          },
1533          "403": {
1534            "description": "Unauthorized access"
1535          },
1536          "401": {
1537            "description": "Session required"
1538          },
1539          "400": {
1540            "description": "Bad Request"
1541          }
1542        },
1543        "parameters": [{
1544          "description": "The full path of the repository. e.g. namespace/name",
1545          "required": true,
1546          "type": "string",
1547          "name": "repository",
1548          "in": "path"
1549        }],
1550        "tags": ["permission"],
1551        "security": [{
1552          "oauth2_implicit": ["repo:admin"]
1553        }],
1554        "operationId": "listRepoUserPermissions",
1555        "description": "List all user permissions."
1556      }
1557    },
1558    "/api/v1/repository/{repository}/permissions/team/": {
1559      "x-name": "endpoints.api.permission.RepositoryTeamPermissionList",
1560      "parameters": [{
1561        "description": "The full path of the repository. e.g. namespace/name",
1562        "required": true,
1563        "type": "string",
1564        "name": "repository",
1565        "in": "path"
1566      }],
1567      "x-tag": "permission",
1568      "x-path": "/api/v1/repository/{repository}/permissions/team/",
1569      "get": {
1570        "responses": {
1571          "200": {
1572            "description": "Successful invocation"
1573          },
1574          "404": {
1575            "description": "Not found"
1576          },
1577          "403": {
1578            "description": "Unauthorized access"
1579          },
1580          "401": {
1581            "description": "Session required"
1582          },
1583          "400": {
1584            "description": "Bad Request"
1585          }
1586        },
1587        "parameters": [{
1588          "description": "The full path of the repository. e.g. namespace/name",
1589          "required": true,
1590          "type": "string",
1591          "name": "repository",
1592          "in": "path"
1593        }],
1594        "tags": ["permission"],
1595        "security": [{
1596          "oauth2_implicit": ["repo:admin"]
1597        }],
1598        "operationId": "listRepoTeamPermissions",
1599        "description": "List all team permission."
1600      }
1601    },
1602    "/api/v1/repository/{repository}/permissions/user/{username}": {
1603      "x-name": "endpoints.api.permission.RepositoryUserPermission",
1604      "parameters": [{
1605        "description": "The username of the user to which the permission applies",
1606        "required": true,
1607        "type": "string",
1608        "name": "username",
1609        "in": "path"
1610      }, {
1611        "description": "The full path of the repository. e.g. namespace/name",
1612        "required": true,
1613        "type": "string",
1614        "name": "repository",
1615        "in": "path"
1616      }],
1617      "get": {
1618        "responses": {
1619          "200": {
1620            "description": "Successful invocation"
1621          },
1622          "404": {
1623            "description": "Not found"
1624          },
1625          "403": {
1626            "description": "Unauthorized access"
1627          },
1628          "401": {
1629            "description": "Session required"
1630          },
1631          "400": {
1632            "description": "Bad Request"
1633          }
1634        },
1635        "parameters": [{
1636          "description": "The username of the user to which the permission applies",
1637          "required": true,
1638          "type": "string",
1639          "name": "username",
1640          "in": "path"
1641        }, {
1642          "description": "The full path of the repository. e.g. namespace/name",
1643          "required": true,
1644          "type": "string",
1645          "name": "repository",
1646          "in": "path"
1647        }],
1648        "tags": ["permission"],
1649        "security": [{
1650          "oauth2_implicit": ["repo:admin"]
1651        }],
1652        "operationId": "getUserPermissions",
1653        "description": "Get the Fetch the permission for the specified user."
1654      },
1655      "x-path": "/api/v1/repository/{repository}/permissions/user/{username}",
1656      "x-tag": "permission",
1657      "put": {
1658        "responses": {
1659          "200": {
1660            "description": "Successful invocation"
1661          },
1662          "404": {
1663            "description": "Not found"
1664          },
1665          "403": {
1666            "description": "Unauthorized access"
1667          },
1668          "401": {
1669            "description": "Session required"
1670          },
1671          "400": {
1672            "description": "Bad Request"
1673          }
1674        },
1675        "parameters": [{
1676          "description": "The username of the user to which the permission applies",
1677          "required": true,
1678          "type": "string",
1679          "name": "username",
1680          "in": "path"
1681        }, {
1682          "description": "The full path of the repository. e.g. namespace/name",
1683          "required": true,
1684          "type": "string",
1685          "name": "repository",
1686          "in": "path"
1687        }, {
1688          "schema": {
1689            "$ref": "#/definitions/UserPermission"
1690          },
1691          "description": "Request body contents.",
1692          "required": true,
1693          "name": "body",
1694          "in": "body"
1695        }],
1696        "tags": ["permission"],
1697        "security": [{
1698          "oauth2_implicit": ["repo:admin"]
1699        }],
1700        "operationId": "changeUserPermissions",
1701        "description": "Update the perimssions for an existing repository."
1702      },
1703      "delete": {
1704        "responses": {
1705          "404": {
1706            "description": "Not found"
1707          },
1708          "403": {
1709            "description": "Unauthorized access"
1710          },
1711          "204": {
1712            "description": "Deleted"
1713          },
1714          "401": {
1715            "description": "Session required"
1716          },
1717          "400": {
1718            "description": "Bad Request"
1719          }
1720        },
1721        "parameters": [{
1722          "description": "The username of the user to which the permission applies",
1723          "required": true,
1724          "type": "string",
1725          "name": "username",
1726          "in": "path"
1727        }, {
1728          "description": "The full path of the repository. e.g. namespace/name",
1729          "required": true,
1730          "type": "string",
1731          "name": "repository",
1732          "in": "path"
1733        }],
1734        "tags": ["permission"],
1735        "security": [{
1736          "oauth2_implicit": ["repo:admin"]
1737        }],
1738        "operationId": "deleteUserPermissions",
1739        "description": "Delete the permission for the user."
1740      }
1741    },
1742    "/api/v1/repository/{repository}/permissions/user/{username}/transitive": {
1743      "x-name": "endpoints.api.permission.RepositoryUserTransitivePermission",
1744      "parameters": [{
1745        "description": "The username of the user to which the permissions apply",
1746        "required": true,
1747        "type": "string",
1748        "name": "username",
1749        "in": "path"
1750      }, {
1751        "description": "The full path of the repository. e.g. namespace/name",
1752        "required": true,
1753        "type": "string",
1754        "name": "repository",
1755        "in": "path"
1756      }],
1757      "x-tag": "permission",
1758      "x-path": "/api/v1/repository/{repository}/permissions/user/{username}/transitive",
1759      "get": {
1760        "responses": {
1761          "200": {
1762            "description": "Successful invocation"
1763          },
1764          "404": {
1765            "description": "Not found"
1766          },
1767          "403": {
1768            "description": "Unauthorized access"
1769          },
1770          "401": {
1771            "description": "Session required"
1772          },
1773          "400": {
1774            "description": "Bad Request"
1775          }
1776        },
1777        "parameters": [{
1778          "description": "The username of the user to which the permissions apply",
1779          "required": true,
1780          "type": "string",
1781          "name": "username",
1782          "in": "path"
1783        }, {
1784          "description": "The full path of the repository. e.g. namespace/name",
1785          "required": true,
1786          "type": "string",
1787          "name": "repository",
1788          "in": "path"
1789        }],
1790        "tags": ["permission"],
1791        "security": [{
1792          "oauth2_implicit": ["repo:admin"]
1793        }],
1794        "operationId": "getUserTransitivePermission",
1795        "description": "Get the fetch the permission for the specified user."
1796      }
1797    },
1798    "/api/v1/organization/{orgname}/prototypes": {
1799      "x-name": "endpoints.api.prototype.PermissionPrototypeList",
1800      "parameters": [{
1801        "description": "The name of the organization",
1802        "required": true,
1803        "type": "string",
1804        "name": "orgname",
1805        "in": "path"
1806      }],
1807      "get": {
1808        "responses": {
1809          "200": {
1810            "description": "Successful invocation"
1811          },
1812          "404": {
1813            "description": "Not found"
1814          },
1815          "403": {
1816            "description": "Unauthorized access"
1817          },
1818          "401": {
1819            "description": "Session required"
1820          },
1821          "400": {
1822            "description": "Bad Request"
1823          }
1824        },
1825        "parameters": [{
1826          "description": "The name of the organization",
1827          "required": true,
1828          "type": "string",
1829          "name": "orgname",
1830          "in": "path"
1831        }],
1832        "tags": ["prototype"],
1833        "security": [{
1834          "oauth2_implicit": ["org:admin"]
1835        }],
1836        "operationId": "getOrganizationPrototypePermissions",
1837        "description": "List the existing prototypes for this organization."
1838      },
1839      "x-path": "/api/v1/organization/{orgname}/prototypes",
1840      "x-tag": "prototype",
1841      "post": {
1842        "responses": {
1843          "200": {
1844            "description": "Successful invocation"
1845          },
1846          "404": {
1847            "description": "Not found"
1848          },
1849          "403": {
1850            "description": "Unauthorized access"
1851          },
1852          "401": {
1853            "description": "Session required"
1854          },
1855          "400": {
1856            "description": "Bad Request"
1857          }
1858        },
1859        "parameters": [{
1860          "description": "The name of the organization",
1861          "required": true,
1862          "type": "string",
1863          "name": "orgname",
1864          "in": "path"
1865        }, {
1866          "schema": {
1867            "$ref": "#/definitions/NewPrototype"
1868          },
1869          "description": "Request body contents.",
1870          "required": true,
1871          "name": "body",
1872          "in": "body"
1873        }],
1874        "tags": ["prototype"],
1875        "security": [{
1876          "oauth2_implicit": ["org:admin"]
1877        }],
1878        "operationId": "createOrganizationPrototypePermission",
1879        "description": "Create a new permission prototype."
1880      }
1881    },
1882    "/api/v1/organization/{orgname}/prototypes/{prototypeid}": {
1883      "x-name": "endpoints.api.prototype.PermissionPrototype",
1884      "parameters": [{
1885        "description": "The name of the organization",
1886        "required": true,
1887        "type": "string",
1888        "name": "orgname",
1889        "in": "path"
1890      }, {
1891        "description": "The ID of the prototype",
1892        "required": true,
1893        "type": "string",
1894        "name": "prototypeid",
1895        "in": "path"
1896      }],
1897      "x-path": "/api/v1/organization/{orgname}/prototypes/{prototypeid}",
1898      "x-tag": "prototype",
1899      "put": {
1900        "responses": {
1901          "200": {
1902            "description": "Successful invocation"
1903          },
1904          "404": {
1905            "description": "Not found"
1906          },
1907          "403": {
1908            "description": "Unauthorized access"
1909          },
1910          "401": {
1911            "description": "Session required"
1912          },
1913          "400": {
1914            "description": "Bad Request"
1915          }
1916        },
1917        "parameters": [{
1918          "description": "The name of the organization",
1919          "required": true,
1920          "type": "string",
1921          "name": "orgname",
1922          "in": "path"
1923        }, {
1924          "description": "The ID of the prototype",
1925          "required": true,
1926          "type": "string",
1927          "name": "prototypeid",
1928          "in": "path"
1929        }, {
1930          "schema": {
1931            "$ref": "#/definitions/PrototypeUpdate"
1932          },
1933          "description": "Request body contents.",
1934          "required": true,
1935          "name": "body",
1936          "in": "body"
1937        }],
1938        "tags": ["prototype"],
1939        "security": [{
1940          "oauth2_implicit": ["org:admin"]
1941        }],
1942        "operationId": "updateOrganizationPrototypePermission",
1943        "description": "Update the role of an existing permission prototype."
1944      },
1945      "delete": {
1946        "responses": {
1947          "404": {
1948            "description": "Not found"
1949          },
1950          "403": {
1951            "description": "Unauthorized access"
1952          },
1953          "204": {
1954            "description": "Deleted"
1955          },
1956          "401": {
1957            "description": "Session required"
1958          },
1959          "400": {
1960            "description": "Bad Request"
1961          }
1962        },
1963        "parameters": [{
1964          "description": "The name of the organization",
1965          "required": true,
1966          "type": "string",
1967          "name": "orgname",
1968          "in": "path"
1969        }, {
1970          "description": "The ID of the prototype",
1971          "required": true,
1972          "type": "string",
1973          "name": "prototypeid",
1974          "in": "path"
1975        }],
1976        "tags": ["prototype"],
1977        "security": [{
1978          "oauth2_implicit": ["org:admin"]
1979        }],
1980        "operationId": "deleteOrganizationPrototypePermission",
1981        "description": "Delete an existing permission prototype."
1982      }
1983    },
1984    "/api/v1/repository": {
1985      "post": {
1986        "responses": {
1987          "200": {
1988            "description": "Successful invocation"
1989          },
1990          "404": {
1991            "description": "Not found"
1992          },
1993          "403": {
1994            "description": "Unauthorized access"
1995          },
1996          "401": {
1997            "description": "Session required"
1998          },
1999          "400": {
2000            "description": "Bad Request"
2001          }
2002        },
2003        "parameters": [{
2004          "schema": {
2005            "$ref": "#/definitions/NewRepo"
2006          },
2007          "description": "Request body contents.",
2008          "required": true,
2009          "name": "body",
2010          "in": "body"
2011        }],
2012        "tags": ["repository"],
2013        "security": [{
2014          "oauth2_implicit": ["repo:create"]
2015        }],
2016        "operationId": "createRepo",
2017        "description": "Create a new repository."
2018      },
2019      "x-name": "endpoints.api.repository.RepositoryList",
2020      "x-tag": "repository",
2021      "x-path": "/api/v1/repository",
2022      "get": {
2023        "responses": {
2024          "200": {
2025            "description": "Successful invocation"
2026          },
2027          "404": {
2028            "description": "Not found"
2029          },
2030          "403": {
2031            "description": "Unauthorized access"
2032          },
2033          "401": {
2034            "description": "Session required"
2035          },
2036          "400": {
2037            "description": "Bad Request"
2038          }
2039        },
2040        "parameters": [{
2041          "description": "Whether to include the repository's popularity metric.",
2042          "required": false,
2043          "type": "boolean",
2044          "name": "popularity",
2045          "in": "query"
2046        }, {
2047          "description": "Whether to include when the repository was last modified.",
2048          "required": false,
2049          "type": "boolean",
2050          "name": "last_modified",
2051          "in": "query"
2052        }, {
2053          "description": "Adds any repositories visible to the user by virtue of being public",
2054          "required": false,
2055          "type": "boolean",
2056          "name": "public",
2057          "in": "query"
2058        }, {
2059          "description": "Filters the repositories returned to those starred by the user",
2060          "required": false,
2061          "type": "boolean",
2062          "name": "starred",
2063          "in": "query"
2064        }, {
2065          "description": "Filters the repositories returned to this namespace",
2066          "required": false,
2067          "type": "string",
2068          "name": "namespace",
2069          "in": "query"
2070        }, {
2071          "description": "Limit on the number of results (int)",
2072          "required": false,
2073          "type": "integer",
2074          "name": "limit",
2075          "in": "query"
2076        }, {
2077          "description": "Offset page number. (int)",
2078          "required": false,
2079          "type": "integer",
2080          "name": "page",
2081          "in": "query"
2082        }],
2083        "tags": ["repository"],
2084        "security": [{
2085          "oauth2_implicit": ["repo:read"]
2086        }],
2087        "operationId": "listRepos",
2088        "description": "Fetch the list of repositories visible to the current user under a variety of situations."
2089      }
2090    },
2091    "/api/v1/repository/{repository}/changevisibility": {
2092      "post": {
2093        "responses": {
2094          "200": {
2095            "description": "Successful invocation"
2096          },
2097          "404": {
2098            "description": "Not found"
2099          },
2100          "403": {
2101            "description": "Unauthorized access"
2102          },
2103          "401": {
2104            "description": "Session required"
2105          },
2106          "400": {
2107            "description": "Bad Request"
2108          }
2109        },
2110        "parameters": [{
2111          "description": "The full path of the repository. e.g. namespace/name",
2112          "required": true,
2113          "type": "string",
2114          "name": "repository",
2115          "in": "path"
2116        }, {
2117          "schema": {
2118            "$ref": "#/definitions/ChangeVisibility"
2119          },
2120          "description": "Request body contents.",
2121          "required": true,
2122          "name": "body",
2123          "in": "body"
2124        }],
2125        "tags": ["repository"],
2126        "security": [{
2127          "oauth2_implicit": ["repo:admin"]
2128        }],
2129        "operationId": "changeRepoVisibility",
2130        "description": "Change the visibility of a repository."
2131      },
2132      "x-name": "endpoints.api.repository.RepositoryVisibility",
2133      "parameters": [{
2134        "description": "The full path of the repository. e.g. namespace/name",
2135        "required": true,
2136        "type": "string",
2137        "name": "repository",
2138        "in": "path"
2139      }],
2140      "x-tag": "repository",
2141      "x-path": "/api/v1/repository/{repository}/changevisibility"
2142    },
2143    "/api/v1/repository/{repository}": {
2144      "x-name": "endpoints.api.repository.Repository",
2145      "parameters": [{
2146        "description": "The full path of the repository. e.g. namespace/name",
2147        "required": true,
2148        "type": "string",
2149        "name": "repository",
2150        "in": "path"
2151      }],
2152      "get": {
2153        "responses": {
2154          "200": {
2155            "description": "Successful invocation"
2156          },
2157          "404": {
2158            "description": "Not found"
2159          },
2160          "403": {
2161            "description": "Unauthorized access"
2162          },
2163          "401": {
2164            "description": "Session required"
2165          },
2166          "400": {
2167            "description": "Bad Request"
2168          }
2169        },
2170        "parameters": [{
2171          "description": "The full path of the repository. e.g. namespace/name",
2172          "required": true,
2173          "type": "string",
2174          "name": "repository",
2175          "in": "path"
2176        }],
2177        "tags": ["repository"],
2178        "security": [{
2179          "oauth2_implicit": ["repo:read"]
2180        }],
2181        "operationId": "getRepo",
2182        "description": "Fetch the specified repository."
2183      },
2184      "x-path": "/api/v1/repository/{repository}",
2185      "x-tag": "repository",
2186      "put": {
2187        "responses": {
2188          "200": {
2189            "description": "Successful invocation"
2190          },
2191          "404": {
2192            "description": "Not found"
2193          },
2194          "403": {
2195            "description": "Unauthorized access"
2196          },
2197          "401": {
2198            "description": "Session required"
2199          },
2200          "400": {
2201            "description": "Bad Request"
2202          }
2203        },
2204        "parameters": [{
2205          "description": "The full path of the repository. e.g. namespace/name",
2206          "required": true,
2207          "type": "string",
2208          "name": "repository",
2209          "in": "path"
2210        }, {
2211          "schema": {
2212            "$ref": "#/definitions/RepoUpdate"
2213          },
2214          "description": "Request body contents.",
2215          "required": true,
2216          "name": "body",
2217          "in": "body"
2218        }],
2219        "tags": ["repository"],
2220        "security": [{
2221          "oauth2_implicit": ["repo:write"]
2222        }],
2223        "operationId": "updateRepo",
2224        "description": "Update the description in the specified repository."
2225      },
2226      "delete": {
2227        "responses": {
2228          "404": {
2229            "description": "Not found"
2230          },
2231          "403": {
2232            "description": "Unauthorized access"
2233          },
2234          "204": {
2235            "description": "Deleted"
2236          },
2237          "401": {
2238            "description": "Session required"
2239          },
2240          "400": {
2241            "description": "Bad Request"
2242          }
2243        },
2244        "parameters": [{
2245          "description": "The full path of the repository. e.g. namespace/name",
2246          "required": true,
2247          "type": "string",
2248          "name": "repository",
2249          "in": "path"
2250        }],
2251        "tags": ["repository"],
2252        "security": [{
2253          "oauth2_implicit": ["repo:admin"]
2254        }],
2255        "operationId": "deleteRepository",
2256        "description": "Delete a repository."
2257      }
2258    },
2259    "/api/v1/repository/{repository}/notification/": {
2260      "x-name": "endpoints.api.repositorynotification.RepositoryNotificationList",
2261      "parameters": [{
2262        "description": "The full path of the repository. e.g. namespace/name",
2263        "required": true,
2264        "type": "string",
2265        "name": "repository",
2266        "in": "path"
2267      }],
2268      "get": {
2269        "responses": {
2270          "200": {
2271            "description": "Successful invocation"
2272          },
2273          "404": {
2274            "description": "Not found"
2275          },
2276          "403": {
2277            "description": "Unauthorized access"
2278          },
2279          "401": {
2280            "description": "Session required"
2281          },
2282          "400": {
2283            "description": "Bad Request"
2284          }
2285        },
2286        "parameters": [{
2287          "description": "The full path of the repository. e.g. namespace/name",
2288          "required": true,
2289          "type": "string",
2290          "name": "repository",
2291          "in": "path"
2292        }],
2293        "tags": ["repositorynotification"],
2294        "security": [{
2295          "oauth2_implicit": ["repo:admin"]
2296        }],
2297        "operationId": "listRepoNotifications",
2298        "description": "List the notifications for the specified repository."
2299      },
2300      "x-path": "/api/v1/repository/{repository}/notification/",
2301      "x-tag": "repositorynotification",
2302      "post": {
2303        "responses": {
2304          "200": {
2305            "description": "Successful invocation"
2306          },
2307          "404": {
2308            "description": "Not found"
2309          },
2310          "403": {
2311            "description": "Unauthorized access"
2312          },
2313          "401": {
2314            "description": "Session required"
2315          },
2316          "400": {
2317            "description": "Bad Request"
2318          }
2319        },
2320        "parameters": [{
2321          "description": "The full path of the repository. e.g. namespace/name",
2322          "required": true,
2323          "type": "string",
2324          "name": "repository",
2325          "in": "path"
2326        }, {
2327          "schema": {
2328            "$ref": "#/definitions/NotificationCreateRequest"
2329          },
2330          "description": "Request body contents.",
2331          "required": true,
2332          "name": "body",
2333          "in": "body"
2334        }],
2335        "tags": ["repositorynotification"],
2336        "security": [{
2337          "oauth2_implicit": ["repo:admin"]
2338        }],
2339        "operationId": "createRepoNotification",
2340        "description": "Create a new notification for the specified repository."
2341      }
2342    },
2343    "/api/v1/repository/{repository}/notification/{uuid}/test": {
2344      "post": {
2345        "responses": {
2346          "200": {
2347            "description": "Successful invocation"
2348          },
2349          "404": {
2350            "description": "Not found"
2351          },
2352          "403": {
2353            "description": "Unauthorized access"
2354          },
2355          "401": {
2356            "description": "Session required"
2357          },
2358          "400": {
2359            "description": "Bad Request"
2360          }
2361        },
2362        "parameters": [{
2363          "description": "The UUID of the notification",
2364          "required": true,
2365          "type": "string",
2366          "name": "uuid",
2367          "in": "path"
2368        }, {
2369          "description": "The full path of the repository. e.g. namespace/name",
2370          "required": true,
2371          "type": "string",
2372          "name": "repository",
2373          "in": "path"
2374        }],
2375        "tags": ["repositorynotification"],
2376        "security": [{
2377          "oauth2_implicit": ["repo:admin"]
2378        }],
2379        "operationId": "testRepoNotification",
2380        "description": "Queues a test notification for this repository."
2381      },
2382      "x-name": "endpoints.api.repositorynotification.TestRepositoryNotification",
2383      "parameters": [{
2384        "description": "The UUID of the notification",
2385        "required": true,
2386        "type": "string",
2387        "name": "uuid",
2388        "in": "path"
2389      }, {
2390        "description": "The full path of the repository. e.g. namespace/name",
2391        "required": true,
2392        "type": "string",
2393        "name": "repository",
2394        "in": "path"
2395      }],
2396      "x-tag": "repositorynotification",
2397      "x-path": "/api/v1/repository/{repository}/notification/{uuid}/test"
2398    },
2399    "/api/v1/repository/{repository}/notification/{uuid}": {
2400      "x-name": "endpoints.api.repositorynotification.RepositoryNotification",
2401      "parameters": [{
2402        "description": "The UUID of the notification",
2403        "required": true,
2404        "type": "string",
2405        "name": "uuid",
2406        "in": "path"
2407      }, {
2408        "description": "The full path of the repository. e.g. namespace/name",
2409        "required": true,
2410        "type": "string",
2411        "name": "repository",
2412        "in": "path"
2413      }],
2414      "get": {
2415        "responses": {
2416          "200": {
2417            "description": "Successful invocation"
2418          },
2419          "404": {
2420            "description": "Not found"
2421          },
2422          "403": {
2423            "description": "Unauthorized access"
2424          },
2425          "401": {
2426            "description": "Session required"
2427          },
2428          "400": {
2429            "description": "Bad Request"
2430          }
2431        },
2432        "parameters": [{
2433          "description": "The UUID of the notification",
2434          "required": true,
2435          "type": "string",
2436          "name": "uuid",
2437          "in": "path"
2438        }, {
2439          "description": "The full path of the repository. e.g. namespace/name",
2440          "required": true,
2441          "type": "string",
2442          "name": "repository",
2443          "in": "path"
2444        }],
2445        "tags": ["repositorynotification"],
2446        "security": [{
2447          "oauth2_implicit": ["repo:admin"]
2448        }],
2449        "operationId": "getRepoNotification",
2450        "description": "Get information for the specified notification."
2451      },
2452      "x-path": "/api/v1/repository/{repository}/notification/{uuid}",
2453      "x-tag": "repositorynotification",
2454      "delete": {
2455        "responses": {
2456          "404": {
2457            "description": "Not found"
2458          },
2459          "403": {
2460            "description": "Unauthorized access"
2461          },
2462          "204": {
2463            "description": "Deleted"
2464          },
2465          "401": {
2466            "description": "Session required"
2467          },
2468          "400": {
2469            "description": "Bad Request"
2470          }
2471        },
2472        "parameters": [{
2473          "description": "The UUID of the notification",
2474          "required": true,
2475          "type": "string",
2476          "name": "uuid",
2477          "in": "path"
2478        }, {
2479          "description": "The full path of the repository. e.g. namespace/name",
2480          "required": true,
2481          "type": "string",
2482          "name": "repository",
2483          "in": "path"
2484        }],
2485        "tags": ["repositorynotification"],
2486        "security": [{
2487          "oauth2_implicit": ["repo:admin"]
2488        }],
2489        "operationId": "deleteRepoNotification",
2490        "description": "Deletes the specified notification."
2491      }
2492    },
2493    "/api/v1/repository/{repository}/tokens/": {
2494      "x-name": "endpoints.api.repotoken.RepositoryTokenList",
2495      "parameters": [{
2496        "description": "The full path of the repository. e.g. namespace/name",
2497        "required": true,
2498        "type": "string",
2499        "name": "repository",
2500        "in": "path"
2501      }],
2502      "get": {
2503        "responses": {
2504          "200": {
2505            "description": "Successful invocation"
2506          },
2507          "404": {
2508            "description": "Not found"
2509          },
2510          "403": {
2511            "description": "Unauthorized access"
2512          },
2513          "401": {
2514            "description": "Session required"
2515          },
2516          "400": {
2517            "description": "Bad Request"
2518          }
2519        },
2520        "parameters": [{
2521          "description": "The full path of the repository. e.g. namespace/name",
2522          "required": true,
2523          "type": "string",
2524          "name": "repository",
2525          "in": "path"
2526        }],
2527        "tags": ["repotoken"],
2528        "security": [{
2529          "oauth2_implicit": ["repo:admin"]
2530        }],
2531        "operationId": "listRepoTokens",
2532        "description": "List the tokens for the specified repository."
2533      },
2534      "x-path": "/api/v1/repository/{repository}/tokens/",
2535      "x-tag": "repotoken",
2536      "post": {
2537        "responses": {
2538          "200": {
2539            "description": "Successful invocation"
2540          },
2541          "404": {
2542            "description": "Not found"
2543          },
2544          "403": {
2545            "description": "Unauthorized access"
2546          },
2547          "401": {
2548            "description": "Session required"
2549          },
2550          "400": {
2551            "description": "Bad Request"
2552          }
2553        },
2554        "parameters": [{
2555          "description": "The full path of the repository. e.g. namespace/name",
2556          "required": true,
2557          "type": "string",
2558          "name": "repository",
2559          "in": "path"
2560        }, {
2561          "schema": {
2562            "$ref": "#/definitions/NewToken"
2563          },
2564          "description": "Request body contents.",
2565          "required": true,
2566          "name": "body",
2567          "in": "body"
2568        }],
2569        "tags": ["repotoken"],
2570        "security": [{
2571          "oauth2_implicit": ["repo:admin"]
2572        }],
2573        "operationId": "createToken",
2574        "description": "Create a new repository token."
2575      }
2576    },
2577    "/api/v1/repository/{repository}/tokens/{code}": {
2578      "x-name": "endpoints.api.repotoken.RepositoryToken",
2579      "parameters": [{
2580        "description": "The token code",
2581        "required": true,
2582        "type": "string",
2583        "name": "code",
2584        "in": "path"
2585      }, {
2586        "description": "The full path of the repository. e.g. namespace/name",
2587        "required": true,
2588        "type": "string",
2589        "name": "repository",
2590        "in": "path"
2591      }],
2592      "get": {
2593        "responses": {
2594          "200": {
2595            "description": "Successful invocation"
2596          },
2597          "404": {
2598            "description": "Not found"
2599          },
2600          "403": {
2601            "description": "Unauthorized access"
2602          },
2603          "401": {
2604            "description": "Session required"
2605          },
2606          "400": {
2607            "description": "Bad Request"
2608          }
2609        },
2610        "parameters": [{
2611          "description": "The token code",
2612          "required": true,
2613          "type": "string",
2614          "name": "code",
2615          "in": "path"
2616        }, {
2617          "description": "The full path of the repository. e.g. namespace/name",
2618          "required": true,
2619          "type": "string",
2620          "name": "repository",
2621          "in": "path"
2622        }],
2623        "tags": ["repotoken"],
2624        "security": [{
2625          "oauth2_implicit": ["repo:admin"]
2626        }],
2627        "operationId": "getTokens",
2628        "description": "Fetch the specified repository token information."
2629      },
2630      "x-path": "/api/v1/repository/{repository}/tokens/{code}",
2631      "x-tag": "repotoken",
2632      "put": {
2633        "responses": {
2634          "200": {
2635            "description": "Successful invocation"
2636          },
2637          "404": {
2638            "description": "Not found"
2639          },
2640          "403": {
2641            "description": "Unauthorized access"
2642          },
2643          "401": {
2644            "description": "Session required"
2645          },
2646          "400": {
2647            "description": "Bad Request"
2648          }
2649        },
2650        "parameters": [{
2651          "description": "The token code",
2652          "required": true,
2653          "type": "string",
2654          "name": "code",
2655          "in": "path"
2656        }, {
2657          "description": "The full path of the repository. e.g. namespace/name",
2658          "required": true,
2659          "type": "string",
2660          "name": "repository",
2661          "in": "path"
2662        }, {
2663          "schema": {
2664            "$ref": "#/definitions/TokenPermission"
2665          },
2666          "description": "Request body contents.",
2667          "required": true,
2668          "name": "body",
2669          "in": "body"
2670        }],
2671        "tags": ["repotoken"],
2672        "security": [{
2673          "oauth2_implicit": ["repo:admin"]
2674        }],
2675        "operationId": "changeToken",
2676        "description": "Update the permissions for the specified repository token."
2677      },
2678      "delete": {
2679        "responses": {
2680          "404": {
2681            "description": "Not found"
2682          },
2683          "403": {
2684            "description": "Unauthorized access"
2685          },
2686          "204": {
2687            "description": "Deleted"
2688          },
2689          "401": {
2690            "description": "Session required"
2691          },
2692          "400": {
2693            "description": "Bad Request"
2694          }
2695        },
2696        "parameters": [{
2697          "description": "The token code",
2698          "required": true,
2699          "type": "string",
2700          "name": "code",
2701          "in": "path"
2702        }, {
2703          "description": "The full path of the repository. e.g. namespace/name",
2704          "required": true,
2705          "type": "string",
2706          "name": "repository",
2707          "in": "path"
2708        }],
2709        "tags": ["repotoken"],
2710        "security": [{
2711          "oauth2_implicit": ["repo:admin"]
2712        }],
2713        "operationId": "deleteToken",
2714        "description": "Delete the repository token."
2715      }
2716    },
2717    "/api/v1/user/robots/{robot_shortname}": {
2718      "x-name": "endpoints.api.robot.UserRobot",
2719      "parameters": [{
2720        "description": "The short name for the robot, without any user or organization prefix",
2721        "required": true,
2722        "type": "string",
2723        "name": "robot_shortname",
2724        "in": "path"
2725      }],
2726      "get": {
2727        "responses": {
2728          "200": {
2729            "description": "Successful invocation"
2730          },
2731          "404": {
2732            "description": "Not found"
2733          },
2734          "403": {
2735            "description": "Unauthorized access"
2736          },
2737          "401": {
2738            "description": "Session required"
2739          },
2740          "400": {
2741            "description": "Bad Request"
2742          }
2743        },
2744        "tags": ["robot"],
2745        "description": "Returns the user's robot with the specified name.",
2746        "parameters": [{
2747          "description": "The short name for the robot, without any user or organization prefix",
2748          "required": true,
2749          "type": "string",
2750          "name": "robot_shortname",
2751          "in": "path"
2752        }],
2753        "operationId": "getUserRobot"
2754      },
2755      "x-path": "/api/v1/user/robots/{robot_shortname}",
2756      "x-tag": "robot",
2757      "put": {
2758        "responses": {
2759          "200": {
2760            "description": "Successful invocation"
2761          },
2762          "404": {
2763            "description": "Not found"
2764          },
2765          "403": {
2766            "description": "Unauthorized access"
2767          },
2768          "401": {
2769            "description": "Session required"
2770          },
2771          "400": {
2772            "description": "Bad Request"
2773          }
2774        },
2775        "tags": ["robot"],
2776        "description": "Create a new user robot with the specified name.",
2777        "parameters": [{
2778          "description": "The short name for the robot, without any user or organization prefix",
2779          "required": true,
2780          "type": "string",
2781          "name": "robot_shortname",
2782          "in": "path"
2783        }],
2784        "operationId": "createUserRobot"
2785      },
2786      "delete": {
2787        "responses": {
2788          "404": {
2789            "description": "Not found"
2790          },
2791          "403": {
2792            "description": "Unauthorized access"
2793          },
2794          "204": {
2795            "description": "Deleted"
2796          },
2797          "401": {
2798            "description": "Session required"
2799          },
2800          "400": {
2801            "description": "Bad Request"
2802          }
2803        },
2804        "tags": ["robot"],
2805        "description": "Delete an existing robot.",
2806        "parameters": [{
2807          "description": "The short name for the robot, without any user or organization prefix",
2808          "required": true,
2809          "type": "string",
2810          "name": "robot_shortname",
2811          "in": "path"
2812        }],
2813        "operationId": "deleteUserRobot"
2814      }
2815    },
2816    "/api/v1/user/robots": {
2817      "x-name": "endpoints.api.robot.UserRobotList",
2818      "x-tag": "robot",
2819      "x-path": "/api/v1/user/robots",
2820      "get": {
2821        "responses": {
2822          "200": {
2823            "description": "Successful invocation"
2824          },
2825          "404": {
2826            "description": "Not found"
2827          },
2828          "403": {
2829            "description": "Unauthorized access"
2830          },
2831          "401": {
2832            "description": "Session required"
2833          },
2834          "400": {
2835            "description": "Bad Request"
2836          }
2837        },
2838        "tags": ["robot"],
2839        "description": "List the available robots for the user.",
2840        "parameters": [{
2841          "description": "Whether to include repostories and teams in which the robots have permission.",
2842          "required": false,
2843          "type": "boolean",
2844          "name": "permissions",
2845          "in": "query"
2846        }],
2847        "operationId": "getUserRobots"
2848      }
2849    },
2850    "/api/v1/organization/{orgname}/robots/{robot_shortname}/permissions": {
2851      "x-name": "endpoints.api.robot.OrgRobotPermissions",
2852      "parameters": [{
2853        "description": "The name of the organization",
2854        "required": true,
2855        "type": "string",
2856        "name": "orgname",
2857        "in": "path"
2858      }, {
2859        "description": "The short name for the robot, without any user or organization prefix",
2860        "required": true,
2861        "type": "string",
2862        "name": "robot_shortname",
2863        "in": "path"
2864      }],
2865      "x-tag": "robot",
2866      "x-path": "/api/v1/organization/{orgname}/robots/{robot_shortname}/permissions",
2867      "get": {
2868        "responses": {
2869          "200": {
2870            "description": "Successful invocation"
2871          },
2872          "404": {
2873            "description": "Not found"
2874          },
2875          "403": {
2876            "description": "Unauthorized access"
2877          },
2878          "401": {
2879            "description": "Session required"
2880          },
2881          "400": {
2882            "description": "Bad Request"
2883          }
2884        },
2885        "tags": ["robot"],
2886        "description": "Returns the list of repository permissions for the org's robot.",
2887        "parameters": [{
2888          "description": "The name of the organization",
2889          "required": true,
2890          "type": "string",
2891          "name": "orgname",
2892          "in": "path"
2893        }, {
2894          "description": "The short name for the robot, without any user or organization prefix",
2895          "required": true,
2896          "type": "string",
2897          "name": "robot_shortname",
2898          "in": "path"
2899        }],
2900        "operationId": "getOrgRobotPermissions"
2901      }
2902    },
2903    "/api/v1/organization/{orgname}/robots/{robot_shortname}/regenerate": {
2904      "post": {
2905        "responses": {
2906          "200": {
2907            "description": "Successful invocation"
2908          },
2909          "404": {
2910            "description": "Not found"
2911          },
2912          "403": {
2913            "description": "Unauthorized access"
2914          },
2915          "401": {
2916            "description": "Session required"
2917          },
2918          "400": {
2919            "description": "Bad Request"
2920          }
2921        },
2922        "parameters": [{
2923          "description": "The name of the organization",
2924          "required": true,
2925          "type": "string",
2926          "name": "orgname",
2927          "in": "path"
2928        }, {
2929          "description": "The short name for the robot, without any user or organization prefix",
2930          "required": true,
2931          "type": "string",
2932          "name": "robot_shortname",
2933          "in": "path"
2934        }],
2935        "tags": ["robot"],
2936        "security": [{
2937          "oauth2_implicit": ["org:admin"]
2938        }],
2939        "operationId": "regenerateOrgRobotToken",
2940        "description": "Regenerates the token for an organization robot."
2941      },
2942      "x-name": "endpoints.api.robot.RegenerateOrgRobot",
2943      "parameters": [{
2944        "description": "The name of the organization",
2945        "required": true,
2946        "type": "string",
2947        "name": "orgname",
2948        "in": "path"
2949      }, {
2950        "description": "The short name for the robot, without any user or organization prefix",
2951        "required": true,
2952        "type": "string",
2953        "name": "robot_shortname",
2954        "in": "path"
2955      }],
2956      "x-tag": "robot",
2957      "x-path": "/api/v1/organization/{orgname}/robots/{robot_shortname}/regenerate"
2958    },
2959    "/api/v1/organization/{orgname}/robots": {
2960      "x-name": "endpoints.api.robot.OrgRobotList",
2961      "parameters": [{
2962        "description": "The name of the organization",
2963        "required": true,
2964        "type": "string",
2965        "name": "orgname",
2966        "in": "path"
2967      }],
2968      "x-tag": "robot",
2969      "x-path": "/api/v1/organization/{orgname}/robots",
2970      "get": {
2971        "responses": {
2972          "200": {
2973            "description": "Successful invocation"
2974          },
2975          "404": {
2976            "description": "Not found"
2977          },
2978          "403": {
2979            "description": "Unauthorized access"
2980          },
2981          "401": {
2982            "description": "Session required"
2983          },
2984          "400": {
2985            "description": "Bad Request"
2986          }
2987        },
2988        "parameters": [{
2989          "description": "The name of the organization",
2990          "required": true,
2991          "type": "string",
2992          "name": "orgname",
2993          "in": "path"
2994        }, {
2995          "description": "Whether to include repostories and teams in which the robots have permission.",
2996          "required": false,
2997          "type": "boolean",
2998          "name": "permissions",
2999          "in": "query"
3000        }],
3001        "tags": ["robot"],
3002        "security": [{
3003          "oauth2_implicit": ["org:admin"]
3004        }],
3005        "operationId": "getOrgRobots",
3006        "description": "List the organization's robots."
3007      }
3008    },
3009    "/api/v1/user/robots/{robot_shortname}/permissions": {
3010      "x-name": "endpoints.api.robot.UserRobotPermissions",
3011      "parameters": [{
3012        "description": "The short name for the robot, without any user or organization prefix",
3013        "required": true,
3014        "type": "string",
3015        "name": "robot_shortname",
3016        "in": "path"
3017      }],
3018      "x-tag": "robot",
3019      "x-path": "/api/v1/user/robots/{robot_shortname}/permissions",
3020      "get": {
3021        "responses": {
3022          "200": {
3023            "description": "Successful invocation"
3024          },
3025          "404": {
3026            "description": "Not found"
3027          },
3028          "403": {
3029            "description": "Unauthorized access"
3030          },
3031          "401": {
3032            "description": "Session required"
3033          },
3034          "400": {
3035            "description": "Bad Request"
3036          }
3037        },
3038        "tags": ["robot"],
3039        "description": "Returns the list of repository permissions for the user's robot.",
3040        "parameters": [{
3041          "description": "The short name for the robot, without any user or organization prefix",
3042          "required": true,
3043          "type": "string",
3044          "name": "robot_shortname",
3045          "in": "path"
3046        }],
3047        "operationId": "getUserRobotPermissions"
3048      }
3049    },
3050    "/api/v1/user/robots/{robot_shortname}/regenerate": {
3051      "post": {
3052        "responses": {
3053          "200": {
3054            "description": "Successful invocation"
3055          },
3056          "404": {
3057            "description": "Not found"
3058          },
3059          "403": {
3060            "description": "Unauthorized access"
3061          },
3062          "401": {
3063            "description": "Session required"
3064          },
3065          "400": {
3066            "description": "Bad Request"
3067          }
3068        },
3069        "tags": ["robot"],
3070        "description": "Regenerates the token for a user's robot.",
3071        "parameters": [{
3072          "description": "The short name for the robot, without any user or organization prefix",
3073          "required": true,
3074          "type": "string",
3075          "name": "robot_shortname",
3076          "in": "path"
3077        }],
3078        "operationId": "regenerateUserRobotToken"
3079      },
3080      "x-name": "endpoints.api.robot.RegenerateUserRobot",
3081      "parameters": [{
3082        "description": "The short name for the robot, without any user or organization prefix",
3083        "required": true,
3084        "type": "string",
3085        "name": "robot_shortname",
3086        "in": "path"
3087      }],
3088      "x-tag": "robot",
3089      "x-path": "/api/v1/user/robots/{robot_shortname}/regenerate"
3090    },
3091    "/api/v1/organization/{orgname}/robots/{robot_shortname}": {
3092      "x-name": "endpoints.api.robot.OrgRobot",
3093      "parameters": [{
3094        "description": "The name of the organization",
3095        "required": true,
3096        "type": "string",
3097        "name": "orgname",
3098        "in": "path"
3099      }, {
3100        "description": "The short name for the robot, without any user or organization prefix",
3101        "required": true,
3102        "type": "string",
3103        "name": "robot_shortname",
3104        "in": "path"
3105      }],
3106      "get": {
3107        "responses": {
3108          "200": {
3109            "description": "Successful invocation"
3110          },
3111          "404": {
3112            "description": "Not found"
3113          },
3114          "403": {
3115            "description": "Unauthorized access"
3116          },
3117          "401": {
3118            "description": "Session required"
3119          },
3120          "400": {
3121            "description": "Bad Request"
3122          }
3123        },
3124        "parameters": [{
3125          "description": "The name of the organization",
3126          "required": true,
3127          "type": "string",
3128          "name": "orgname",
3129          "in": "path"
3130        }, {
3131          "description": "The short name for the robot, without any user or organization prefix",
3132          "required": true,
3133          "type": "string",
3134          "name": "robot_shortname",
3135          "in": "path"
3136        }],
3137        "tags": ["robot"],
3138        "security": [{
3139          "oauth2_implicit": ["org:admin"]
3140        }],
3141        "operationId": "getOrgRobot",
3142        "description": "Returns the organization's robot with the specified name."
3143      },
3144      "x-path": "/api/v1/organization/{orgname}/robots/{robot_shortname}",
3145      "x-tag": "robot",
3146      "put": {
3147        "responses": {
3148          "200": {
3149            "description": "Successful invocation"
3150          },
3151          "404": {
3152            "description": "Not found"
3153          },
3154          "403": {
3155            "description": "Unauthorized access"
3156          },
3157          "401": {
3158            "description": "Session required"
3159          },
3160          "400": {
3161            "description": "Bad Request"
3162          }
3163        },
3164        "parameters": [{
3165          "description": "The name of the organization",
3166          "required": true,
3167          "type": "string",
3168          "name": "orgname",
3169          "in": "path"
3170        }, {
3171          "description": "The short name for the robot, without any user or organization prefix",
3172          "required": true,
3173          "type": "string",
3174          "name": "robot_shortname",
3175          "in": "path"
3176        }],
3177        "tags": ["robot"],
3178        "security": [{
3179          "oauth2_implicit": ["org:admin"]
3180        }],
3181        "operationId": "createOrgRobot",
3182        "description": "Create a new robot in the organization."
3183      },
3184      "delete": {
3185        "responses": {
3186          "404": {
3187            "description": "Not found"
3188          },
3189          "403": {
3190            "description": "Unauthorized access"
3191          },
3192          "204": {
3193            "description": "Deleted"
3194          },
3195          "401": {
3196            "description": "Session required"
3197          },
3198          "400": {
3199            "description": "Bad Request"
3200          }
3201        },
3202        "parameters": [{
3203          "description": "The name of the organization",
3204          "required": true,
3205          "type": "string",
3206          "name": "orgname",
3207          "in": "path"
3208        }, {
3209          "description": "The short name for the robot, without any user or organization prefix",
3210          "required": true,
3211          "type": "string",
3212          "name": "robot_shortname",
3213          "in": "path"
3214        }],
3215        "tags": ["robot"],
3216        "security": [{
3217          "oauth2_implicit": ["org:admin"]
3218        }],
3219        "operationId": "deleteOrgRobot",
3220        "description": "Delete an existing organization robot."
3221      }
3222    },
3223    "/api/v1/find/all": {
3224      "x-name": "endpoints.api.search.ConductSearch",
3225      "x-tag": "search",
3226      "x-path": "/api/v1/find/all",
3227      "get": {
3228        "responses": {
3229          "200": {
3230            "description": "Successful invocation"
3231          },
3232          "404": {
3233            "description": "Not found"
3234          },
3235          "403": {
3236            "description": "Unauthorized access"
3237          },
3238          "401": {
3239            "description": "Session required"
3240          },
3241          "400": {
3242            "description": "Bad Request"
3243          }
3244        },
3245        "parameters": [{
3246          "description": "The search query.",
3247          "required": false,
3248          "type": "string",
3249          "name": "query",
3250          "in": "query"
3251        }],
3252        "tags": ["search"],
3253        "security": [{
3254          "oauth2_implicit": ["repo:read"]
3255        }],
3256        "operationId": "conductSearch",
3257        "description": "Get a list of entities and resources that match the specified query."
3258      }
3259    },
3260    "/api/v1/entities/{prefix}": {
3261      "x-name": "endpoints.api.search.EntitySearch",
3262      "x-tag": "search",
3263      "x-path": "/api/v1/entities/{prefix}",
3264      "get": {
3265        "responses": {
3266          "200": {
3267            "description": "Successful invocation"
3268          },
3269          "404": {
3270            "description": "Not found"
3271          },
3272          "403": {
3273            "description": "Unauthorized access"
3274          },
3275          "401": {
3276            "description": "Session required"
3277          },
3278          "400": {
3279            "description": "Bad Request"
3280          }
3281        },
3282        "tags": ["search"],
3283        "description": "Get a list of entities that match the specified prefix.",
3284        "parameters": [{
3285          "description": "",
3286          "required": true,
3287          "type": "string",
3288          "name": "prefix",
3289          "in": "path"
3290        }, {
3291          "description": "Whether to include orgs names.",
3292          "required": false,
3293          "type": "boolean",
3294          "name": "includeOrgs",
3295          "in": "query"
3296        }, {
3297          "description": "Whether to include team names.",
3298          "required": false,
3299          "type": "boolean",
3300          "name": "includeTeams",
3301          "in": "query"
3302        }, {
3303          "description": "Namespace to use when querying for org entities.",
3304          "required": false,
3305          "type": "string",
3306          "name": "namespace",
3307          "in": "query"
3308        }],
3309        "operationId": "getMatchingEntities"
3310      }
3311    },
3312    "/api/v1/repository/{repository}/image/{imageid}/packages": {
3313      "x-name": "endpoints.api.secscan.RepositoryImagePackages",
3314      "parameters": [{
3315        "description": "The full path of the repository. e.g. namespace/name",
3316        "required": true,
3317        "type": "string",
3318        "name": "repository",
3319        "in": "path"
3320      }, {
3321        "description": "The image ID",
3322        "required": true,
3323        "type": "string",
3324        "name": "imageid",
3325        "in": "path"
3326      }],
3327      "x-tag": "secscan",
3328      "x-path": "/api/v1/repository/{repository}/image/{imageid}/packages",
3329      "get": {
3330        "responses": {
3331          "200": {
3332            "description": "Successful invocation"
3333          },
3334          "404": {
3335            "description": "Not found"
3336          },
3337          "403": {
3338            "description": "Unauthorized access"
3339          },
3340          "401": {
3341            "description": "Session required"
3342          },
3343          "400": {
3344            "description": "Bad Request"
3345          }
3346        },
3347        "parameters": [{
3348          "description": "The full path of the repository. e.g. namespace/name",
3349          "required": true,
3350          "type": "string",
3351          "name": "repository",
3352          "in": "path"
3353        }, {
3354          "description": "The image ID",
3355          "required": true,
3356          "type": "string",
3357          "name": "imageid",
3358          "in": "path"
3359        }],
3360        "tags": ["secscan"],
3361        "security": [{
3362          "oauth2_implicit": ["repo:read"]
3363        }],
3364        "operationId": "getRepoImagePackages",
3365        "description": "Fetches the packages added/removed in the given repo image."
3366      }
3367    },
3368    "/api/v1/repository/{repository}/tag/{tag}/vulnerabilities": {
3369      "x-name": "endpoints.api.secscan.RepositoryTagVulnerabilities",
3370      "parameters": [{
3371        "description": "The name of the tag",
3372        "required": true,
3373        "type": "string",
3374        "name": "tag",
3375        "in": "path"
3376      }, {
3377        "description": "The full path of the repository. e.g. namespace/name",
3378        "required": true,
3379        "type": "string",
3380        "name": "repository",
3381        "in": "path"
3382      }],
3383      "x-tag": "secscan",
3384      "x-path": "/api/v1/repository/{repository}/tag/{tag}/vulnerabilities",
3385      "get": {
3386        "responses": {
3387          "200": {
3388            "description": "Successful invocation"
3389          },
3390          "404": {
3391            "description": "Not found"
3392          },
3393          "403": {
3394            "description": "Unauthorized access"
3395          },
3396          "401": {
3397            "description": "Session required"
3398          },
3399          "400": {
3400            "description": "Bad Request"
3401          }
3402        },
3403        "parameters": [{
3404          "description": "The name of the tag",
3405          "required": true,
3406          "type": "string",
3407          "name": "tag",
3408          "in": "path"
3409        }, {
3410          "description": "The full path of the repository. e.g. namespace/name",
3411          "required": true,
3412          "type": "string",
3413          "name": "repository",
3414          "in": "path"
3415        }, {
3416          "description": "Minimum vulnerability priority",
3417          "required": false,
3418          "type": "string",
3419          "name": "minimumPriority",
3420          "in": "query"
3421        }],
3422        "tags": ["secscan"],
3423        "security": [{
3424          "oauth2_implicit": ["repo:read"]
3425        }],
3426        "operationId": "getRepoTagVulnerabilities",
3427        "description": "Fetches the vulnerabilities (if any) for a repository tag."
3428      }
3429    },
3430    "/api/v1/repository/{repository}/tag/{tag}/revert": {
3431      "post": {
3432        "responses": {
3433          "200": {
3434            "description": "Successful invocation"
3435          },
3436          "404": {
3437            "description": "Not found"
3438          },
3439          "403": {
3440            "description": "Unauthorized access"
3441          },
3442          "401": {
3443            "description": "Session required"
3444          },
3445          "400": {
3446            "description": "Bad Request"
3447          }
3448        },
3449        "parameters": [{
3450          "description": "The name of the tag",
3451          "required": true,
3452          "type": "string",
3453          "name": "tag",
3454          "in": "path"
3455        }, {
3456          "description": "The full path of the repository. e.g. namespace/name",
3457          "required": true,
3458          "type": "string",
3459          "name": "repository",
3460          "in": "path"
3461        }, {
3462          "schema": {
3463            "$ref": "#/definitions/RevertTag"
3464          },
3465          "description": "Request body contents.",
3466          "required": true,
3467          "name": "body",
3468          "in": "body"
3469        }],
3470        "tags": ["tag"],
3471        "security": [{
3472          "oauth2_implicit": ["repo:write"]
3473        }],
3474        "operationId": "revertTag",
3475        "description": "Reverts a repository tag back to a previous image in the repository."
3476      },
3477      "x-name": "endpoints.api.tag.RevertTag",
3478      "parameters": [{
3479        "description": "The name of the tag",
3480        "required": true,
3481        "type": "string",
3482        "name": "tag",
3483        "in": "path"
3484      }, {
3485        "description": "The full path of the repository. e.g. namespace/name",
3486        "required": true,
3487        "type": "string",
3488        "name": "repository",
3489        "in": "path"
3490      }],
3491      "x-tag": "tag",
3492      "x-path": "/api/v1/repository/{repository}/tag/{tag}/revert"
3493    },
3494    "/api/v1/repository/{repository}/tag/{tag}/images": {
3495      "x-name": "endpoints.api.tag.RepositoryTagImages",
3496      "parameters": [{
3497        "description": "The name of the tag",
3498        "required": true,
3499        "type": "string",
3500        "name": "tag",
3501        "in": "path"
3502      }, {
3503        "description": "The full path of the repository. e.g. namespace/name",
3504        "required": true,
3505        "type": "string",
3506        "name": "repository",
3507        "in": "path"
3508      }],
3509      "x-tag": "tag",
3510      "x-path": "/api/v1/repository/{repository}/tag/{tag}/images",
3511      "get": {
3512        "responses": {
3513          "200": {
3514            "description": "Successful invocation"
3515          },
3516          "404": {
3517            "description": "Not found"
3518          },
3519          "403": {
3520            "description": "Unauthorized access"
3521          },
3522          "401": {
3523            "description": "Session required"
3524          },
3525          "400": {
3526            "description": "Bad Request"
3527          }
3528        },
3529        "parameters": [{
3530          "description": "The name of the tag",
3531          "required": true,
3532          "type": "string",
3533          "name": "tag",
3534          "in": "path"
3535        }, {
3536          "description": "The full path of the repository. e.g. namespace/name",
3537          "required": true,
3538          "type": "string",
3539          "name": "repository",
3540          "in": "path"
3541        }, {
3542          "description": "If specified, only images wholely owned by this tag are returned.",
3543          "required": false,
3544          "type": "boolean",
3545          "name": "owned",
3546          "in": "query"
3547        }],
3548        "tags": ["tag"],
3549        "security": [{
3550          "oauth2_implicit": ["repo:read"]
3551        }],
3552        "operationId": "listTagImages",
3553        "description": "List the images for the specified repository tag."
3554      }
3555    },
3556    "/api/v1/repository/{repository}/tag/{tag}": {
3557      "x-name": "endpoints.api.tag.RepositoryTag",
3558      "parameters": [{
3559        "description": "The name of the tag",
3560        "required": true,
3561        "type": "string",
3562        "name": "tag",
3563        "in": "path"
3564      }, {
3565        "description": "The full path of the repository. e.g. namespace/name",
3566        "required": true,
3567        "type": "string",
3568        "name": "repository",
3569        "in": "path"
3570      }],
3571      "x-path": "/api/v1/repository/{repository}/tag/{tag}",
3572      "x-tag": "tag",
3573      "put": {
3574        "responses": {
3575          "200": {
3576            "description": "Successful invocation"
3577          },
3578          "404": {
3579            "description": "Not found"
3580          },
3581          "403": {
3582            "description": "Unauthorized access"
3583          },
3584          "401": {
3585            "description": "Session required"
3586          },
3587          "400": {
3588            "description": "Bad Request"
3589          }
3590        },
3591        "parameters": [{
3592          "description": "The name of the tag",
3593          "required": true,
3594          "type": "string",
3595          "name": "tag",
3596          "in": "path"
3597        }, {
3598          "description": "The full path of the repository. e.g. namespace/name",
3599          "required": true,
3600          "type": "string",
3601          "name": "repository",
3602          "in": "path"
3603        }, {
3604          "schema": {
3605            "$ref": "#/definitions/MoveTag"
3606          },
3607          "description": "Request body contents.",
3608          "required": true,
3609          "name": "body",
3610          "in": "body"
3611        }],
3612        "tags": ["tag"],
3613        "security": [{
3614          "oauth2_implicit": ["repo:write"]
3615        }],
3616        "operationId": "changeTagImage",
3617        "description": "Change which image a tag points to or create a new tag."
3618      },
3619      "delete": {
3620        "responses": {
3621          "404": {
3622            "description": "Not found"
3623          },
3624          "403": {
3625            "description": "Unauthorized access"
3626          },
3627          "204": {
3628            "description": "Deleted"
3629          },
3630          "401": {
3631            "description": "Session required"
3632          },
3633          "400": {
3634            "description": "Bad Request"
3635          }
3636        },
3637        "parameters": [{
3638          "description": "The name of the tag",
3639          "required": true,
3640          "type": "string",
3641          "name": "tag",
3642          "in": "path"
3643        }, {
3644          "description": "The full path of the repository. e.g. namespace/name",
3645          "required": true,
3646          "type": "string",
3647          "name": "repository",
3648          "in": "path"
3649        }],
3650        "tags": ["tag"],
3651        "security": [{
3652          "oauth2_implicit": ["repo:write"]
3653        }],
3654        "operationId": "deleteFullTag",
3655        "description": "Delete the specified repository tag."
3656      }
3657    },
3658    "/api/v1/repository/{repository}/tag/": {
3659      "x-name": "endpoints.api.tag.ListRepositoryTags",
3660      "parameters": [{
3661        "description": "The full path of the repository. e.g. namespace/name",
3662        "required": true,
3663        "type": "string",
3664        "name": "repository",
3665        "in": "path"
3666      }],
3667      "x-tag": "tag",
3668      "x-path": "/api/v1/repository/{repository}/tag/",
3669      "get": {
3670        "responses": {
3671          "200": {
3672            "description": "Successful invocation"
3673          },
3674          "404": {
3675            "description": "Not found"
3676          },
3677          "403": {
3678            "description": "Unauthorized access"
3679          },
3680          "401": {
3681            "description": "Session required"
3682          },
3683          "400": {
3684            "description": "Bad Request"
3685          }
3686        },
3687        "parameters": [{
3688          "description": "The full path of the repository. e.g. namespace/name",
3689          "required": true,
3690          "type": "string",
3691          "name": "repository",
3692          "in": "path"
3693        }, {
3694          "description": "Page index for the results. Default 1.",
3695          "required": false,
3696          "type": "integer",
3697          "name": "page",
3698          "in": "query"
3699        }, {
3700          "description": "Limit to the number of results to return per page. Max 100.",
3701          "required": false,
3702          "type": "integer",
3703          "name": "limit",
3704          "in": "query"
3705        }, {
3706          "description": "Filters the tags to the specific tag.",
3707          "required": false,
3708          "type": "string",
3709          "name": "specificTag",
3710          "in": "query"
3711        }],
3712        "tags": ["tag"],
3713        "security": [{
3714          "oauth2_implicit": ["repo:read"]
3715        }],
3716        "operationId": "listRepoTags",
3717        "description": ""
3718      }
3719    },
3720    "/api/v1/organization/{orgname}/team/{teamname}/members": {
3721      "x-name": "endpoints.api.team.TeamMemberList",
3722      "parameters": [{
3723        "description": "The name of the organization",
3724        "required": true,
3725        "type": "string",
3726        "name": "orgname",
3727        "in": "path"
3728      }, {
3729        "description": "The name of the team",
3730        "required": true,
3731        "type": "string",
3732        "name": "teamname",
3733        "in": "path"
3734      }],
3735      "x-tag": "team",
3736      "x-path": "/api/v1/organization/{orgname}/team/{teamname}/members",
3737      "get": {
3738        "responses": {
3739          "200": {
3740            "description": "Successful invocation"
3741          },
3742          "404": {
3743            "description": "Not found"
3744          },
3745          "403": {
3746            "description": "Unauthorized access"
3747          },
3748          "401": {
3749            "description": "Session required"
3750          },
3751          "400": {
3752            "description": "Bad Request"
3753          }
3754        },
3755        "parameters": [{
3756          "description": "The name of the organization",
3757          "required": true,
3758          "type": "string",
3759          "name": "orgname",
3760          "in": "path"
3761        }, {
3762          "description": "The name of the team",
3763          "required": true,
3764          "type": "string",
3765          "name": "teamname",
3766          "in": "path"
3767        }, {
3768          "description": "Whether to include pending members",
3769          "required": false,
3770          "type": "boolean",
3771          "name": "includePending",
3772          "in": "query"
3773        }],
3774        "tags": ["team"],
3775        "security": [{
3776          "oauth2_implicit": ["org:admin"]
3777        }],
3778        "operationId": "getOrganizationTeamMembers",
3779        "description": "Retrieve the list of members for the specified team."
3780      }
3781    },
3782    "/api/v1/organization/{orgname}/team/{teamname}/invite/{email}": {
3783      "put": {
3784        "responses": {
3785          "200": {
3786            "description": "Successful invocation"
3787          },
3788          "404": {
3789            "description": "Not found"
3790          },
3791          "403": {
3792            "description": "Unauthorized access"
3793          },
3794          "401": {
3795            "description": "Session required"
3796          },
3797          "400": {
3798            "description": "Bad Request"
3799          }
3800        },
3801        "parameters": [{
3802          "description": "",
3803          "required": true,
3804          "type": "string",
3805          "name": "orgname",
3806          "in": "path"
3807        }, {
3808          "description": "",
3809          "required": true,
3810          "type": "string",
3811          "name": "email",
3812          "in": "path"
3813        }, {
3814          "description": "",
3815          "required": true,
3816          "type": "string",
3817          "name": "teamname",
3818          "in": "path"
3819        }],
3820        "tags": ["team"],
3821        "security": [{
3822          "oauth2_implicit": ["org:admin"]
3823        }],
3824        "operationId": "inviteTeamMemberEmail",
3825        "description": "Invites an email address to an existing team."
3826      },
3827      "x-name": "endpoints.api.team.InviteTeamMember",
3828      "x-tag": "team",
3829      "x-path": "/api/v1/organization/{orgname}/team/{teamname}/invite/{email}",
3830      "delete": {
3831        "responses": {
3832          "404": {
3833            "description": "Not found"
3834          },
3835          "403": {
3836            "description": "Unauthorized access"
3837          },
3838          "204": {
3839            "description": "Deleted"
3840          },
3841          "401": {
3842            "description": "Session required"
3843          },
3844          "400": {
3845            "description": "Bad Request"
3846          }
3847        },
3848        "parameters": [{
3849          "description": "",
3850          "required": true,
3851          "type": "string",
3852          "name": "orgname",
3853          "in": "path"
3854        }, {
3855          "description": "",
3856          "required": true,
3857          "type": "string",
3858          "name": "email",
3859          "in": "path"
3860        }, {
3861          "description": "",
3862          "required": true,
3863          "type": "string",
3864          "name": "teamname",
3865          "in": "path"
3866        }],
3867        "tags": ["team"],
3868        "security": [{
3869          "oauth2_implicit": ["org:admin"]
3870        }],
3871        "operationId": "deleteTeamMemberEmailInvite",
3872        "description": "Delete an invite of an email address to join a team."
3873      }
3874    },
3875    "/api/v1/organization/{orgname}/team/{teamname}": {
3876      "x-name": "endpoints.api.team.OrganizationTeam",
3877      "parameters": [{
3878        "description": "The name of the organization",
3879        "required": true,
3880        "type": "string",
3881        "name": "orgname",
3882        "in": "path"
3883      }, {
3884        "description": "The name of the team",
3885        "required": true,
3886        "type": "string",
3887        "name": "teamname",
3888        "in": "path"
3889      }],
3890      "x-path": "/api/v1/organization/{orgname}/team/{teamname}",
3891      "x-tag": "team",
3892      "put": {
3893        "responses": {
3894          "200": {
3895            "description": "Successful invocation"
3896          },
3897          "404": {
3898            "description": "Not found"
3899          },
3900          "403": {
3901            "description": "Unauthorized access"
3902          },
3903          "401": {
3904            "description": "Session required"
3905          },
3906          "400": {
3907            "description": "Bad Request"
3908          }
3909        },
3910        "parameters": [{
3911          "description": "The name of the organization",
3912          "required": true,
3913          "type": "string",
3914          "name": "orgname",
3915          "in": "path"
3916        }, {
3917          "description": "The name of the team",
3918          "required": true,
3919          "type": "string",
3920          "name": "teamname",
3921          "in": "path"
3922        }, {
3923          "schema": {
3924            "$ref": "#/definitions/TeamDescription"
3925          },
3926          "description": "Request body contents.",
3927          "required": true,
3928          "name": "body",
3929          "in": "body"
3930        }],
3931        "tags": ["team"],
3932        "security": [{
3933          "oauth2_implicit": ["org:admin"]
3934        }],
3935        "operationId": "updateOrganizationTeam",
3936        "description": "Update the org-wide permission for the specified team."
3937      },
3938      "delete": {
3939        "responses": {
3940          "404": {
3941            "description": "Not found"
3942          },
3943          "403": {
3944            "description": "Unauthorized access"
3945          },
3946          "204": {
3947            "description": "Deleted"
3948          },
3949          "401": {
3950            "description": "Session required"
3951          },
3952          "400": {
3953            "description": "Bad Request"
3954          }
3955        },
3956        "parameters": [{
3957          "description": "The name of the organization",
3958          "required": true,
3959          "type": "string",
3960          "name": "orgname",
3961          "in": "path"
3962        }, {
3963          "description": "The name of the team",
3964          "required": true,
3965          "type": "string",
3966          "name": "teamname",
3967          "in": "path"
3968        }],
3969        "tags": ["team"],
3970        "security": [{
3971          "oauth2_implicit": ["org:admin"]
3972        }],
3973        "operationId": "deleteOrganizationTeam",
3974        "description": "Delete the specified team."
3975      }
3976    },
3977    "/api/v1/organization/{orgname}/team/{teamname}/members/{membername}": {
3978      "x-name": "endpoints.api.team.TeamMember",
3979      "parameters": [{
3980        "description": "The name of the organization",
3981        "required": true,
3982        "type": "string",
3983        "name": "orgname",
3984        "in": "path"
3985      }, {
3986        "description": "The username of the team member",
3987        "required": true,
3988        "type": "string",
3989        "name": "membername",
3990        "in": "path"
3991      }, {
3992        "description": "The name of the team",
3993        "required": true,
3994        "type": "string",
3995        "name": "teamname",
3996        "in": "path"
3997      }],
3998      "x-path": "/api/v1/organization/{orgname}/team/{teamname}/members/{membername}",
3999      "x-tag": "team",
4000      "put": {
4001        "responses": {
4002          "200": {
4003            "description": "Successful invocation"
4004          },
4005          "404": {
4006            "description": "Not found"
4007          },
4008          "403": {
4009            "description": "Unauthorized access"
4010          },
4011          "401": {
4012            "description": "Session required"
4013          },
4014          "400": {
4015            "description": "Bad Request"
4016          }
4017        },
4018        "parameters": [{
4019          "description": "The name of the organization",
4020          "required": true,
4021          "type": "string",
4022          "name": "orgname",
4023          "in": "path"
4024        }, {
4025          "description": "The username of the team member",
4026          "required": true,
4027          "type": "string",
4028          "name": "membername",
4029          "in": "path"
4030        }, {
4031          "description": "The name of the team",
4032          "required": true,
4033          "type": "string",
4034          "name": "teamname",
4035          "in": "path"
4036        }],
4037        "tags": ["team"],
4038        "security": [{
4039          "oauth2_implicit": ["org:admin"]
4040        }],
4041        "operationId": "updateOrganizationTeamMember",
4042        "description": "Adds or invites a member to an existing team."
4043      },
4044      "delete": {
4045        "responses": {
4046          "404": {
4047            "description": "Not found"
4048          },
4049          "403": {
4050            "description": "Unauthorized access"
4051          },
4052          "204": {
4053            "description": "Deleted"
4054          },
4055          "401": {
4056            "description": "Session required"
4057          },
4058          "400": {
4059            "description": "Bad Request"
4060          }
4061        },
4062        "parameters": [{
4063          "description": "The name of the organization",
4064          "required": true,
4065          "type": "string",
4066          "name": "orgname",
4067          "in": "path"
4068        }, {
4069          "description": "The username of the team member",
4070          "required": true,
4071          "type": "string",
4072          "name": "membername",
4073          "in": "path"
4074        }, {
4075          "description": "The name of the team",
4076          "required": true,
4077          "type": "string",
4078          "name": "teamname",
4079          "in": "path"
4080        }],
4081        "tags": ["team"],
4082        "security": [{
4083          "oauth2_implicit": ["org:admin"]
4084        }],
4085        "operationId": "deleteOrganizationTeamMember",
4086        "description": "Delete a member of a team. If the user is merely invited to join\n        the team, then the invite is removed instead."
4087      }
4088    },
4089    "/api/v1/repository/{repository}/trigger/": {
4090      "x-name": "endpoints.api.trigger.BuildTriggerList",
4091      "parameters": [{
4092        "description": "The full path of the repository. e.g. namespace/name",
4093        "required": true,
4094        "type": "string",
4095        "name": "repository",
4096        "in": "path"
4097      }],
4098      "x-tag": "trigger",
4099      "x-path": "/api/v1/repository/{repository}/trigger/",
4100      "get": {
4101        "responses": {
4102          "200": {
4103            "description": "Successful invocation"
4104          },
4105          "404": {
4106            "description": "Not found"
4107          },
4108          "403": {
4109            "description": "Unauthorized access"
4110          },
4111          "401": {
4112            "description": "Session required"
4113          },
4114          "400": {
4115            "description": "Bad Request"
4116          }
4117        },
4118        "parameters": [{
4119          "description": "The full path of the repository. e.g. namespace/name",
4120          "required": true,
4121          "type": "string",
4122          "name": "repository",
4123          "in": "path"
4124        }],
4125        "tags": ["trigger"],
4126        "security": [{
4127          "oauth2_implicit": ["repo:admin"]
4128        }],
4129        "operationId": "listBuildTriggers",
4130        "description": "List the triggers for the specified repository."
4131      }
4132    },
4133    "/api/v1/repository/{repository}/trigger/{trigger_uuid}/activate": {
4134      "post": {
4135        "responses": {
4136          "200": {
4137            "description": "Successful invocation"
4138          },
4139          "404": {
4140            "description": "Not found"
4141          },
4142          "403": {
4143            "description": "Unauthorized access"
4144          },
4145          "401": {
4146            "description": "Session required"
4147          },
4148          "400": {
4149            "description": "Bad Request"
4150          }
4151        },
4152        "parameters": [{
4153          "description": "The UUID of the build trigger",
4154          "required": true,
4155          "type": "string",
4156          "name": "trigger_uuid",
4157          "in": "path"
4158        }, {
4159          "description": "The full path of the repository. e.g. namespace/name",
4160          "required": true,
4161          "type": "string",
4162          "name": "repository",
4163          "in": "path"
4164        }, {
4165          "schema": {
4166            "$ref": "#/definitions/BuildTriggerActivateRequest"
4167          },
4168          "description": "Request body contents.",
4169          "required": true,
4170          "name": "body",
4171          "in": "body"
4172        }],
4173        "tags": ["trigger"],
4174        "security": [{
4175          "oauth2_implicit": ["repo:admin"]
4176        }],
4177        "operationId": "activateBuildTrigger",
4178        "description": "Activate the specified build trigger."
4179      },
4180      "x-name": "endpoints.api.trigger.BuildTriggerActivate",
4181      "parameters": [{
4182        "description": "The full path of the repository. e.g. namespace/name",
4183        "required": true,
4184        "type": "string",
4185        "name": "repository",
4186        "in": "path"
4187      }, {
4188        "description": "The UUID of the build trigger",
4189        "required": true,
4190        "type": "string",
4191        "name": "trigger_uuid",
4192        "in": "path"
4193      }],
4194      "x-tag": "trigger",
4195      "x-path": "/api/v1/repository/{repository}/trigger/{trigger_uuid}/activate"
4196    },
4197    "/api/v1/repository/{repository}/trigger/{trigger_uuid}/start": {
4198      "post": {
4199        "responses": {
4200          "200": {
4201            "description": "Successful invocation"
4202          },
4203          "404": {
4204            "description": "Not found"
4205          },
4206          "403": {
4207            "description": "Unauthorized access"
4208          },
4209          "401": {
4210            "description": "Session required"
4211          },
4212          "400": {
4213            "description": "Bad Request"
4214          }
4215        },
4216        "parameters": [{
4217          "description": "The UUID of the build trigger",
4218          "required": true,
4219          "type": "string",
4220          "name": "trigger_uuid",
4221          "in": "path"
4222        }, {
4223          "description": "The full path of the repository. e.g. namespace/name",
4224          "required": true,
4225          "type": "string",
4226          "name": "repository",
4227          "in": "path"
4228        }, {
4229          "schema": {
4230            "$ref": "#/definitions/RunParameters"
4231          },
4232          "description": "Request body contents.",
4233          "required": true,
4234          "name": "body",
4235          "in": "body"
4236        }],
4237        "tags": ["trigger"],
4238        "security": [{
4239          "oauth2_implicit": ["repo:admin"]
4240        }],
4241        "operationId": "manuallyStartBuildTrigger",
4242        "description": "Manually start a build from the specified trigger."
4243      },
4244      "x-name": "endpoints.api.trigger.ActivateBuildTrigger",
4245      "parameters": [{
4246        "description": "The full path of the repository. e.g. namespace/name",
4247        "required": true,
4248        "type": "string",
4249        "name": "repository",
4250        "in": "path"
4251      }, {
4252        "description": "The UUID of the build trigger",
4253        "required": true,
4254        "type": "string",
4255        "name": "trigger_uuid",
4256        "in": "path"
4257      }],
4258      "x-tag": "trigger",
4259      "x-path": "/api/v1/repository/{repository}/trigger/{trigger_uuid}/start"
4260    },
4261    "/api/v1/repository/{repository}/trigger/{trigger_uuid}/builds": {
4262      "x-name": "endpoints.api.trigger.TriggerBuildList",
4263      "parameters": [{
4264        "description": "The full path of the repository. e.g. namespace/name",
4265        "required": true,
4266        "type": "string",
4267        "name": "repository",
4268        "in": "path"
4269      }, {
4270        "description": "The UUID of the build trigger",
4271        "required": true,
4272        "type": "string",
4273        "name": "trigger_uuid",
4274        "in": "path"
4275      }],
4276      "x-tag": "trigger",
4277      "x-path": "/api/v1/repository/{repository}/trigger/{trigger_uuid}/builds",
4278      "get": {
4279        "responses": {
4280          "200": {
4281            "description": "Successful invocation"
4282          },
4283          "404": {
4284            "description": "Not found"
4285          },
4286          "403": {
4287            "description": "Unauthorized access"
4288          },
4289          "401": {
4290            "description": "Session required"
4291          },
4292          "400": {
4293            "description": "Bad Request"
4294          }
4295        },
4296        "parameters": [{
4297          "description": "The UUID of the build trigger",
4298          "required": true,
4299          "type": "string",
4300          "name": "trigger_uuid",
4301          "in": "path"
4302        }, {
4303          "description": "The full path of the repository. e.g. namespace/name",
4304          "required": true,
4305          "type": "string",
4306          "name": "repository",
4307          "in": "path"
4308        }, {
4309          "description": "The maximum number of builds to return",
4310          "required": false,
4311          "type": "integer",
4312          "name": "limit",
4313          "in": "query"
4314        }],
4315        "tags": ["trigger"],
4316        "security": [{
4317          "oauth2_implicit": ["repo:admin"]
4318        }],
4319        "operationId": "listTriggerRecentBuilds",
4320        "description": "List the builds started by the specified trigger."
4321      }
4322    },
4323    "/api/v1/repository/{repository}/trigger/{trigger_uuid}": {
4324      "x-name": "endpoints.api.trigger.BuildTrigger",
4325      "parameters": [{
4326        "description": "The full path of the repository. e.g. namespace/name",
4327        "required": true,
4328        "type": "string",
4329        "name": "repository",
4330        "in": "path"
4331      }, {
4332        "description": "The UUID of the build trigger",
4333        "required": true,
4334        "type": "string",
4335        "name": "trigger_uuid",
4336        "in": "path"
4337      }],
4338      "get": {
4339        "responses": {
4340          "200": {
4341            "description": "Successful invocation"
4342          },
4343          "404": {
4344            "description": "Not found"
4345          },
4346          "403": {
4347            "description": "Unauthorized access"
4348          },
4349          "401": {
4350            "description": "Session required"
4351          },
4352          "400": {
4353            "description": "Bad Request"
4354          }
4355        },
4356        "parameters": [{
4357          "description": "The UUID of the build trigger",
4358          "required": true,
4359          "type": "string",
4360          "name": "trigger_uuid",
4361          "in": "path"
4362        }, {
4363          "description": "The full path of the repository. e.g. namespace/name",
4364          "required": true,
4365          "type": "string",
4366          "name": "repository",
4367          "in": "path"
4368        }],
4369        "tags": ["trigger"],
4370        "security": [{
4371          "oauth2_implicit": ["repo:admin"]
4372        }],
4373        "operationId": "getBuildTrigger",
4374        "description": "Get information for the specified build trigger."
4375      },
4376      "x-path": "/api/v1/repository/{repository}/trigger/{trigger_uuid}",
4377      "x-tag": "trigger",
4378      "delete": {
4379        "responses": {
4380          "404": {
4381            "description": "Not found"
4382          },
4383          "403": {
4384            "description": "Unauthorized access"
4385          },
4386          "204": {
4387            "description": "Deleted"
4388          },
4389          "401": {
4390            "description": "Session required"
4391          },
4392          "400": {
4393            "description": "Bad Request"
4394          }
4395        },
4396        "parameters": [{
4397          "description": "The UUID of the build trigger",
4398          "required": true,
4399          "type": "string",
4400          "name": "trigger_uuid",
4401          "in": "path"
4402        }, {
4403          "description": "The full path of the repository. e.g. namespace/name",
4404          "required": true,
4405          "type": "string",
4406          "name": "repository",
4407          "in": "path"
4408        }],
4409        "tags": ["trigger"],
4410        "security": [{
4411          "oauth2_implicit": ["repo:admin"]
4412        }],
4413        "operationId": "deleteBuildTrigger",
4414        "description": "Delete the specified build trigger."
4415      }
4416    },
4417    "/api/v1/user/": {
4418      "x-name": "endpoints.api.user.User",
4419      "x-tag": "user",
4420      "x-path": "/api/v1/user/",
4421      "get": {
4422        "responses": {
4423          "200": {
4424            "description": "Successful invocation",
4425            "schema": {
4426              "$ref": "#/definitions/UserView"
4427            }
4428          },
4429          "404": {
4430            "description": "Not found"
4431          },
4432          "403": {
4433            "description": "Unauthorized access"
4434          },
4435          "401": {
4436            "description": "Session required"
4437          },
4438          "400": {
4439            "description": "Bad Request"
4440          }
4441        },
4442        "parameters": [],
4443        "tags": ["user"],
4444        "security": [{
4445          "oauth2_implicit": ["user:read"]
4446        }],
4447        "operationId": "getLoggedInUser",
4448        "description": "Get user information for the authenticated user."
4449      }
4450    },
4451    "/api/v1/users/{username}": {
4452      "x-name": "endpoints.api.user.Users",
4453      "x-tag": "user",
4454      "x-path": "/api/v1/users/{username}",
4455      "get": {
4456        "responses": {
4457          "200": {
4458            "description": "Successful invocation"
4459          },
4460          "404": {
4461            "description": "Not found"
4462          },
4463          "403": {
4464            "description": "Unauthorized access"
4465          },
4466          "401": {
4467            "description": "Session required"
4468          },
4469          "400": {
4470            "description": "Bad Request"
4471          }
4472        },
4473        "tags": ["user"],
4474        "description": "Get user information for the specified user.",
4475        "parameters": [{
4476          "description": "",
4477          "required": true,
4478          "type": "string",
4479          "name": "username",
4480          "in": "path"
4481        }],
4482        "operationId": "getUserInformation"
4483      }
4484    },
4485    "/api/v1/user/starred": {
4486      "post": {
4487        "responses": {
4488          "200": {
4489            "description": "Successful invocation"
4490          },
4491          "404": {
4492            "description": "Not found"
4493          },
4494          "403": {
4495            "description": "Unauthorized access"
4496          },
4497          "401": {
4498            "description": "Session required"
4499          },
4500          "400": {
4501            "description": "Bad Request"
4502          }
4503        },
4504        "parameters": [{
4505          "schema": {
4506            "$ref": "#/definitions/NewStarredRepository"
4507          },
4508          "description": "Request body contents.",
4509          "required": true,
4510          "name": "body",
4511          "in": "body"
4512        }],
4513        "tags": ["user"],
4514        "security": [{
4515          "oauth2_implicit": ["repo:read"]
4516        }],
4517        "operationId": "createStar",
4518        "description": "Star a repository."
4519      },
4520      "x-name": "endpoints.api.user.StarredRepositoryList",
4521      "x-tag": "user",
4522      "x-path": "/api/v1/user/starred",
4523      "get": {
4524        "responses": {
4525          "200": {
4526            "description": "Successful invocation"
4527          },
4528          "404": {
4529            "description": "Not found"
4530          },
4531          "403": {
4532            "description": "Unauthorized access"
4533          },
4534          "401": {
4535            "description": "Session required"
4536          },
4537          "400": {
4538            "description": "Bad Request"
4539          }
4540        },
4541        "tags": ["user"],
4542        "description": "List all starred repositories.",
4543        "parameters": [{
4544          "description": "Limit on the number of results (int)",
4545          "required": false,
4546          "type": "integer",
4547          "name": "limit",
4548          "in": "query"
4549        }, {
4550          "description": "Offset page number. (int)",
4551          "required": false,
4552          "type": "integer",
4553          "name": "page",
4554          "in": "query"
4555        }],
4556        "operationId": "listStarredRepos"
4557      }
4558    },
4559    "/api/v1/user/starred/{repository}": {
4560      "x-name": "endpoints.api.user.StarredRepository",
4561      "parameters": [{
4562        "description": "The full path of the repository. e.g. namespace/name",
4563        "required": true,
4564        "type": "string",
4565        "name": "repository",
4566        "in": "path"
4567      }],
4568      "x-tag": "user",
4569      "x-path": "/api/v1/user/starred/{repository}",
4570      "delete": {
4571        "responses": {
4572          "404": {
4573            "description": "Not found"
4574          },
4575          "403": {
4576            "description": "Unauthorized access"
4577          },
4578          "204": {
4579            "description": "Deleted"
4580          },
4581          "401": {
4582            "description": "Session required"
4583          },
4584          "400": {
4585            "description": "Bad Request"
4586          }
4587        },
4588        "tags": ["user"],
4589        "description": "Removes a star from a repository.",
4590        "parameters": [{
4591          "description": "The full path of the repository. e.g. namespace/name",
4592          "required": true,
4593          "type": "string",
4594          "name": "repository",
4595          "in": "path"
4596        }],
4597        "operationId": "deleteStar"
4598      }
4599    },
4600    "/userfiles/{file_id}": {
4601      "put": {
4602        "responses": {
4603          "200": {
4604            "description": "Successful invocation"
4605          },
4606          "404": {
4607            "description": "Not found"
4608          },
4609          "403": {
4610            "description": "Unauthorized access"
4611          },
4612          "401": {
4613            "description": "Session required"
4614          },
4615          "400": {
4616            "description": "Bad Request"
4617          }
4618        },
4619        "tags": ["userfiles"],
4620        "description": "",
4621        "parameters": [{
4622          "description": "",
4623          "required": true,
4624          "type": "string",
4625          "name": "file_id",
4626          "in": "path"
4627        }],
4628        "operationId": "unnamed"
4629      },
4630      "x-name": "data.userfiles.UserfilesHandlers",
4631      "x-tag": "userfiles",
4632      "x-path": "/userfiles/{file_id}",
4633      "get": {
4634        "responses": {
4635          "200": {
4636            "description": "Successful invocation"
4637          },
4638          "404": {
4639            "description": "Not found"
4640          },
4641          "403": {
4642            "description": "Unauthorized access"
4643          },
4644          "401": {
4645            "description": "Session required"
4646          },
4647          "400": {
4648            "description": "Bad Request"
4649          }
4650        },
4651        "tags": ["userfiles"],
4652        "description": "",
4653        "parameters": [{
4654          "description": "",
4655          "required": true,
4656          "type": "string",
4657          "name": "file_id",
4658          "in": "path"
4659        }],
4660        "operationId": "unnamed"
4661      }
4662    }
4663  },
4664  "host": "quay.io",
4665  "schemes": ["https"],
4666  "tags": [{
4667    "name": "archivedlogs",
4668    "description": ""
4669  }, {
4670    "name": "billing",
4671    "description": "Billing information, subscriptions, and plan information."
4672  }, {
4673    "name": "build",
4674    "description": "Create, list, cancel and get status/logs of repository builds."
4675  }, {
4676    "name": "discovery",
4677    "description": "API discovery information."
4678  }, {
4679    "name": "image",
4680    "description": "List and lookup repository images, and download image diffs."
4681  }, {
4682    "name": "logs",
4683    "description": "Access usage logs for organizations or repositories."
4684  }, {
4685    "name": "organization",
4686    "description": "Manage organizations, members and OAuth applications."
4687  }, {
4688    "name": "permission",
4689    "description": "Manage repository permissions."
4690  }, {
4691    "name": "prototype",
4692    "description": "Manage default permissions added to repositories."
4693  }, {
4694    "name": "repository",
4695    "description": "List, create and manage repositories."
4696  }, {
4697    "name": "repositorynotification",
4698    "description": "List, create and manage repository events/notifications."
4699  }, {
4700    "name": "repotoken",
4701    "description": "Manage repository access tokens (DEPRECATED)."
4702  }, {
4703    "name": "robot",
4704    "description": "Manage user and organization robot accounts."
4705  }, {
4706    "name": "search",
4707    "description": "Conduct searches against all registry context."
4708  }, {
4709    "name": "secscan",
4710    "description": "List and manage repository vulnerabilities and other sec information."
4711  }, {
4712    "name": "tag",
4713    "description": "Manage the tags of a repository."
4714  }, {
4715    "name": "team",
4716    "description": "Create, list and manage an organization's teams."
4717  }, {
4718    "name": "trigger",
4719    "description": "Create, list and manage build triggers."
4720  }, {
4721    "name": "user",
4722    "description": "Manage the current user."
4723  }, {
4724    "name": "userfiles",
4725    "description": ""
4726  }],
4727  "definitions": {
4728    "RepositoryBuildRequest": {
4729      "type": "object",
4730      "description": "Description of a new repository build.",
4731      "properties": {
4732        "docker_tags": {
4733          "minItems": 1,
4734          "items": {
4735            "type": "string"
4736          },
4737          "uniqueItems": true,
4738          "type": "array",
4739          "description": "The tags to which the built images will be pushed. If none specified, \"latest\" is used."
4740        },
4741        "pull_robot": {
4742          "type": "string",
4743          "description": "Username of a Quay robot account to use as pull credentials"
4744        },
4745        "subdirectory": {
4746          "type": "string",
4747          "description": "Subdirectory in which the Dockerfile can be found"
4748        },
4749        "file_id": {
4750          "type": "string",
4751          "description": "The file id that was generated when the build spec was uploaded"
4752        },
4753        "archive_url": {
4754          "type": "string",
4755          "description": "The URL of the .tar.gz to build. Must start with \"http\" or \"https\"."
4756        }
4757      }
4758    },
4759    "NotificationCreateRequest": {
4760      "required": ["event", "method", "config"],
4761      "type": "object",
4762      "description": "Information for creating a notification on a repository",
4763      "properties": {
4764        "eventConfig": {
4765          "type": "object",
4766          "description": "JSON config information for the specific event of notification"
4767        },
4768        "title": {
4769          "type": "string",
4770          "description": "The human-readable title of the notification"
4771        },
4772        "config": {
4773          "type": "object",
4774          "description": "JSON config information for the specific method of notification"
4775        },
4776        "event": {
4777          "type": "string",
4778          "description": "The event on which the notification will respond"
4779        },
4780        "method": {
4781          "type": "string",
4782          "description": "The method of notification (such as email or web callback)"
4783        }
4784      }
4785    },
4786    "UserPermission": {
4787      "required": ["role"],
4788      "type": "object",
4789      "description": "Description of a user permission.",
4790      "properties": {
4791        "role": {
4792          "enum": ["read", "write", "admin"],
4793          "type": "string",
4794          "description": "Role to use for the user"
4795        }
4796      }
4797    },
4798    "NewStarredRepository": {
4799      "required": ["namespace", "repository"],
4800      "type": "object",
4801      "properties": {
4802        "namespace": {
4803          "type": "string",
4804          "description": "Namespace in which the repository belongs"
4805        },
4806        "repository": {
4807          "type": "string",
4808          "description": "Repository name"
4809        }
4810      }
4811    },
4812    "MoveTag": {
4813      "required": ["image"],
4814      "type": "object",
4815      "description": "Description of to which image a new or existing tag should point",
4816      "properties": {
4817        "image": {
4818          "type": "string",
4819          "description": "Image identifier to which the tag should point"
4820        }
4821      }
4822    },
4823    "UpdateUser": {
4824      "type": "object",
4825      "description": "Fields which can be updated in a user.",
4826      "properties": {
4827        "username": {
4828          "type": "string",
4829          "description": "The user's username"
4830        },
4831        "invoice_email": {
4832          "type": "boolean",
4833          "description": "Whether the user desires to receive an invoice email."
4834        },
4835        "password": {
4836          "type": "string",
4837          "description": "The user's password"
4838        },
4839        "email": {
4840          "type": "string",
4841          "description": "The user's email address"
4842        },
4843        "tag_expiration": {
4844          "minimum": 0,
4845          "type": "integer",
4846          "maximum": 2592000
4847        }
4848      }
4849    },
4850    "BuildTriggerActivateRequest": {
4851      "required": ["config"],
4852      "type": "object",
4853      "properties": {
4854        "pull_robot": {
4855          "type": "string",
4856          "description": "The name of the robot that will be used to pull images."
4857        },
4858        "config": {
4859          "type": "object",
4860          "description": "Arbitrary json."
4861        }
4862      }
4863    },
4864    "UpdateApp": {
4865      "required": ["name", "redirect_uri", "application_uri"],
4866      "type": "object",
4867      "description": "Description of an updated application.",
4868      "properties": {
4869        "redirect_uri": {
4870          "type": "string",
4871          "description": "The URI for the application's OAuth redirect"
4872        },
4873        "avatar_email": {
4874          "type": "string",
4875          "description": "The e-mail address of the avatar to use for the application"
4876        },
4877        "name": {
4878          "type": "string",
4879          "description": "The name of the application"
4880        },
4881        "application_uri": {
4882          "type": "string",
4883          "description": "The URI for the application's homepage"
4884        },
4885        "description": {
4886          "type": "string",
4887          "description": "The human-readable description for the application"
4888        }
4889      }
4890    },
4891    "ChangeVisibility": {
4892      "required": ["visibility"],
4893      "type": "object",
4894      "description": "Change the visibility for the repository.",
4895      "properties": {
4896        "visibility": {
4897          "enum": ["public", "private"],
4898          "type": "string",
4899          "description": "Visibility which the repository will start with"
4900        }
4901      }
4902    },
4903    "TeamDescription": {
4904      "required": ["role"],
4905      "type": "object",
4906      "description": "Description of a team",
4907      "properties": {
4908        "role": {
4909          "enum": ["member", "creator", "admin"],
4910          "type": "string",
4911          "description": "Org wide permissions that should apply to the team"
4912        },
4913        "description": {
4914          "type": "string",
4915          "description": "Markdown description for the team"
4916        }
4917      }
4918    },
4919    "NewPrototype": {
4920      "required": ["role", "delegate"],
4921      "type": "object",
4922      "description": "Description of a new prototype",
4923      "properties": {
4924        "activating_user": {
4925          "required": ["name"],
4926          "type": "object",
4927          "description": "Repository creating user to whom the rule should apply",
4928          "properties": {
4929            "name": {
4930              "type": "string",
4931              "description": "The username for the activating_user"
4932            }
4933          }
4934        },
4935        "role": {
4936          "enum": ["read", "write", "admin"],
4937          "type": "string",
4938          "description": "Role that should be applied to the delegate"
4939        },
4940        "delegate": {
4941          "required": ["name", "kind"],
4942          "type": "object",
4943          "description": "Information about the user or team to which the rule grants access",
4944          "properties": {
4945            "kind": {
4946              "enum": ["user", "team"],
4947              "type": "string",
4948              "description": "Whether the delegate is a user or a team"
4949            },
4950            "name": {
4951              "type": "string",
4952              "description": "The name for the delegate team or user"
4953            }
4954          }
4955        }
4956      }
4957    },
4958    "TokenPermission": {
4959      "required": ["role"],
4960      "type": "object",
4961      "description": "Description of a token permission",
4962      "properties": {
4963        "role": {
4964          "enum": ["read", "write", "admin"],
4965          "type": "string",
4966          "description": "Role to use for the token"
4967        }
4968      }
4969    },
4970    "RunParameters": {
4971      "additionalProperties": false,
4972      "type": "object",
4973      "description": "Optional run parameters for activating the build trigger",
4974      "properties": {
4975        "branch_name": {
4976          "type": "string",
4977          "description": "(SCM only) If specified, the name of the branch to build."
4978        },
4979        "refs": {
4980          "type": "object",
4981          "description": "(SCM Only) If specified, the ref to build."
4982        },
4983        "commit_sha": {
4984          "type": "string",
4985          "description": "(Custom Only) If specified, the ref/SHA1 used to checkout a git repository."
4986        }
4987      }
4988    },
4989    "NewRepo": {
4990      "required": ["repository", "visibility", "description"],
4991      "type": "object",
4992      "description": "Description of a new repository",
4993      "properties": {
4994        "namespace": {
4995          "type": "string",
4996          "description": "Namespace in which the repository should be created. If omitted, the username of the caller is used"
4997        },
4998        "visibility": {
4999          "enum": ["public", "private"],
5000          "type": "string",
5001          "description": "Visibility which the repository will start with"
5002        },
5003        "repository": {
5004          "type": "string",
5005          "description": "Repository name"
5006        },
5007        "description": {
5008          "type": "string",
5009          "description": "Markdown encoded description for the repository"
5010        }
5011      }
5012    },
5013    "RevertTag": {
5014      "required": ["image"],
5015      "type": "object",
5016      "description": "Reverts a tag to a specific image",
5017      "properties": {
5018        "image": {
5019          "type": "string",
5020          "description": "Image identifier to which the tag should point"
5021        }
5022      }
5023    },
5024    "UserView": {
5025      "required": ["verified", "anonymous", "avatar"],
5026      "type": "object",
5027      "description": "Describes a user",
5028      "properties": {
5029        "organizations": {
5030          "items": {
5031            "type": "object"
5032          },
5033          "type": "array",
5034          "description": "Information about the organizations in which the user is a member"
5035        },
5036        "verified": {
5037          "type": "boolean",
5038          "description": "Whether the user's email address has been verified"
5039        },
5040        "avatar": {
5041          "type": "object",
5042          "description": "Avatar data representing the user's icon"
5043        },
5044        "anonymous": {
5045          "type": "boolean",
5046          "description": "true if this user data represents a guest user"
5047        },
5048        "logins": {
5049          "items": {
5050            "type": "object"
5051          },
5052          "type": "array",
5053          "description": "The list of external login providers against which the user has authenticated"
5054        },
5055        "can_create_repo": {
5056          "type": "boolean",
5057          "description": "Whether the user has permission to create repositories"
5058        },
5059        "preferred_namespace": {
5060          "type": "boolean",
5061          "description": "If true, the user's namespace is the preferred namespace to display"
5062        },
5063        "email": {
5064          "type": "string",
5065          "description": "The user's email address"
5066        }
5067      }
5068    },
5069    "NewApp": {
5070      "required": ["name"],
5071      "type": "object",
5072      "description": "Description of a new organization application.",
5073      "properties": {
5074        "redirect_uri": {
5075          "type": "string",
5076          "description": "The URI for the application's OAuth redirect"
5077        },
5078        "avatar_email": {
5079          "type": "string",
5080          "description": "The e-mail address of the avatar to use for the application"
5081        },
5082        "name": {
5083          "type": "string",
5084          "description": "The name of the application"
5085        },
5086        "application_uri": {
5087          "type": "string",
5088          "description": "The URI for the application's homepage"
5089        },
5090        "description": {
5091          "type": "string",
5092          "description": "The human-readable description for the application"
5093        }
5094      }
5095    },
5096    "UpdateOrg": {
5097      "type": "object",
5098      "description": "Description of updates for an existing organization",
5099      "properties": {
5100        "invoice_email": {
5101          "type": "boolean",
5102          "description": "Whether the organization desires to receive emails for invoices"
5103        },
5104        "email": {
5105          "type": "string",
5106          "description": "Organization contact email"
5107        },
5108        "tag_expiration": {
5109          "minimum": 0,
5110          "type": "integer",
5111          "maximum": 2592000
5112        }
5113      }
5114    },
5115    "NewToken": {
5116      "required": ["friendlyName"],
5117      "type": "object",
5118      "description": "Description of a new token.",
5119      "properties": {
5120        "friendlyName": {
5121          "type": "string",
5122          "description": "Friendly name to help identify the token"
5123        }
5124      }
5125    },
5126    "NewUser": {
5127      "required": ["username", "password", "email"],
5128      "type": "object",
5129      "description": "Fields which must be specified for a new user.",
5130      "properties": {
5131        "username": {
5132          "type": "string",
5133          "description": "The user's username"
5134        },
5135        "password": {
5136          "type": "string",
5137          "description": "The user's password"
5138        },
5139        "email": {
5140          "type": "string",
5141          "description": "The user's email address"
5142        },
5143        "invite_code": {
5144          "type": "string",
5145          "description": "The optional invite code"
5146        }
5147      }
5148    },
5149    "RepoUpdate": {
5150      "required": ["description"],
5151      "type": "object",
5152      "description": "Fields which can be updated in a repository.",
5153      "properties": {
5154        "description": {
5155          "type": "string",
5156          "description": "Markdown encoded description for the repository"
5157        }
5158      }
5159    },
5160    "PrototypeUpdate": {
5161      "required": ["role"],
5162      "type": "object",
5163      "description": "Description of a the new prototype role",
5164      "properties": {
5165        "role": {
5166          "enum": ["read", "write", "admin"],
5167          "type": "string",
5168          "description": "Role that should be applied to the permission"
5169        }
5170      }
5171    },
5172    "TeamPermission": {
5173      "required": ["role"],
5174      "type": "object",
5175      "description": "Description of a team permission.",
5176      "properties": {
5177        "role": {
5178          "enum": ["read", "write", "admin"],
5179          "type": "string",
5180          "description": "Role to use for the team"
5181        }
5182      }
5183    }
5184  },
5185  "basePath": "/",
5186  "swagger": "2.0",
5187  "securityDefinitions": {
5188    "oauth2_implicit": {
5189      "flow": "implicit",
5190      "type": "oauth2",
5191      "authorizationUrl": "https://quay.io/oauth/authorize",
5192      "scopes": {
5193        "repo:write": "This application will be able to view, push and pull to all repositories to which the granting user or robot account has write access",
5194        "repo:read": "This application will be able to view and pull all repositories visible to the granting user or robot account",
5195        "repo:create": "This application will be able to create repositories in to any namespaces that the granting user or robot account is allowed to create repositories",
5196        "repo:admin": "This application will have administrator access to all repositories to which the granting user or robot account has access",
5197        "org:admin": "This application will be able to administer your organizations including creating robots, creating teams, adjusting team membership, and changing billing settings. You should have absolute trust in the requesting application before granting this permission.",
5198        "user:read": "This application will be able to read user information such as username and email address."
5199      }
5200    }
5201  }
5202}
5203