Skip to content

Add notify build start #77

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 31, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
134 changes: 134 additions & 0 deletions go/plumbing/operations/notify_build_start_parameters.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

104 changes: 104 additions & 0 deletions go/plumbing/operations/notify_build_start_responses.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

29 changes: 29 additions & 0 deletions go/plumbing/operations/operations_client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions swagger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -699,6 +699,19 @@ paths:
description: No content
default:
$ref: "#/responses/error"
/builds/{build_id}/start:
parameters:
- name: build_id
type: string
in: path
required: true
post:
operationId: notifyBuildStart
responses:
'204':
description: No content
default:
$ref: "#/responses/error"
/sites/{site_id}/dns:
parameters:
- name: site_id
Expand Down
21 changes: 21 additions & 0 deletions ui/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,27 @@
}
]
},
"/builds/{build_id}/start": {
"post": {
"operationId": "notifyBuildStart",
"responses": {
"204": {
"description": "No content"
},
"default": {
"$ref": "#/responses/error"
}
}
},
"parameters": [
{
"type": "string",
"name": "build_id",
"in": "path",
"required": true
}
]
},
"/deploy_keys": {
"get": {
"operationId": "listDeployKeys",
Expand Down