github.com/kaisawind/go-swagger@v0.19.0/fixtures/codegen/issue72.json (about)

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