Skip to content

Commit 68c74f9

Browse files
committed
Add notify build start
1 parent a342a90 commit 68c74f9

File tree

5 files changed

+301
-0
lines changed

5 files changed

+301
-0
lines changed

go/plumbing/operations/notify_build_start_parameters.go

Lines changed: 134 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

go/plumbing/operations/notify_build_start_responses.go

Lines changed: 104 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

go/plumbing/operations/operations_client.go

Lines changed: 29 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

swagger.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -699,6 +699,19 @@ paths:
699699
description: No content
700700
default:
701701
$ref: "#/responses/error"
702+
/builds/{build_id}/start:
703+
parameters:
704+
- name: build_id
705+
type: string
706+
in: path
707+
required: true
708+
post:
709+
operationId: notifyBuildStart
710+
responses:
711+
'204':
712+
description: No content
713+
default:
714+
$ref: "#/responses/error"
702715
/sites/{site_id}/dns:
703716
parameters:
704717
- name: site_id

ui/swagger.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,27 @@
233233
}
234234
]
235235
},
236+
"/builds/{build_id}/start": {
237+
"post": {
238+
"operationId": "notifyBuildStart",
239+
"responses": {
240+
"204": {
241+
"description": "No content"
242+
},
243+
"default": {
244+
"$ref": "#/responses/error"
245+
}
246+
}
247+
},
248+
"parameters": [
249+
{
250+
"type": "string",
251+
"name": "build_id",
252+
"in": "path",
253+
"required": true
254+
}
255+
]
256+
},
236257
"/deploy_keys": {
237258
"get": {
238259
"operationId": "listDeployKeys",

0 commit comments

Comments
 (0)