Merge "Add parameterized builds to the index and openapi spec"

This commit is contained in:
Zuul
2026-06-06 15:10:02 +00:00
committed by Gerrit Code Review
2 changed files with 53 additions and 1 deletions
+51 -1
View File
@@ -1140,6 +1140,38 @@ paths:
summary: ''
tags:
- tenant
/api/tenant/{tenant_name}/project/{project_name}/freeze-pipeline:
post:
operationId: project_freeze_pipeline
parameters:
- in: path
name: tenant_name
required: true
schema:
type: string
- in: path
name: project_name
required: true
schema:
type: string
requestBody:
description: ''
required: true
content:
application/json:
schema:
type: object
properties:
ref:
type: string
pipeline:
type: string
responses:
'200':
description: Response not yet documented
summary: ''
tags:
- tenant
/api/tenant/{tenant_name}/pipeline/{pipeline_name}/project/{project_name}/branch/{branch_name}/freeze-job/{job_name}:
get:
operationId: project_freeze_job
@@ -1327,8 +1359,26 @@ paths:
tags:
- tenant
/api/tenant/{tenant_name}/project/{project_name}/enqueue:
get:
post:
operationId: enqueue
requestBody:
description: ''
required: false
content:
application/json:
schema:
type: object
properties:
pipeline:
type: string
ref:
type: string
oldrev:
type: string
newrev:
type: string
parameters:
type: object
parameters:
- in: path
name: tenant_name
+2
View File
@@ -1870,6 +1870,8 @@ class ZuulWebAPI(object):
'job': '/api/tenant/{tenant}/job/{job_name}',
'projects': '/api/tenant/{tenant}/projects',
'project': '/api/tenant/{tenant}/project/{project:.*}',
'project_freeze_pipeline': '/api/tenant/{tenant}/project/'
'{project:.*}/freeze-pipeline',
'project_freeze_jobs': '/api/tenant/{tenant}/pipeline/{pipeline}/'
'project/{project:.*}/branch/{branch:.*}/'
'freeze-jobs',