2020-01-14 10:20:18 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								swagger :   '2.0' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								info : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								   title :   Harbor API 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								   description :   These APIs provide services for manipulating Harbor project. 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								   version :   '2.0' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								host :   localhost 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								schemes : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								   - http 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								   - https 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								basePath :   /api/v2.0 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								produces : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								   - application/json 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								consumes : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								   - application/json 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								securityDefinitions : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								   basicAuth : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								     type :   basic 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								paths : 
  
						 
					
						
							
								
									
										
										
										
											2020-02-18 15:51:38 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								   /projects/{project_name}/repositories: 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								     get : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       summary :   List repositories 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       description :   List repositories of the specified project 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       tags : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         - repository 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       operationId :   listRepositories 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       parameters : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         - $ref :   '#/parameters/requestId' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         - $ref :   '#/parameters/projectName' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         - $ref :   '#/parameters/page' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         - $ref :   '#/parameters/pageSize' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         - name :   name 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           in :   query 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           description :   Query the repositories by name 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           type :   string 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           required :   false 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       responses : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         '200' : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           description :   Success 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           headers : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								             X-Total-Count : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								               description :   The total count of repositories 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								               type :   integer 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								             Link : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								               description :   Link refers to the previous page and next page 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								               type :   string 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           schema : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								             type :   array 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								             items : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								               $ref :   '#/definitions/Repository' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         '400' : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           $ref :   '#/responses/400' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         '401' : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           $ref :   '#/responses/401' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         '403' : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           $ref :   '#/responses/403' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         '404' : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           $ref :   '#/responses/404' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         '500' : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           $ref :   '#/responses/500' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								   /projects/{project_name}/repositories/{repository_name}: 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								     put : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       summary :   Update repository 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       description :   Update the repository specified by name 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       tags : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         - repository 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       operationId :   updateRepository 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       parameters : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         - $ref :   '#/parameters/requestId' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         - $ref :   '#/parameters/projectName' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         - $ref :   '#/parameters/repositoryName' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         - name :   repository 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           in :   body 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           description :   The JSON object of repository. 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           required :   true 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           schema : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								             $ref :   '#/definitions/Repository' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       responses : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         '200' : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           $ref :   '#/responses/200' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         '400' : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           $ref :   '#/responses/400' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         '401' : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           $ref :   '#/responses/401' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         '403' : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           $ref :   '#/responses/403' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         '404' : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           $ref :   '#/responses/404' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         '500' : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           $ref :   '#/responses/500' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								     delete : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       summary :   Delete repository 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       description :   Delete the repository specified by name 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       tags : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         - repository 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       operationId :   deleteRepository 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       parameters : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         - $ref :   '#/parameters/requestId' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         - $ref :   '#/parameters/projectName' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         - $ref :   '#/parameters/repositoryName' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       responses : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         '200' : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           $ref :   '#/responses/200' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         '400' : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           $ref :   '#/responses/400' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         '401' : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           $ref :   '#/responses/401' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         '403' : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           $ref :   '#/responses/403' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         '404' : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           $ref :   '#/responses/404' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         '500' : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           $ref :   '#/responses/500' 
  
						 
					
						
							
								
									
										
										
										
											2020-01-26 12:52:51 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								   /projects/{project_name}/repositories/{repository_name}/artifacts: 
  
						 
					
						
							
								
									
										
										
										
											2020-01-14 10:20:18 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								     get : 
  
						 
					
						
							
								
									
										
										
										
											2020-01-26 12:52:51 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								       summary :   List artifacts 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       description :   List artifacts under the specific project and repository. 
  
						 
					
						
							
								
									
										
										
										
											2020-01-14 10:20:18 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								       tags : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         - artifact 
  
						 
					
						
							
								
									
										
										
										
											2020-01-26 12:52:51 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								       operationId :   listArtifacts 
  
						 
					
						
							
								
									
										
										
										
											2020-01-14 10:20:18 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								       parameters : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         - $ref :   '#/parameters/requestId' 
  
						 
					
						
							
								
									
										
										
										
											2020-01-16 08:04:22 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								         - $ref :   '#/parameters/projectName' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         - $ref :   '#/parameters/repositoryName' 
  
						 
					
						
							
								
									
										
										
										
											2020-01-26 12:52:51 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								         - $ref :   '#/parameters/page' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         - $ref :   '#/parameters/pageSize' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         - name :   type 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           in :   query 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           description :   Query the artifacts by type. Valid values can be "IMAGE", "CHART", etc. 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           type :   string 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           required :   false 
  
						 
					
						
							
								
									
										
										
										
											2020-01-25 15:26:44 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								         - name :   tags 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           in :   query 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           description :   Without the "tags" query string, both tagged and untagged artifacts will be returned. Specify it as "*" to return only tagged artifacts; specify it as "nil" to return only untagged artifacts. 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           type :   string 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           required :   false 
  
						 
					
						
							
								
									
										
										
										
											2020-01-16 08:04:22 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								         - name :   with_tag 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           in :   query 
  
						 
					
						
							
								
									
										
										
										
											2020-02-22 13:29:58 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								           description :   Specify whether the tags are included inside the returning artifacts 
  
						 
					
						
							
								
									
										
										
										
											2020-01-16 08:04:22 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								           type :   boolean 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           required :   false 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           default :   true 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         - name :   with_label 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           in :   query 
  
						 
					
						
							
								
									
										
										
										
											2020-02-22 13:29:58 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								           description :   Specify whether the labels are included inside the returning artifacts 
  
						 
					
						
							
								
									
										
										
										
											2020-01-16 08:04:22 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								           type :   boolean 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           required :   false 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           default :   false 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         - name :   with_scan_overview 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           in :   query 
  
						 
					
						
							
								
									
										
										
										
											2020-02-22 13:29:58 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								           description :   Specify whether the scan overview is included inside the returning artifacts 
  
						 
					
						
							
								
									
										
										
										
											2020-01-16 08:04:22 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								           type :   boolean 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           required :   false 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           default :   false 
  
						 
					
						
							
								
									
										
										
										
											2020-01-26 12:52:51 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								         - name :   with_signature 
  
						 
					
						
							
								
									
										
										
										
											2020-01-16 08:04:22 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								           in :   query 
  
						 
					
						
							
								
									
										
										
										
											2020-02-22 13:29:58 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								           description :   Specify whether the signature is included inside the tags of the returning artifacts. Only works when setting "with_tag=true" 
  
						 
					
						
							
								
									
										
										
										
											2020-01-16 08:04:22 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								           type :   boolean 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           required :   false 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           default :   false 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         - name :   with_immutable_status 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           in :   query 
  
						 
					
						
							
								
									
										
										
										
											2020-02-22 13:29:58 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								           description :   Specify whether the immutable status is included inside the tags of the returning artifacts. Only works when setting "with_tag=true" 
  
						 
					
						
							
								
									
										
										
										
											2020-01-16 08:04:22 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								           type :   boolean 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           required :   false 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           default :   false 
  
						 
					
						
							
								
									
										
										
										
											2020-01-14 10:20:18 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								       responses : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         '200' : 
  
						 
					
						
							
								
									
										
										
										
											2020-01-16 08:04:22 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								           description :   Success 
  
						 
					
						
							
								
									
										
										
										
											2020-01-26 12:52:51 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								           headers : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								             X-Total-Count : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								               description :   The total count of artifacts 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								               type :   integer 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								             Link : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								               description :   Link refers to the previous page and next page 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								               type :   string 
  
						 
					
						
							
								
									
										
										
										
											2020-01-14 10:20:18 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								           schema : 
  
						 
					
						
							
								
									
										
										
										
											2020-01-26 12:52:51 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								             type :   array 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								             items : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								               $ref :   '#/definitions/Artifact' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         '400' : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           $ref :   '#/responses/400' 
  
						 
					
						
							
								
									
										
										
										
											2020-01-14 10:20:18 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								         '401' : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           $ref :   '#/responses/401' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         '403' : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           $ref :   '#/responses/403' 
  
						 
					
						
							
								
									
										
										
										
											2020-01-26 12:52:51 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								         '404' : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           $ref :   '#/responses/404' 
  
						 
					
						
							
								
									
										
										
										
											2020-01-14 10:20:18 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								         '500' : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           $ref :   '#/responses/500' 
  
						 
					
						
							
								
									
										
										
										
											2020-02-13 16:04:47 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								     post : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       summary :   Copy artifact 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       description :   Copy the artifact specified in the "from" parameter to the repository. 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       tags : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         - artifact 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       operationId :   CopyArtifact 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       parameters : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         - $ref :   '#/parameters/requestId' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         - $ref :   '#/parameters/projectName' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         - $ref :   '#/parameters/repositoryName' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         - name :   from 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           in :   query 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           description :   The artifact from which the new artifact is copied from, the format should be "project/repository:tag" or "project/repository@digest". 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           type :   string 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           required :   true 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       responses : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         '201' : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           $ref :   '#/responses/201' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         '400' : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           $ref :   '#/responses/400' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         '401' : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           $ref :   '#/responses/401' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         '403' : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           $ref :   '#/responses/403' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         '404' : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           $ref :   '#/responses/404' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         '409' : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           $ref :   '#/responses/409' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         '500' : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           $ref :   '#/responses/500' 
  
						 
					
						
							
								
									
										
										
										
											2020-01-26 12:52:51 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								   /projects/{project_name}/repositories/{repository_name}/artifacts/{reference}: 
  
						 
					
						
							
								
									
										
										
										
											2020-01-14 10:20:18 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								     get : 
  
						 
					
						
							
								
									
										
										
										
											2020-01-26 12:52:51 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								       summary :   Get the specific artifact 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       description :   Get the artifact specified by the reference under the project and repository. The reference can be digest or tag. 
  
						 
					
						
							
								
									
										
										
										
											2020-01-14 10:20:18 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								       tags : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         - artifact 
  
						 
					
						
							
								
									
										
										
										
											2020-01-26 12:52:51 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								       operationId :   getArtifact 
  
						 
					
						
							
								
									
										
										
										
											2020-01-14 10:20:18 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								       parameters : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         - $ref :   '#/parameters/requestId' 
  
						 
					
						
							
								
									
										
										
										
											2020-01-16 08:04:22 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								         - $ref :   '#/parameters/projectName' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         - $ref :   '#/parameters/repositoryName' 
  
						 
					
						
							
								
									
										
										
										
											2020-01-26 12:52:51 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								         - $ref :   '#/parameters/reference' 
  
						 
					
						
							
								
									
										
										
										
											2020-01-25 15:26:44 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								         - $ref :   '#/parameters/page' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         - $ref :   '#/parameters/pageSize' 
  
						 
					
						
							
								
									
										
										
										
											2020-01-16 08:04:22 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								         - name :   with_tag 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           in :   query 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           description :   Specify whether the tags are inclued inside the returning artifacts 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           type :   boolean 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           required :   false 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           default :   true 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         - name :   with_label 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           in :   query 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           description :   Specify whether the labels are inclued inside the returning artifacts 
  
						 
					
						
							
								
									
										
										
										
											2020-01-14 10:20:18 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								           type :   boolean 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           required :   false 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           default :   false 
  
						 
					
						
							
								
									
										
										
										
											2020-01-16 08:04:22 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								         - name :   with_scan_overview 
  
						 
					
						
							
								
									
										
										
										
											2020-01-14 10:20:18 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								           in :   query 
  
						 
					
						
							
								
									
										
										
										
											2020-01-16 08:04:22 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								           description :   Specify whether the scan overview is inclued inside the returning artifacts 
  
						 
					
						
							
								
									
										
										
										
											2020-01-14 10:20:18 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								           type :   boolean 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           required :   false 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           default :   false 
  
						 
					
						
							
								
									
										
										
										
											2020-01-16 08:04:22 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								         # should be in tag level 
  
						 
					
						
							
								
									
										
										
										
											2020-01-26 12:52:51 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								         - name :   with_signature 
  
						 
					
						
							
								
									
										
										
										
											2020-01-14 10:20:18 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								           in :   query 
  
						 
					
						
							
								
									
										
										
										
											2020-01-16 08:04:22 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								           description :   Specify whether the signature is inclued inside the returning artifacts 
  
						 
					
						
							
								
									
										
										
										
											2020-01-14 10:20:18 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								           type :   boolean 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           required :   false 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           default :   false 
  
						 
					
						
							
								
									
										
										
										
											2020-01-16 08:04:22 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								         - name :   with_immutable_status 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           in :   query 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           description :   Specify whether the immutable status is inclued inside the tags of the returning artifacts. Only works when setting "with_tag=true" 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           type :   boolean 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           required :   false 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           default :   false 
  
						 
					
						
							
								
									
										
										
										
											2020-01-14 10:20:18 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								       responses : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         '200' : 
  
						 
					
						
							
								
									
										
										
										
											2020-01-16 08:04:22 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								           description :   Success 
  
						 
					
						
							
								
									
										
										
										
											2020-01-14 10:20:18 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								           schema : 
  
						 
					
						
							
								
									
										
										
										
											2020-01-26 12:52:51 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								             $ref :   '#/definitions/Artifact' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         '400' : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           $ref :   '#/responses/400' 
  
						 
					
						
							
								
									
										
										
										
											2020-01-14 10:20:18 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								         '401' : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           $ref :   '#/responses/401' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         '403' : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           $ref :   '#/responses/403' 
  
						 
					
						
							
								
									
										
										
										
											2020-01-26 12:52:51 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								         '404' : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           $ref :   '#/responses/404' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         '500' : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           $ref :   '#/responses/500' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								     delete : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       summary :   Delete the specific artifact 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       description :   Delete the artifact specified by the reference under the project and repository. The reference can be digest or tag 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       tags : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         - artifact 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       operationId :   deleteArtifact 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       parameters : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         - $ref :   '#/parameters/requestId' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         - $ref :   '#/parameters/projectName' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         - $ref :   '#/parameters/repositoryName' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         - $ref :   '#/parameters/reference' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       responses : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         '200' : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           $ref :   '#/responses/200' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         '401' : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           $ref :   '#/responses/401' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         '403' : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           $ref :   '#/responses/403' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         '404' : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           $ref :   '#/responses/404' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         '500' : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           $ref :   '#/responses/500' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								   /projects/{project_name}/repositories/{repository_name}/artifacts/{reference}/tags: 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								     post : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       summary :   Create tag 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       description :   Create a tag for the specified artifact 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       tags : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         - artifact 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       operationId :   createTag 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       parameters : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         - $ref :   '#/parameters/requestId' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         - $ref :   '#/parameters/projectName' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         - $ref :   '#/parameters/repositoryName' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         - $ref :   '#/parameters/reference' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         - name :   tag 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           in :   body 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           description :   The JSON object of tag. 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           required :   true 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           schema : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								             $ref :   '#/definitions/Tag' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       responses : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         '201' : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           $ref :   '#/responses/201' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         '400' : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           $ref :   '#/responses/400' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         '401' : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           $ref :   '#/responses/401' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         '403' : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           $ref :   '#/responses/403' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         '404' : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           $ref :   '#/responses/404' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         '409' : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           $ref :   '#/responses/409' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         '500' : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           $ref :   '#/responses/500' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								   /projects/{project_name}/repositories/{repository_name}/artifacts/{reference}/tags/{tag_name}: 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								     delete : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       summary :   Delete tag 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       description :   Delete the tag of the specified artifact 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       tags : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         - artifact 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       operationId :   deleteTag 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       parameters : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         - $ref :   '#/parameters/requestId' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         - $ref :   '#/parameters/projectName' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         - $ref :   '#/parameters/repositoryName' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         - $ref :   '#/parameters/reference' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         - $ref :   '#/parameters/tagName' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       responses : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         '200' : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           $ref :   '#/responses/200' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         '401' : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           $ref :   '#/responses/401' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         '403' : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           $ref :   '#/responses/403' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         '404' : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           $ref :   '#/responses/404' 
  
						 
					
						
							
								
									
										
										
										
											2020-01-14 10:20:18 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								         '500' : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           $ref :   '#/responses/500' 
  
						 
					
						
							
								
									
										
										
										
											2020-01-29 11:34:55 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								   /projects/{project_name}/repositories/{repository_name}/artifacts/{reference}/additions/{addition}: 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								     get : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       summary :   Get the addition of the specific artifact 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       description :   Get the addition of the artifact specified by the reference under the project and repository. 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       tags : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         - artifact 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       operationId :   getAddition 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       parameters : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         - $ref :   '#/parameters/requestId' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         - $ref :   '#/parameters/projectName' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         - $ref :   '#/parameters/repositoryName' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         - $ref :   '#/parameters/reference' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         - name :   addition 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           in :   path 
  
						 
					
						
							
								
									
										
										
										
											2020-01-27 20:32:14 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								           description :   The type of addition. 
  
						 
					
						
							
								
									
										
										
										
											2020-01-29 11:34:55 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								           type :   string 
  
						 
					
						
							
								
									
										
										
										
											2020-02-22 13:29:58 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								           enum :   [ build_history, values.yaml, readme.md, dependencies, vulnerabilities] 
  
						 
					
						
							
								
									
										
										
										
											2020-01-29 11:34:55 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								           required :   true 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       responses : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         '200' : 
  
						 
					
						
							
								
									
										
										
										
											2020-01-27 20:32:14 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								           $ref :   '#/responses/200' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         '400' : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           $ref :   '#/responses/400' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         '401' : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           $ref :   '#/responses/401' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         '403' : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           $ref :   '#/responses/403' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         '404' : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           $ref :   '#/responses/404' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         '500' : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           $ref :   '#/responses/500' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								   /projects/{project_name}/repositories/{repository_name}/artifacts/{reference}/labels: 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								     post : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       summary :   Add label to artifact 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       description :   Add label to the specified artiact. 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       tags : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         - artifact 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       operationId :   addLabel 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       parameters : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         - $ref :   '#/parameters/requestId' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         - $ref :   '#/parameters/projectName' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         - $ref :   '#/parameters/repositoryName' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         - $ref :   '#/parameters/reference' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         - name :   label 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           in :   body 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           description :   The label that added to the artifact. Only the ID property is needed. 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           required :   true 
  
						 
					
						
							
								
									
										
										
										
											2020-01-29 11:34:55 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								           schema : 
  
						 
					
						
							
								
									
										
										
										
											2020-01-27 20:32:14 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								             $ref :   '#/definitions/Label' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       responses : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         '200' : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           $ref :   '#/responses/200' 
  
						 
					
						
							
								
									
										
										
										
											2020-01-29 11:34:55 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								         '400' : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           $ref :   '#/responses/400' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         '401' : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           $ref :   '#/responses/401' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         '403' : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           $ref :   '#/responses/403' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         '404' : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           $ref :   '#/responses/404' 
  
						 
					
						
							
								
									
										
										
										
											2020-01-27 20:32:14 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								         '409' : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           $ref :   '#/responses/409' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         '500' : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           $ref :   '#/responses/500' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								   /projects/{project_name}/repositories/{repository_name}/artifacts/{reference}/labels/{label_id}: 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								     delete : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       summary :   Remove label from artifact 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       description :   Remove the label from the specified artiact. 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       tags : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         - artifact 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       operationId :   removeLabel 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       parameters : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         - $ref :   '#/parameters/requestId' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         - $ref :   '#/parameters/projectName' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         - $ref :   '#/parameters/repositoryName' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         - $ref :   '#/parameters/reference' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         - name :   label_id 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           in :   path 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           description :   The ID of the label that removed from the artifact. 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           type :   integer 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           format :   int64 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           required :   true 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       responses : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         '200' : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           $ref :   '#/responses/200' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         '401' : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           $ref :   '#/responses/401' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         '403' : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           $ref :   '#/responses/403' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         '404' : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           $ref :   '#/responses/404' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         '409' : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           $ref :   '#/responses/409' 
  
						 
					
						
							
								
									
										
										
										
											2020-01-29 11:34:55 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								         '500' : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           $ref :   '#/responses/500' 
  
						 
					
						
							
								
									
										
										
										
											2020-01-14 10:20:18 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								parameters : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								   requestId : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								     name :   X-Request-Id 
  
						 
					
						
							
								
									
										
										
										
											2020-01-16 08:04:22 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								     description :   An unique ID for the request 
  
						 
					
						
							
								
									
										
										
										
											2020-01-14 10:20:18 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								     in :   header 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								     type :   string 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								     required :   false 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								     minLength :   1 
  
						 
					
						
							
								
									
										
										
										
											2020-01-16 08:04:22 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								   projectName : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								     name :   project_name 
  
						 
					
						
							
								
									
										
										
										
											2020-01-14 10:20:18 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								     in :   path 
  
						 
					
						
							
								
									
										
										
										
											2020-01-16 08:04:22 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								     description :   The name of the project 
  
						 
					
						
							
								
									
										
										
										
											2020-01-14 10:20:18 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								     required :   true 
  
						 
					
						
							
								
									
										
										
										
											2020-01-16 08:04:22 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								     type :   string 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								   repositoryName : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								     name :   repository_name 
  
						 
					
						
							
								
									
										
										
										
											2020-01-14 10:20:18 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								     in :   path 
  
						 
					
						
							
								
									
										
										
										
											2020-01-16 08:04:22 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								     description :   The name of the repository 
  
						 
					
						
							
								
									
										
										
										
											2020-01-14 10:20:18 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								     required :   true 
  
						 
					
						
							
								
									
										
										
										
											2020-01-16 08:04:22 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								     type :   string 
  
						 
					
						
							
								
									
										
										
										
											2020-01-26 12:52:51 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								   reference : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								     name :   reference 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								     in :   path 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								     description :   The reference of the artifact, can be digest or tag 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								     required :   true 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								     type :   string 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								   tagName : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								     name :   tag_name 
  
						 
					
						
							
								
									
										
										
										
											2020-01-14 10:20:18 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								     in :   path 
  
						 
					
						
							
								
									
										
										
										
											2020-01-26 12:52:51 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								     description :   The name of the tag 
  
						 
					
						
							
								
									
										
										
										
											2020-01-14 10:20:18 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								     required :   true 
  
						 
					
						
							
								
									
										
										
										
											2020-01-16 08:04:22 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								     type :   string 
  
						 
					
						
							
								
									
										
										
										
											2020-01-14 10:20:18 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								   page : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								     name :   page 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								     in :   query 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								     type :   integer 
  
						 
					
						
							
								
									
										
										
										
											2020-01-16 08:04:22 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								     format :   int64 
  
						 
					
						
							
								
									
										
										
										
											2020-01-14 10:20:18 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								     required :   false 
  
						 
					
						
							
								
									
										
										
										
											2020-01-16 08:04:22 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								     description :   The page number 
  
						 
					
						
							
								
									
										
										
										
											2020-01-14 10:20:18 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								     default :   1 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								   pageSize : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								     name :   page_size 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								     in :   query 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								     type :   integer 
  
						 
					
						
							
								
									
										
										
										
											2020-01-16 08:04:22 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								     format :   int64 
  
						 
					
						
							
								
									
										
										
										
											2020-01-14 10:20:18 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								     required :   false 
  
						 
					
						
							
								
									
										
										
										
											2020-01-16 08:04:22 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								     description :   The size of per page 
  
						 
					
						
							
								
									
										
										
										
											2020-01-14 10:20:18 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								     default :   10 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								responses : 
  
						 
					
						
							
								
									
										
										
										
											2020-01-26 12:52:51 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								   '200' : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								     description :   Success 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								     headers : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       X-Request-Id : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         description :   The ID of the corresponding request for the response 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         type :   string 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								   '201' : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								     description :   Created 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								     headers : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       X-Request-Id : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         description :   The ID of the corresponding request for the response 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         type :   string 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								   '400' : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								     description :   Bad request 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								     headers : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       X-Request-Id : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         description :   The ID of the corresponding request for the response 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         type :   string 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								     schema : 
  
						 
					
						
							
								
									
										
										
										
											2020-01-26 10:36:25 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								       $ref :   '#/definitions/Errors' 
  
						 
					
						
							
								
									
										
										
										
											2020-01-14 10:20:18 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								   '401' : 
  
						 
					
						
							
								
									
										
										
										
											2020-01-16 08:04:22 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								     description :   Unauthorized 
  
						 
					
						
							
								
									
										
										
										
											2020-01-14 10:20:18 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								     headers : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       X-Request-Id : 
  
						 
					
						
							
								
									
										
										
										
											2020-01-16 08:04:22 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								         description :   The ID of the corresponding request for the response 
  
						 
					
						
							
								
									
										
										
										
											2020-01-14 10:20:18 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								         type :   string 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								     schema : 
  
						 
					
						
							
								
									
										
										
										
											2020-01-26 10:36:25 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								       $ref :   '#/definitions/Errors' 
  
						 
					
						
							
								
									
										
										
										
											2020-01-14 10:20:18 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								   '403' : 
  
						 
					
						
							
								
									
										
										
										
											2020-01-16 08:04:22 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								     description :   Forbidden 
  
						 
					
						
							
								
									
										
										
										
											2020-01-14 10:20:18 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								     headers : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       X-Request-Id : 
  
						 
					
						
							
								
									
										
										
										
											2020-01-16 08:04:22 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								         description :   The ID of the corresponding request for the response 
  
						 
					
						
							
								
									
										
										
										
											2020-01-14 10:20:18 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								         type :   string 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								     schema : 
  
						 
					
						
							
								
									
										
										
										
											2020-01-26 10:36:25 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								       $ref :   '#/definitions/Errors' 
  
						 
					
						
							
								
									
										
										
										
											2020-01-26 12:52:51 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								   '404' : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								     description :   Not found 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								     headers : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       X-Request-Id : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         description :   The ID of the corresponding request for the response 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         type :   string 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								     schema : 
  
						 
					
						
							
								
									
										
										
										
											2020-01-26 10:36:25 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								       $ref :   '#/definitions/Errors' 
  
						 
					
						
							
								
									
										
										
										
											2020-01-26 12:52:51 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								   '409' : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								     description :   Conflict 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								     headers : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       X-Request-Id : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         description :   The ID of the corresponding request for the response 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         type :   string 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								     schema : 
  
						 
					
						
							
								
									
										
										
										
											2020-01-26 10:36:25 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								       $ref :   '#/definitions/Errors' 
  
						 
					
						
							
								
									
										
										
										
											2020-01-14 10:20:18 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								   '500' : 
  
						 
					
						
							
								
									
										
										
										
											2020-01-16 08:04:22 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								     description :   Internal server error 
  
						 
					
						
							
								
									
										
										
										
											2020-01-14 10:20:18 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								     headers : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       X-Request-Id : 
  
						 
					
						
							
								
									
										
										
										
											2020-01-16 08:04:22 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								         description :   The ID of the corresponding request for the response 
  
						 
					
						
							
								
									
										
										
										
											2020-01-14 10:20:18 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								         type :   string 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								     schema : 
  
						 
					
						
							
								
									
										
										
										
											2020-01-26 10:36:25 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								       $ref :   '#/definitions/Errors' 
  
						 
					
						
							
								
									
										
										
										
											2020-01-14 10:20:18 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								definitions : 
  
						 
					
						
							
								
									
										
										
										
											2020-01-26 10:36:25 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								   Errors : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								     description :   The error array that describe the errors got during the handling of request 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								     type :   array 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								     items : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       $ref :   '#/definitions/Error' 
  
						 
					
						
							
								
									
										
										
										
											2020-01-14 10:20:18 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								   Error : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								     description :   a model for all the error response coming from harbor 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								     type :   object 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								     properties : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       code : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         type :   string 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         description :   The error code 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       message : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         type :   string 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         description :   The error message 
  
						 
					
						
							
								
									
										
										
										
											2020-02-18 15:51:38 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								   Repository : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								     type :   object 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								     properties : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       id : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         type :   integer 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         format :   int64 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         description :   The ID of the repository 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       project_id : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         type :   integer 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         format :   int64 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         description :   The ID of the project that the repository belongs to 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       name : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         type :   string 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         description :   The name of the repository 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       description : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         type :   string 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         description :   The description of the repository 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       artifact_count : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         type :   integer 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         format :   int64 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         description :   The count of the artifacts inside the repository 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       pull_count : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         type :   integer 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         format :   int64 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         description :   The count that the artifact inside the repository pulled 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       creation_time : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         type :   string 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         format :   date-time 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         description :   The creation time of the repository 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       update_time : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         type :   string 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         format :   date-time 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         description :   The update time of the repository 
  
						 
					
						
							
								
									
										
										
										
											2020-01-14 10:20:18 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								   Artifact : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								     type :   object 
  
						 
					
						
							
								
									
										
										
										
											2020-02-18 09:21:56 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								     x-go-type : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       import : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         package :   "github.com/goharbor/harbor/src/server/v2.0/handler/model" 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       type :   "Artifact" 
  
						 
					
						
							
								
									
										
										
										
											2020-01-14 10:20:18 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								     properties : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       id : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         type :   integer 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         format :   int64 
  
						 
					
						
							
								
									
										
										
										
											2020-01-16 08:04:22 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								         description :   The ID of the artifact 
  
						 
					
						
							
								
									
										
										
										
											2020-01-14 10:20:18 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								       type : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         type :   string 
  
						 
					
						
							
								
									
										
										
										
											2020-01-16 08:04:22 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								         description :   The type of the artifact, e.g. image, chart, etc 
  
						 
					
						
							
								
									
										
										
										
											2020-01-14 10:20:18 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								       media_type : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         type :   string 
  
						 
					
						
							
								
									
										
										
										
											2020-01-16 08:04:22 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								         description :   The media type of the artifact 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       manifest_media_type : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         type :   string 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         description :   The manifest media type of the artifact 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       project_id : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         type :   integer 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         format :   int64 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         description :   The ID of the project that the artifact belongs to 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       repository_id : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         type :   integer 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         format :   int64 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         description :   The ID of the repository that the artifact belongs to 
  
						 
					
						
							
								
									
										
										
										
											2020-01-14 10:20:18 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								       digest : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         type :   string 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         description :   The digest of the artifact 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       size : 
  
						 
					
						
							
								
									
										
										
										
											2020-01-16 08:04:22 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								         type :   integer 
  
						 
					
						
							
								
									
										
										
										
											2020-01-14 10:20:18 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								         format :   int64 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         description :   The size of the artifact 
  
						 
					
						
							
								
									
										
										
										
											2020-01-16 08:04:22 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								       push_time : 
  
						 
					
						
							
								
									
										
										
										
											2020-01-14 10:20:18 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								         type :   string 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         format :   date-time 
  
						 
					
						
							
								
									
										
										
										
											2020-01-16 08:04:22 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								         description :   The push time of the artifact 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       pull_time : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         type :   string 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         format :   date-time 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         description :   The latest pull time of the artifact 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       extra_attrs : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         $ref :   '#/definitions/ExtraAttrs' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       annotations : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         $ref :   '#/definitions/Annotations' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       references : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         type :   array 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         items : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           $ref :   '#/definitions/Reference' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       tags : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         type :   array 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         items : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           $ref :   '#/definitions/Tag' 
  
						 
					
						
							
								
									
										
										
										
											2020-01-29 11:34:55 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								       addition_links : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         $ref :   '#/definitions/AdditionLinks' 
  
						 
					
						
							
								
									
										
										
										
											2020-01-27 20:32:14 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								       labels : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         type :   array 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         items : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           $ref :   '#/definitions/Label' 
  
						 
					
						
							
								
									
										
										
										
											2020-02-22 13:29:58 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								       scan_overview : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         $ref :   '#/definitions/ScanOverview' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         description :   The overview of the scan result. 
  
						 
					
						
							
								
									
										
										
										
											2020-01-16 08:04:22 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								   Tag : 
  
						 
					
						
							
								
									
										
										
										
											2020-01-14 10:20:18 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								     type :   object 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								     properties : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       id : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         type :   integer 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         format :   int64 
  
						 
					
						
							
								
									
										
										
										
											2020-01-16 08:04:22 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								         description :   The ID of the tag 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       repository_id : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         type :   integer 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         format :   int64 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         description :   The ID of the repository that the tag belongs to 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       artifact_id : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         type :   integer 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         format :   int64 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         description :   The ID of the artifact that the tag attached to 
  
						 
					
						
							
								
									
										
										
										
											2020-01-14 10:20:18 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								       name : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         type :   string 
  
						 
					
						
							
								
									
										
										
										
											2020-01-16 08:04:22 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								         description :   The name of the tag 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       push_time : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         type :   string 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         format :   date-time 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         description :   The push time of the tag 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       pull_time : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         type :   string 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         format :   date-time 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         description :   The latest pull time of the tag 
  
						 
					
						
							
								
									
										
										
										
											2020-02-04 17:34:56 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								       immutable : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         type :   boolean 
  
						 
					
						
							
								
									
										
										
										
											2020-01-29 11:34:55 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								         x-omitempty :   false 
  
						 
					
						
							
								
									
										
										
										
											2020-02-04 17:34:56 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								         description :   The immutable status of the tag 
  
						 
					
						
							
								
									
										
										
										
											2020-02-18 01:42:56 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								       signed : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         type :   boolean 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         x-omitempty :   false 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         description :   The attribute indicates whether the tag is signed or not 
  
						 
					
						
							
								
									
										
										
										
											2020-01-16 08:04:22 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								   ExtraAttrs : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								     type :   object 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								     additionalProperties : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       type :   object 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								   Annotations : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								     type :   object 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								     additionalProperties : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       type :   string 
  
						 
					
						
							
								
									
										
										
										
											2020-01-29 11:34:55 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								   AdditionLinks : 
  
						 
					
						
							
								
									
										
										
										
											2020-01-16 08:04:22 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								     type :   object 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								     additionalProperties : 
  
						 
					
						
							
								
									
										
										
										
											2020-01-29 11:34:55 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								       $ref :   '#/definitions/AdditionLink' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								   AdditionLink : 
  
						 
					
						
							
								
									
										
										
										
											2020-01-16 08:04:22 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								     type :   object 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								     properties : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       href : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         type :   string 
  
						 
					
						
							
								
									
										
										
										
											2020-01-29 11:34:55 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								         description :   The link of the addition 
  
						 
					
						
							
								
									
										
										
										
											2020-01-16 08:04:22 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								       absolute : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         type :   boolean 
  
						 
					
						
							
								
									
										
										
										
											2020-01-29 11:34:55 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								         x-omitempty :   false 
  
						 
					
						
							
								
									
										
										
										
											2020-01-16 08:04:22 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								         description :   Determine whether the link is an absolute URL or not 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								   Reference : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								     type :   object 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								     properties : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       parent_id : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         type :   integer 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         format :   int64 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         description :   The parent ID of the reference 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       child_id : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         type :   integer 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         format :   int64 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         description :   The child ID of the reference 
  
						 
					
						
							
								
									
										
										
										
											2020-02-02 09:13:51 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								       child_digest : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         type :   string 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         description :   The digest of the child artifact 
  
						 
					
						
							
								
									
										
										
										
											2020-01-16 08:04:22 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								       platform : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         $ref :   '#/definitions/Platform' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								   Platform : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								     type :   object 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								     properties : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       architecture : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         type :   string 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         description :   The architecture that the artifact applys to 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       os : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         type :   string 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         description :   The OS that the artifact applys to 
  
						 
					
						
							
								
									
										
										
										
											2020-02-14 11:41:34 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								       '''os.version''' : 
  
						 
					
						
							
								
									
										
										
										
											2020-01-16 08:04:22 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								         type :   string 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         description :   The version of the OS that the artifact applys to 
  
						 
					
						
							
								
									
										
										
										
											2020-02-14 11:41:34 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								       '''os.features''' : 
  
						 
					
						
							
								
									
										
										
										
											2020-01-16 08:04:22 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								         type :   array 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         description :   The features of the OS that the artifact applys to 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         items : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           type :   string 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       variant : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         type :   string 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         description :   The variant of the CPU 
  
						 
					
						
							
								
									
										
										
										
											2020-01-27 20:32:14 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								   Label : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								     type :   object 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								     properties : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       id : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         type :   integer 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         format :   int64 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         description :   The ID of the label 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       name : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         type :   string 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         description :   The name the label 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       description : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         type :   string 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         description :   The description the label 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       color : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         type :   string 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         description :   The color the label 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       scope : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         type :   string 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         description :   The scope the label 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       project_id : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         type :   integer 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         format :   int64 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         description :   The ID of project that the label belongs to 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       creation_time : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         type :   string 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         format :   date-time 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         description :   The creation time the label 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       update_time : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         type :   string 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         format :   date-time 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         description :   The update time of the label 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       deleted : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         type :   boolean 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         description :   Whether the label is deleted or not 
  
						 
					
						
							
								
									
										
										
										
											2020-02-22 13:29:58 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								   ScanOverview : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								     type :   object 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								     description :   'The scan overview attached in the metadata of tag' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								     additionalProperties : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       $ref :   '#/definitions/NativeReportSummary' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								   NativeReportSummary : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								     type :   object 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								     description :   'The summary for the native report' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								     properties : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       report_id : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         type :   string 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         description :   'id of the native scan report' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         example :   '5f62c830-f996-11e9-957f-0242c0a89008' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       scan_status : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         type :   string 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         description :   'The status of the report generating process' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         example :   'Success' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       severity : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         type :   string 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         description :   'The overall severity' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         example :   'High' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       duration : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         type :   integer 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         format :   int64 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         description :   'The seconds spent for generating the report' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         example :   300 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       summary : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         $ref :   '#/definitions/VulnerabilitySummary' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       start_time : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         type :   string 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         format :   date-time 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         description :   'The start time of the scan process that generating report' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         example :   '2006-01-02T14:04:05' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       end_time : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         type :   string 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         format :   date-time 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         description :   'The end time of the scan process that generating report' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         example :   '2006-01-02T15:04:05' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								   VulnerabilitySummary : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								     type :   object 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								     description :   | 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       VulnerabilitySummary contains the total number of the foun d vulnerabilities number and numbers of each severity level. 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								     properties : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       total : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         type :   integer 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         format :   int 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         description :   'The total number of the found vulnerabilities' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         example :   500 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       fixable : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         type :   integer 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         format :   int 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         description :   'The number of the fixable vulnerabilities' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         example :   100 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       summary : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         type :   object 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         description :   'Numbers of the vulnerabilities with different severity' 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         additionalProperties : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           type :   integer 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           format :   int 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           example :   10 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         example : 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           'Critical' :   5 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           'High' :   5