Chapter 3. build
Create, list, cancel and get status/logs of repository builds.
3.1. getRepoBuildStatus Copy linkLink copied to clipboard!
Return the status for the builds specified by the build uuids.
GET /api/v1/repository/{repository}/build/{build_uuid}/status
Authorizations: oauth2_implicit (repo:read)
Path parameters
| Type | Name | Description | Schema | 
|---|---|---|---|
|   path  |   
								repository  |   The full path of the repository. e.g. namespace/name  |   string  | 
|   path  |   
								build_uuid  |   The UUID of the build  |   string  | 
Responses
3.2. getRepoBuildLogs Copy linkLink copied to clipboard!
Return the build logs for the build specified by the build uuid.
GET /api/v1/repository/{repository}/build/{build_uuid}/logs
Authorizations: oauth2_implicit (repo:read)
Path parameters
| Type | Name | Description | Schema | 
|---|---|---|---|
|   path  |   
								repository  |   The full path of the repository. e.g. namespace/name  |   string  | 
|   path  |   
								build_uuid  |   The UUID of the build  |   string  | 
Responses
3.3. getRepoBuild Copy linkLink copied to clipboard!
Returns information about a build.
GET /api/v1/repository/{repository}/build/{build_uuid}
Authorizations: oauth2_implicit (repo:read)
Path parameters
| Type | Name | Description | Schema | 
|---|---|---|---|
|   path  |   
								repository  |   The full path of the repository. e.g. namespace/name  |   string  | 
|   path  |   
								build_uuid  |   The UUID of the build  |   string  | 
Responses
3.4. cancelRepoBuild Copy linkLink copied to clipboard!
Cancels a repository build.
DELETE /api/v1/repository/{repository}/build/{build_uuid}
Authorizations: oauth2_implicit (repo:admin)
Path parameters
| Type | Name | Description | Schema | 
|---|---|---|---|
|   path  |   
								repository  |   The full path of the repository. e.g. namespace/name  |   string  | 
|   path  |   
								build_uuid  |   The UUID of the build  |   string  | 
Responses
3.5. requestRepoBuild Copy linkLink copied to clipboard!
Request that a repository be built and pushed from the specified input.
POST /api/v1/repository/{repository}/build/
Authorizations: oauth2_implicit (repo:write)
Path parameters
| Type | Name | Description | Schema | 
|---|---|---|---|
|   path  |   
								repository  |   The full path of the repository. e.g. namespace/name  |   string  | 
Request body schema (application/json)
Description of a new repository build.
| Name | Description | Schema | 
|---|---|---|
|   
								file_id  |   The file id that was generated when the build spec was uploaded  |   string  | 
|   
								archive_url  |   The URL of the .tar.gz to build. Must start with "http" or "https".  |   string  | 
|   
								subdirectory  |   Subdirectory in which the Dockerfile can be found. You can only specify this or dockerfile_path  |   string  | 
|   
								dockerfile_path  |   Path to a dockerfile. You can only specify this or subdirectory.  |   string  | 
|   
								context  |   Pass in the context for the dockerfile. This is optional.  |   string  | 
|   
								pull_robot  |   Username of a Quay robot account to use as pull credentials  |   string  | 
|   
								tags  |   The tags to which the built images will be pushed. If none specified, "latest" is used.  |   
								array of string  | 
Responses
3.6. getRepoBuilds Copy linkLink copied to clipboard!
Get the list of repository builds.
GET /api/v1/repository/{repository}/build/
Authorizations: oauth2_implicit (repo:read)
Path parameters
| Type | Name | Description | Schema | 
|---|---|---|---|
|   path  |   
								repository  |   The full path of the repository. e.g. namespace/name  |   string  | 
Query parameters
| Type | Name | Description | Schema | 
|---|---|---|---|
|   query  |   
								since  |   Returns all builds since the given unix timecode  |   integer  | 
|   query  |   
								limit  |   The maximum number of builds to return  |   integer  |