Skip to content
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

fix: examples for 'Update existing integration' v1 api #366

Merged
merged 1 commit into from
Sep 18, 2024
Merged
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
25 changes: 21 additions & 4 deletions docs/.gitbook/assets/v1-api-spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1938,10 +1938,27 @@ paths:
type: github
broker:
enabled: true
example:
type: github
broker:
enabled: true
examples:
setupExistingIntegration:
summary: Set up a broker for an existing integration
value:
type: github
broker:
enabled: true
updateCredentials:
summary: Update credentials for an existing non-brokered integration
value:
type: gitlab
credentials:
token: GITLAB_TOKEN
disableBroker:
summary: Disable broker for an existing integration
value:
type: github
broker:
enabled: false
credentials:
token: GITHUB_TOKEN
required: true
responses:
'200':
Expand Down