Use this API to manage integrations for a project, or for a group and its subgroups.
Managing integrations requires the Maintainer or Owner role for the project or group.
List all active integrations
GET /api/v4/groups/{id}/integrations
Lists all active integrations.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
401 | Unauthorized | — |
404 | Not found | — |
Create or update the Apple App Store integration
PUT /api/v4/groups/{id}/integrations/apple-app-store
Creates or updates the Apple App Store integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
app_Required | String | Apple App Store Connect issuer ID |
app_Required | String | Apple App Store Connect key ID |
app_Required | String | Apple App Store Connect private key |
app_Required | String | Apple App Store Connect private key file name |
app_ | Boolean | Set variables on protected branches and tags only |
use_ | Boolean | Indicates whether to inherit the default settings.false |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Asana integration
PUT /api/v4/groups/{id}/integrations/asana
Creates or updates the Asana integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
api_Required | String | User API token. |
push_ | Boolean | Trigger event for pushes to the repository |
restrict_ | String | Comma- |
use_ | Boolean | Indicates whether to inherit the default settings.false |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Assembla integration
PUT /api/v4/groups/{id}/integrations/assembla
Creates or updates the Assembla integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
push_ | Boolean | Trigger event for pushes to the repository |
subdomain | String | The subdomain setting |
tokenRequired | String | The authentication token |
use_ | Boolean | Indicates whether to inherit the default settings.false |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Bamboo integration
PUT /api/v4/groups/{id}/integrations/bamboo
Creates or updates the Bamboo integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
bamboo_Required | String | Bamboo root URL (for example,https:) |
build_Required | String | Bamboo build plan key (for example,KEY) |
enable_ | Boolean | Enable SSL verification.true (enabled) |
passwordRequired | String | Password of the user |
push_ | Boolean | Trigger event for pushes to the repository |
use_ | Boolean | Indicates whether to inherit the default settings.false |
usernameRequired | String | User with API access to the Bamboo server |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Bugzilla integration
PUT /api/v4/groups/{id}/integrations/bugzilla
Creates or updates the Bugzilla integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
issues_Required | String | URL of the issue |
new_Required | String | URL of the new issue |
project_Required | String | URL of the project |
push_ | Boolean | Trigger event for pushes to the repository |
use_ | Boolean | Indicates whether to inherit the default settings.false |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Buildkite integration
PUT /api/v4/groups/{id}/integrations/buildkite
Creates or updates the Buildkite integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
enable_ | Boolean | DEPRECATED: |
merge_ | Boolean | Trigger event when a merge request is created, |
project_Required | String | Pipeline URL (for example,https:) |
push_ | Boolean | Trigger event for pushes to the repository |
tag_ | Boolean | Trigger event for new tags pushed to the repository |
tokenRequired | String | Token you get after you create a Buildkite pipeline with a Deckhouse Code repository |
use_ | Boolean | Indicates whether to inherit the default settings.false |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Campfire integration
PUT /api/v4/groups/{id}/integrations/campfire
Creates or updates the Campfire integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
push_ | Boolean | Trigger event for pushes to the repository |
room | String | ID portion of the Campfire room URL |
subdomain | String | . subdomain when you’re signed in |
tokenRequired | String | API authentication token from Campfire. |
use_ | Boolean | Indicates whether to inherit the default settings.false |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Clickup integration
PUT /api/v4/groups/{id}/integrations/clickup
Creates or updates the Clickup integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
issues_Required | String | URL of the issue |
project_Required | String | URL of the project |
push_ | Boolean | Trigger event for pushes to the repository |
use_ | Boolean | Indicates whether to inherit the default settings.false |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Code Scoring integration
PUT /api/v4/groups/{id}/integrations/code-scoring
Creates or updates the Code Scoring integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
codescoring_ | String | Optional. |
codescoring_ | String | Optional. |
codescoring_ | String | PEM certificate of the authority that signed the server’s certificate. |
codescoring_ | Boolean | Let the Code |
codescoring_ | String | Optional. |
codescoring_ | String | Optional. |
codescoring_ | String | What to scan: |
codescoring_ | String | Optional. |
codescoring_ | String | The policy stage this scan reports as. |
codescoring_ | String | How the scan job decides whether to trust the Code |
codescoring_Required | String | API token to authenticate and download the Johnny agent |
codescoring_Required | String | Base URL of the Code |
use_ | Boolean | Indicates whether to inherit the default settings.false |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Confluence integration
PUT /api/v4/groups/{id}/integrations/confluence
Creates or updates the Confluence integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
confluence_Required | String | URL of the Confluence Workspace hosted on atlassian. |
use_ | Boolean | Indicates whether to inherit the default settings.false |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Custom Issue Tracker integration
PUT /api/v4/groups/{id}/integrations/custom-issue-tracker
Creates or updates the Custom Issue Tracker integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
issues_Required | String | URL of the issue |
new_Required | String | URL of the new issue |
project_Required | String | URL of the project |
push_ | Boolean | Trigger event for pushes to the repository |
use_ | Boolean | Indicates whether to inherit the default settings.false |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Datadog integration
PUT /api/v4/groups/{id}/integrations/datadog
Creates or updates the Datadog integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
api_Required | String | API key used for authentication with Datadog |
api_ | String | Full URL of your Datadog site. |
archive_ | Boolean | When enabled, |
build_ | Boolean | Trigger event when a build is created |
datadog_ | Boolean | Enable CI Visibility |
datadog_ | String | For self-env tag for all the data sent to Datadog |
datadog_ | String | Tag all pipeline data from this Deckhouse Code instance in Datadog. |
datadog_ | String | Datadog site to send data to. |
datadog_ | String | Custom tags in Datadog.key: |
merge_ | Boolean | Trigger event when a merge request is created, |
note_ | Boolean | Trigger event for new comments |
pipeline_ | Boolean | Trigger event when a pipeline status changes |
project_ | Boolean | — |
push_ | Boolean | Trigger event for pushes to the repository |
subgroup_ | Boolean | — |
tag_ | Boolean | Trigger event for new tags pushed to the repository |
use_ | Boolean | Indicates whether to inherit the default settings.false |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Defect Dojo integration
PUT /api/v4/groups/{id}/integrations/defect-dojo
Creates or updates the Defect Dojo integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
api_Required | String | Token used to authenticate with the Defect |
auto_ | Boolean | — |
ca_ | String | PEM certificate of the authority that signed the server’s certificate. |
close_ | Boolean | — |
engagement_ | String | Defect |
findings_ | Boolean | — |
findings_ | Boolean | — |
minimum_ | String | Ignore findings below this severity on import |
product_ | String | Defect |
product_ | String | Defect |
tls_ | String | How this instance decides whether to trust the Defect |
urlRequired | String | Base URL of your Defect |
use_ | Boolean | Indicates whether to inherit the default settings.false |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Diffblue Cover integration
PUT /api/v4/groups/{id}/integrations/diffblue-cover
Creates or updates the Diffblue Cover integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
diffblue_Required | String | Access token name used by Diffblue Cover in pipelines |
diffblue_Required | String | Access token secret used by Diffblue Cover in pipelines |
diffblue_Required | String | Diffblue Cover license key |
use_ | Boolean | Indicates whether to inherit the default settings.false |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Discord integration
PUT /api/v4/groups/{id}/integrations/discord
Creates or updates the Discord integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
alert_ | String | The name of the channel to receive alert_ |
branches_ | String | Branches to send notifications for.all,default,protected,default_.default |
confidential_ | String | The name of the channel to receive confidential_ |
confidential_ | Boolean | Trigger event when a confidential work item is created, |
confidential_ | String | The name of the channel to receive confidential_ |
confidential_ | Boolean | Trigger event for new comments on confidential work items |
confidential_ | Boolean | — |
deployment_ | String | The name of the channel to receive deployment_ |
deployment_ | Boolean | Trigger event when a deployment starts or finishes |
incident_ | String | The name of the channel to receive incident_ |
issue_ | String | The name of the channel to receive issues_ |
issues_ | Boolean | Trigger event when a work item is created, |
merge_ | String | The name of the channel to receive merge_ |
merge_ | Boolean | Trigger event when a merge request is created, |
note_ | String | The name of the channel to receive note_ |
note_ | Boolean | Trigger event for new comments |
notify_ | Boolean | Send notifications for broken pipelines |
notify_ | Boolean | Send notifications only when the pipeline status changes |
pipeline_ | String | The name of the channel to receive pipeline_ |
pipeline_ | Boolean | Trigger event when a pipeline status changes |
push_ | String | The name of the channel to receive push_ |
push_ | Boolean | Trigger event for pushes to the repository |
tag_ | String | The name of the channel to receive tag_ |
tag_ | Boolean | Trigger event for new tags pushed to the repository |
use_ | Boolean | Indicates whether to inherit the default settings.false |
webhookRequired | String | Discord webhook (for example,https:) |
wiki_ | String | The name of the channel to receive wiki_ |
wiki_ | Boolean | Trigger event when a wiki page is created or updated |
work_ | Boolean | — |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Drone Ci integration
PUT /api/v4/groups/{id}/integrations/drone-ci
Creates or updates the Drone Ci integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
drone_Required | String | Drone CI URL (for example,http:) |
enable_ | Boolean | Enable SSL verification.true (enabled) |
merge_ | Boolean | Trigger event when a merge request is created, |
push_ | Boolean | Trigger event for pushes to the repository |
tag_ | Boolean | Trigger event for new tags pushed to the repository |
tokenRequired | String | Drone CI token |
use_ | Boolean | Indicates whether to inherit the default settings.false |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Emails On Push integration
PUT /api/v4/groups/{id}/integrations/emails-on-push
Creates or updates the Emails On Push integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
branches_ | String | Branches to send notifications for.all,default,protected,default_.default |
disable_ | Boolean | Disable code diffs |
push_ | Boolean | Trigger event for pushes to the repository |
recipientsRequired | String | Emails separated by whitespace |
send_ | Boolean | Send from committer |
tag_ | Boolean | Trigger event for new tags pushed to the repository |
use_ | Boolean | Indicates whether to inherit the default settings.false |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Ewm integration
PUT /api/v4/groups/{id}/integrations/ewm
Creates or updates the Ewm integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
issues_Required | String | URL of the issue |
new_Required | String | URL of the new issue |
project_Required | String | URL of the project |
push_ | Boolean | Trigger event for pushes to the repository |
use_ | Boolean | Indicates whether to inherit the default settings.false |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the External Wiki integration
PUT /api/v4/groups/{id}/integrations/external-wiki
Creates or updates the External Wiki integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
external_Required | String | URL of the external wiki |
use_ | Boolean | Indicates whether to inherit the default settings.false |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Gitlab Slack Application integration
PUT /api/v4/groups/{id}/integrations/gitlab-slack-application
Creates or updates the Gitlab Slack Application integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
alert_ | String | The name of the channel to receive alert_ |
alert_ | Boolean | Trigger event when a new, |
branches_ | String | Branches to send notifications for.all,default,protected,default_.default |
channel | String | Default channel to use if no other channel is configured |
confidential_ | String | The name of the channel to receive confidential_ |
confidential_ | Boolean | Trigger event when a confidential work item is created, |
confidential_ | String | The name of the channel to receive confidential_ |
confidential_ | Boolean | Trigger event for new comments on confidential work items |
confidential_ | Boolean | — |
deployment_ | String | The name of the channel to receive deployment_ |
deployment_ | Boolean | Trigger event when a deployment starts or finishes |
incident_ | String | The name of the channel to receive incident_ |
incident_ | Boolean | Trigger event when an incident is created |
issue_ | String | The name of the channel to receive issues_ |
issues_ | Boolean | Trigger event when a work item is created, |
labels_ | String | Labels to send notifications for. |
labels_ | String | Labels to be notified for.match_ and match_.match_ |
merge_ | String | The name of the channel to receive merge_ |
merge_ | Boolean | Trigger event when a merge request is created, |
note_ | String | The name of the channel to receive note_ |
note_ | Boolean | Trigger event for new comments |
notify_ | Boolean | Send notifications for broken pipelines |
notify_ | Boolean | Send notifications only when the pipeline status changes |
pipeline_ | String | The name of the channel to receive pipeline_ |
pipeline_ | Boolean | Trigger event when a pipeline status changes |
push_ | String | The name of the channel to receive push_ |
push_ | Boolean | Trigger event for pushes to the repository |
tag_ | String | The name of the channel to receive tag_ |
tag_ | Boolean | Trigger event for new tags pushed to the repository |
use_ | Boolean | Indicates whether to inherit the default settings.false |
wiki_ | String | The name of the channel to receive wiki_ |
wiki_ | Boolean | Trigger event when a wiki page is created or updated |
work_ | Boolean | — |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Google Play integration
PUT /api/v4/groups/{id}/integrations/google-play
Creates or updates the Google Play integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
google_ | Boolean | Set variables on protected branches and tags only |
package_Required | String | Package name of the app in Google Play |
service_Required | String | Google Play service account key |
service_Required | String | File name of the Google Play service account key |
use_ | Boolean | Indicates whether to inherit the default settings.false |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Hangouts Chat integration
PUT /api/v4/groups/{id}/integrations/hangouts-chat
Creates or updates the Hangouts Chat integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
branches_ | String | Branches to send notifications for.all,default,protected,default_.default |
confidential_ | Boolean | Trigger event when a confidential work item is created, |
confidential_ | Boolean | Trigger event for new comments on confidential work items |
confidential_ | Boolean | — |
issues_ | Boolean | Trigger event when a work item is created, |
merge_ | Boolean | Trigger event when a merge request is created, |
note_ | Boolean | Trigger event for new comments |
notify_ | Boolean | Send notifications for broken pipelines |
notify_ | Boolean | Send notifications only when the pipeline status changes |
pipeline_ | Boolean | Trigger event when a pipeline status changes |
push_ | Boolean | Trigger event for pushes to the repository |
tag_ | Boolean | Trigger event for new tags pushed to the repository |
use_ | Boolean | Indicates whether to inherit the default settings.false |
webhookRequired | String | The Hangouts Chat webhook (for example,https:) |
wiki_ | Boolean | Trigger event when a wiki page is created or updated |
work_ | Boolean | — |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Harbor integration
PUT /api/v4/groups/{id}/integrations/harbor
Creates or updates the Harbor integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
passwordRequired | String | The password of the user |
project_Required | String | The name of the project in the Harbor instance.testproject |
urlRequired | String | The base URL to the Harbor instance linked to the Deckhouse Code project.https: |
use_ | Boolean | Indicates whether to inherit the default settings.false |
usernameRequired | String | The username created in the Harbor interface |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Irker integration
PUT /api/v4/groups/{id}/integrations/irker
Creates or updates the Irker integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
colorize_ | Boolean | Colorize messages |
default_ | String | URI to add before each recipient.irc: |
push_ | Boolean | Trigger event for pushes to the repository |
recipientsRequired | String | Comma- |
server_ | String | irker daemon hostname.localhost |
server_ | Integer | irker daemon port.6659 |
use_ | Boolean | Indicates whether to inherit the default settings.false |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Jenkins integration
PUT /api/v4/groups/{id}/integrations/jenkins
Creates or updates the Jenkins integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
enable_ | Boolean | Enable SSL verification.true (enabled) |
jenkins_Required | String | URL of the Jenkins server |
merge_ | Boolean | Trigger event when a merge request is created, |
password | String | Password of the Jenkins server |
project_Required | String | Name of the Jenkins project |
push_ | Boolean | Trigger event for pushes to the repository |
tag_ | Boolean | Trigger event for new tags pushed to the repository |
use_ | Boolean | Indicates whether to inherit the default settings.false |
username | String | Username of the Jenkins server |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Jira integration
PUT /api/v4/groups/{id}/integrations/jira
Creates or updates the Jira integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
api_ | String | The base URL to the Jira instance API.https:) |
comment_ | Boolean | Enable comments inside Jira issues on each Git |
commit_ | Boolean | Trigger event when a commit is created or updated |
issues_ | String | Enable viewing Jira issues in Deckhouse Code |
jira_ | Integer | The authentication method to use with Jira.0 for basic authentication,1 for Jira personal access token,2 for Jira Cloud service accounts.0 |
jira_ | String | Prefix to match Jira issue keys |
jira_ | String | Regular expression to match Jira issue keys |
jira_ | String | The ID of one or more transitions for custom issue transitions.jira_ is enabled. |
merge_ | Boolean | Trigger event when a merge request is created, |
passwordRequired | String | The Jira API token,jira_ is 0),jira_ is 1), |
project_ | Array of strings | Keys of Jira projects to display.issues_ is true, |
urlRequired | String | The URL to the Jira project which is being linked to this Deckhouse Code project (for example,https:) |
use_ | Boolean | Indicates whether to inherit the default settings.false |
username | String | The email or username to use with Jira.jira_ is 0) |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Jira Cloud App integration
PUT /api/v4/groups/{id}/integrations/jira-cloud-app
Creates or updates the Jira Cloud App integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
jira_ | String | Enter the environment (production, |
jira_ | Boolean | Enable to approve or reject blocked Deckhouse Code deployments from Jira Service Management |
jira_ | String | Copy and paste your JSM Service ID here. |
use_ | Boolean | Indicates whether to inherit the default settings.false |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Linear integration
PUT /api/v4/groups/{id}/integrations/linear
Creates or updates the Linear integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
push_ | Boolean | Trigger event for pushes to the repository |
use_ | Boolean | Indicates whether to inherit the default settings.false |
workspace_Required | String | Linear workspace URL (for example, |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Matrix integration
PUT /api/v4/groups/{id}/integrations/matrix
Creates or updates the Matrix integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
branches_ | String | Branches to send notifications for.all,default,protected,default_.default |
confidential_ | Boolean | Trigger event when a confidential work item is created, |
confidential_ | Boolean | Trigger event for new comments on confidential work items |
confidential_ | Boolean | — |
hostname | String | Custom hostname of the Matrix server.https: |
incident_ | Boolean | Trigger event when an incident is created |
issues_ | Boolean | Trigger event when a work item is created, |
merge_ | Boolean | Trigger event when a merge request is created, |
note_ | Boolean | Trigger event for new comments |
notify_ | Boolean | Send notifications for broken pipelines |
notify_ | Boolean | Send notifications only when the pipeline status changes |
pipeline_ | Boolean | Trigger event when a pipeline status changes |
push_ | Boolean | Trigger event for pushes to the repository |
roomRequired | String | Unique identifier for the target room (in the format !q) |
tag_ | Boolean | Trigger event for new tags pushed to the repository |
tokenRequired | String | The Matrix access token (for example,syt-) |
use_ | Boolean | Indicates whether to inherit the default settings.false |
wiki_ | Boolean | Trigger event when a wiki page is created or updated |
work_ | Boolean | — |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Mattermost integration
PUT /api/v4/groups/{id}/integrations/mattermost
Creates or updates the Mattermost integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
alert_ | String | The name of the channel to receive alert_ |
branches_ | String | Branches to send notifications for.all,default,protected,default_.default |
channel | String | Default channel to use if no other channel is configured |
confidential_ | String | The name of the channel to receive confidential_ |
confidential_ | Boolean | Trigger event when a confidential work item is created, |
confidential_ | String | The name of the channel to receive confidential_ |
confidential_ | Boolean | Trigger event for new comments on confidential work items |
confidential_ | Boolean | — |
deployment_ | String | The name of the channel to receive deployment_ |
deployment_ | Boolean | Trigger event when a deployment starts or finishes |
incident_ | String | The name of the channel to receive incident_ |
incident_ | Boolean | Trigger event when an incident is created |
issue_ | String | The name of the channel to receive issues_ |
issues_ | Boolean | Trigger event when a work item is created, |
labels_ | String | Labels to send notifications for. |
labels_ | String | Labels to be notified for.match_ and match_.match_ |
merge_ | String | The name of the channel to receive merge_ |
merge_ | Boolean | Trigger event when a merge request is created, |
note_ | String | The name of the channel to receive note_ |
note_ | Boolean | Trigger event for new comments |
notify_ | Boolean | Send notifications for broken pipelines |
notify_ | Boolean | Send notifications only when the pipeline status changes |
pipeline_ | String | The name of the channel to receive pipeline_ |
pipeline_ | Boolean | Trigger event when a pipeline status changes |
push_ | String | The name of the channel to receive push_ |
push_ | Boolean | Trigger event for pushes to the repository |
tag_ | String | The name of the channel to receive tag_ |
tag_ | Boolean | Trigger event for new tags pushed to the repository |
use_ | Boolean | Indicates whether to inherit the default settings.false |
username | String | Mattermost notifications username |
webhookRequired | String | Mattermost notifications webhook (for example,http:) |
wiki_ | String | The name of the channel to receive wiki_ |
wiki_ | Boolean | Trigger event when a wiki page is created or updated |
work_ | Boolean | — |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Mattermost Slash Commands integration
PUT /api/v4/groups/{id}/integrations/mattermost-slash-commands
Creates or updates the Mattermost Slash Commands integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
tokenRequired | String | The Mattermost token |
use_ | Boolean | Indicates whether to inherit the default settings.false |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Microsoft Teams integration
PUT /api/v4/groups/{id}/integrations/microsoft-teams
Creates or updates the Microsoft Teams integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
branches_ | String | Branches to send notifications for.all,default,protected,default_.default |
confidential_ | Boolean | Trigger event when a confidential work item is created, |
confidential_ | Boolean | Trigger event for new comments on confidential work items |
confidential_ | Boolean | — |
issues_ | Boolean | Trigger event when a work item is created, |
merge_ | Boolean | Trigger event when a merge request is created, |
note_ | Boolean | Trigger event for new comments |
notify_ | Boolean | Send notifications for broken pipelines |
notify_ | Boolean | Send notifications only when the pipeline status changes |
pipeline_ | Boolean | Trigger event when a pipeline status changes |
push_ | Boolean | Trigger event for pushes to the repository |
tag_ | Boolean | Trigger event for new tags pushed to the repository |
use_ | Boolean | Indicates whether to inherit the default settings.false |
webhookRequired | String | The Microsoft Teams webhook (for example,https:) |
wiki_ | Boolean | Trigger event when a wiki page is created or updated |
work_ | Boolean | — |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Mock Ci integration
PUT /api/v4/groups/{id}/integrations/mock-ci
Creates or updates the Mock Ci integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
enable_ | Boolean | Enable SSL verification.true (enabled) |
mock_Required | String | URL of the Mock CI integration |
push_ | Boolean | Trigger event for pushes to the repository |
use_ | Boolean | Indicates whether to inherit the default settings.false |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Mock Monitoring integration
PUT /api/v4/groups/{id}/integrations/mock-monitoring
Creates or updates the Mock Monitoring integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
use_ | Boolean | Indicates whether to inherit the default settings.false |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Packagist integration
PUT /api/v4/groups/{id}/integrations/packagist
Creates or updates the Packagist integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
merge_ | Boolean | Trigger event when a merge request is created, |
push_ | Boolean | Trigger event for pushes to the repository |
server | String | URL of the Packagist server.https: |
tag_ | Boolean | Trigger event for new tags pushed to the repository |
tokenRequired | String | API token of the Packagist server |
use_ | Boolean | Indicates whether to inherit the default settings.false |
usernameRequired | String | Username of a Packagist account |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Phorge integration
PUT /api/v4/groups/{id}/integrations/phorge
Creates or updates the Phorge integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
issues_Required | String | URL of the issue |
project_Required | String | URL of the project |
push_ | Boolean | Trigger event for pushes to the repository |
use_ | Boolean | Indicates whether to inherit the default settings.false |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Pipelines Email integration
PUT /api/v4/groups/{id}/integrations/pipelines-email
Creates or updates the Pipelines Email integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
branches_ | String | Branches to send notifications for.all,default,protected,default_.default |
notify_ | Boolean | Send notifications for child pipelines |
notify_ | Boolean | Send notifications for broken pipelines |
notify_ | Boolean | Send notifications for the default branch |
notify_ | Boolean | Send notifications only when the pipeline status changes |
pipeline_ | Boolean | Trigger event when a pipeline status changes |
recipientsRequired | String | Comma- |
use_ | Boolean | Indicates whether to inherit the default settings.false |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Pivotaltracker integration
PUT /api/v4/groups/{id}/integrations/pivotaltracker
Creates or updates the Pivotaltracker integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
push_ | Boolean | Trigger event for pushes to the repository |
restrict_ | String | Comma- |
tokenRequired | String | The Pivotal Tracker token |
use_ | Boolean | Indicates whether to inherit the default settings.false |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Ptai integration
PUT /api/v4/groups/{id}/integrations/ptai
Creates or updates the Ptai integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
ptai_ | Boolean | Widens pattern matching to every rule the server holds, |
ptai_ | String | Reg |
ptai_ | String | The session cookie to present, |
ptai_ | String | For form authentication |
ptai_ | String | Whether the form is found on its own or described below. |
ptai_ | String | For a form the scan cannot find by itself |
ptai_ | String | For the sign- |
ptai_ | String | The form field the user goes into, |
ptai_ | String | — |
ptai_ | String | The form field the password goes into |
ptai_ | String | How the black box signs in. |
ptai_ | String | A page only a signed- |
ptai_ | String | Text that appears on that page when signed in, |
ptai_ | Boolean | Tries what the static analysis found against the running site, |
ptai_ | String | One per line, |
ptai_ | String | One per line, |
ptai_ | String | How thoroughly the site is explored. |
ptai_ | String | Optional. |
ptai_ | String | — |
ptai_ | String | — |
ptai_ | String | — |
ptai_ | String | — |
ptai_ | String | How far from the address the scan may wander: |
ptai_ | String | Address of the running application the black box scans. |
ptai_ | Boolean | Leave off for a staging site with a self- |
ptai_ | String | PEM certificate of the authority that signed the server’s certificate. |
ptai_ | String | One per line, |
ptai_ | String | Optional. |
ptai_Required | String | Base URL of the PT Application Inspector server |
ptai_ | String | Optional. |
ptai_ | Boolean | The analysis kernels fetch the project’s packages before they read the code. |
ptai_ | Boolean | Keeps build output and vendored trees out of what is uploaded |
ptai_ | String | How the scan job decides whether to trust the PT Application Inspector server. |
ptai_Required | String | API token used to authenticate with the PT Application Inspector server |
ptai_ | Boolean | Checks the result against the policy held on the server. |
use_ | Boolean | Indicates whether to inherit the default settings.false |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Pumble integration
PUT /api/v4/groups/{id}/integrations/pumble
Creates or updates the Pumble integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
branches_ | String | Branches to send notifications for.all,default,protected,default_.default |
confidential_ | Boolean | Trigger event when a confidential work item is created, |
confidential_ | Boolean | Trigger event for new comments on confidential work items |
confidential_ | Boolean | — |
issues_ | Boolean | Trigger event when a work item is created, |
merge_ | Boolean | Trigger event when a merge request is created, |
note_ | Boolean | Trigger event for new comments |
notify_ | Boolean | Send notifications for broken pipelines |
notify_ | Boolean | Send notifications only when the pipeline status changes |
pipeline_ | Boolean | Trigger event when a pipeline status changes |
push_ | Boolean | Trigger event for pushes to the repository |
tag_ | Boolean | Trigger event for new tags pushed to the repository |
use_ | Boolean | Indicates whether to inherit the default settings.false |
webhookRequired | String | The Pumble webhook (for example,https:) |
wiki_ | Boolean | Trigger event when a wiki page is created or updated |
work_ | Boolean | — |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Pushover integration
PUT /api/v4/groups/{id}/integrations/pushover
Creates or updates the Pushover integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
api_Required | String | The application key |
device | String | Leave blank for all active devices |
priorityRequired | String | The priority |
push_ | Boolean | Trigger event for pushes to the repository |
sound | String | The sound of the notification |
use_ | Boolean | Indicates whether to inherit the default settings.false |
user_Required | String | The user key |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Redmine integration
PUT /api/v4/groups/{id}/integrations/redmine
Creates or updates the Redmine integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
issues_Required | String | URL of the issue |
new_Required | String | URL of the new issue |
project_Required | String | URL of the project |
push_ | Boolean | Trigger event for pushes to the repository |
use_ | Boolean | Indicates whether to inherit the default settings.false |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Slack integration
PUT /api/v4/groups/{id}/integrations/slack
Creates or updates the Slack integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
alert_ | String | The name of the channel to receive alert_ |
alert_ | Boolean | Trigger event when a new, |
branches_ | String | Branches to send notifications for.all,default,protected,default_.default |
channel | String | Default channel to use if no other channel is configured |
confidential_ | String | The name of the channel to receive confidential_ |
confidential_ | Boolean | Trigger event when a confidential work item is created, |
confidential_ | String | The name of the channel to receive confidential_ |
confidential_ | Boolean | Trigger event for new comments on confidential work items |
confidential_ | Boolean | — |
deployment_ | String | The name of the channel to receive deployment_ |
deployment_ | Boolean | Trigger event when a deployment starts or finishes |
incident_ | String | The name of the channel to receive incident_ |
incident_ | Boolean | Trigger event when an incident is created |
issue_ | String | The name of the channel to receive issues_ |
issues_ | Boolean | Trigger event when a work item is created, |
labels_ | String | Labels to send notifications for. |
labels_ | String | Labels to be notified for.match_ and match_.match_ |
merge_ | String | The name of the channel to receive merge_ |
merge_ | Boolean | Trigger event when a merge request is created, |
note_ | String | The name of the channel to receive note_ |
note_ | Boolean | Trigger event for new comments |
notify_ | Boolean | Send notifications for broken pipelines |
notify_ | Boolean | Send notifications only when the pipeline status changes |
pipeline_ | String | The name of the channel to receive pipeline_ |
pipeline_ | Boolean | Trigger event when a pipeline status changes |
push_ | String | The name of the channel to receive push_ |
push_ | Boolean | Trigger event for pushes to the repository |
tag_ | String | The name of the channel to receive tag_ |
tag_ | Boolean | Trigger event for new tags pushed to the repository |
use_ | Boolean | Indicates whether to inherit the default settings.false |
username | String | Slack notifications username |
webhookRequired | String | Slack notifications webhook (for example,https:) |
wiki_ | String | The name of the channel to receive wiki_ |
wiki_ | Boolean | Trigger event when a wiki page is created or updated |
work_ | Boolean | — |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Squash Tm integration
PUT /api/v4/groups/{id}/integrations/squash-tm
Creates or updates the Squash Tm integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
confidential_ | Boolean | Trigger event when a confidential work item is created, |
issues_ | Boolean | Trigger event when a work item is created, |
token | String | Secret token |
urlRequired | String | URL of the Squash TM webhook |
use_ | Boolean | Indicates whether to inherit the default settings.false |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Teamcity integration
PUT /api/v4/groups/{id}/integrations/teamcity
Creates or updates the Teamcity integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
build_Required | String | The build configuration ID of the Team |
enable_ | Boolean | Enable SSL verification.true (enabled) |
merge_ | Boolean | Trigger event when a merge request is created, |
passwordRequired | String | The password of the user |
push_ | Boolean | Trigger event for pushes to the repository |
teamcity_Required | String | Teamhttps:) |
use_ | Boolean | Indicates whether to inherit the default settings.false |
usernameRequired | String | A user with permissions to trigger a manual build |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Telegram integration
PUT /api/v4/groups/{id}/integrations/telegram
Creates or updates the Telegram integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
branches_ | String | Branches to send notifications for.all,default,protected,default_.default |
confidential_ | Boolean | Trigger event when a confidential work item is created, |
confidential_ | Boolean | Trigger event for new comments on confidential work items |
confidential_ | Boolean | — |
hostname | String | Custom hostname of the Telegram API.https: |
incident_ | Boolean | Trigger event when an incident is created |
issues_ | Boolean | Trigger event when a work item is created, |
merge_ | Boolean | Trigger event when a merge request is created, |
note_ | Boolean | Trigger event for new comments |
notify_ | Boolean | Send notifications for broken pipelines |
notify_ | Boolean | Send notifications only when the pipeline status changes |
pipeline_ | Boolean | Trigger event when a pipeline status changes |
push_ | Boolean | Trigger event for pushes to the repository |
roomRequired | String | Unique identifier for the target chat or the username of the target channel (in the format @channelusername) |
tag_ | Boolean | Trigger event for new tags pushed to the repository |
thread | String | Unique identifier for the target message thread (topic in a forum supergroup) |
tokenRequired | String | The Telegram bot token (for example,123456:) |
use_ | Boolean | Indicates whether to inherit the default settings.false |
wiki_ | Boolean | Trigger event when a wiki page is created or updated |
work_ | Boolean | — |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Trivy integration
PUT /api/v4/groups/{id}/integrations/trivy
Creates or updates the Trivy integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
trivy_ | String | PEM certificate of the authority that signed the registry’s certificate. |
trivy_ | String | Optional. |
trivy_ | Boolean | Logs what the scan resolved and where it read it from |
trivy_ | String | Optional. |
trivy_ | Boolean | Drops findings with no fixed version published, |
trivy_ | String | Optional. |
trivy_ | String | Optional. |
trivy_ | String | Optional. |
trivy_ | String | Optional. |
trivy_ | Boolean | Stops the scan making requests of its own to identify dependencies. |
trivy_ | String | Optional. |
trivy_ | String | Optional. |
trivy_ | String | — |
trivy_ | String | Optional. |
trivy_ | String | Optional. |
trivy_ | String | Optional. |
trivy_ | String | Optional. |
trivy_ | String | Optional. |
trivy_ | String | Optional. |
trivy_ | String | Optional. |
trivy_ | String | Optional. |
trivy_ | String | How the scan decides whether to trust the registry it pulls from |
use_ | Boolean | Indicates whether to inherit the default settings.false |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Unify Circuit integration
PUT /api/v4/groups/{id}/integrations/unify-circuit
Creates or updates the Unify Circuit integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
branches_ | String | Branches to send notifications for.all,default,protected,default_.default |
confidential_ | Boolean | Trigger event when a confidential work item is created, |
confidential_ | Boolean | Trigger event for new comments on confidential work items |
confidential_ | Boolean | — |
issues_ | Boolean | Trigger event when a work item is created, |
merge_ | Boolean | Trigger event when a merge request is created, |
note_ | Boolean | Trigger event for new comments |
notify_ | Boolean | Send notifications for broken pipelines |
notify_ | Boolean | Send notifications only when the pipeline status changes |
pipeline_ | Boolean | Trigger event when a pipeline status changes |
push_ | Boolean | Trigger event for pushes to the repository |
tag_ | Boolean | Trigger event for new tags pushed to the repository |
use_ | Boolean | Indicates whether to inherit the default settings.false |
webhookRequired | String | The Unify Circuit webhook (for example,https:) |
wiki_ | Boolean | Trigger event when a wiki page is created or updated |
work_ | Boolean | — |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Webex Teams integration
PUT /api/v4/groups/{id}/integrations/webex-teams
Creates or updates the Webex Teams integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
branches_ | String | Branches to send notifications for.all,default,protected,default_.default |
confidential_ | Boolean | Trigger event when a confidential work item is created, |
confidential_ | Boolean | Trigger event for new comments on confidential work items |
confidential_ | Boolean | — |
issues_ | Boolean | Trigger event when a work item is created, |
merge_ | Boolean | Trigger event when a merge request is created, |
note_ | Boolean | Trigger event for new comments |
notify_ | Boolean | Send notifications for broken pipelines |
notify_ | Boolean | Send notifications only when the pipeline status changes |
pipeline_ | Boolean | Trigger event when a pipeline status changes |
push_ | Boolean | Trigger event for pushes to the repository |
tag_ | Boolean | Trigger event for new tags pushed to the repository |
use_ | Boolean | Indicates whether to inherit the default settings.false |
webhookRequired | String | The Webex Teams webhook. |
wiki_ | Boolean | Trigger event when a wiki page is created or updated |
work_ | Boolean | — |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Youtrack integration
PUT /api/v4/groups/{id}/integrations/youtrack
Creates or updates the Youtrack integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
issues_Required | String | URL of the issue |
project_Required | String | URL of the project |
push_ | Boolean | Trigger event for pushes to the repository |
use_ | Boolean | Indicates whether to inherit the default settings.false |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Zentao integration
PUT /api/v4/groups/{id}/integrations/zentao
Creates or updates the Zentao integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
api_Required | String | — |
api_ | String | If different from Web URL |
urlRequired | String | Base URL of the Zen |
use_ | Boolean | Indicates whether to inherit the default settings.false |
zentao_Required | String | — |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Retrieve integration settings
GET /api/v4/groups/{id}/integrations/{slug}
Retrieves the settings for a specified integration.
Parameters
| Name | Type | Description |
|---|---|---|
slugPath, | String | The name of the integration Allowed values: apple-,asana,assembla,bamboo,bugzilla,buildkite,campfire,confluence,custom-,datadog,diffblue-,discord,drone-,emails-,external-,gitlab-,google-,hangouts-,harbor,irker,jenkins,jira,jira-,linear,matrix,mattermost-,packagist,phorge,pipelines-,pivotaltracker,pumble,pushover,redmine,ewm,youtrack,clickup,slack,microsoft-,mattermost,teamcity,telegram,unify-,webex-,zentao,squash-,defect-,ptai,code-,trivy,mock-,mock-Minimum length: 1 |
idPath, | String or integer | The ID or URL- Example: 11 |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
Disable an integration
DELETE /api/v4/groups/{id}/integrations/{slug}
Disables a specified integration. Integration settings are preserved.
Parameters
| Name | Type | Description |
|---|---|---|
slugPath, | String | The name of the integration Allowed values: apple-,asana,assembla,bamboo,bugzilla,buildkite,campfire,confluence,custom-,datadog,diffblue-,discord,drone-,emails-,external-,gitlab-,google-,hangouts-,harbor,irker,jenkins,jira,jira-,linear,matrix,mattermost-,packagist,phorge,pipelines-,pivotaltracker,pumble,pushover,redmine,ewm,youtrack,clickup,slack,microsoft-,mattermost,teamcity,telegram,unify-,webex-,zentao,squash-,defect-,ptai,code-,trivy,mock-,mock-Minimum length: 1 |
idPath, | String or integer | The ID or URL- Example: 11 |
Responses
| Code | Description | Schema |
|---|---|---|
204 | No Content | — |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
Receive Slack events
POST /api/v4/integrations/slack/events
Request body (application/json)
| Property | Type | Description |
|---|---|---|
api_ | String | The Slack app ID |
authed_ | Array of strings | (Deprecated by Slack) An array of Slack user IDs |
event | Object | The event object with variable properties |
event_ | String | A unique identifier for this specific event |
event_ | Integer | The epoch timestamp in seconds when this event was dispatched |
team_ | String | The Slack workspace ID of where the event occurred |
token | String | (Deprecated by Slack) The request token, |
type | String | The kind of event this is,event_ |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Successfully processed event | — |
204 | Failed to process event | — |
400 | Bad Request | — |
401 | Unauthorized | — |
Process Slack interaction events
POST /api/v4/integrations/slack/interactions
Processes interaction events from Slack
Responses
| Code | Description | Schema |
|---|---|---|
201 | Created | — |
400 | Bad Request | — |
Get Slack interactive component options
POST /api/v4/integrations/slack/options
Retrieves options for Slack interactive components
Responses
| Code | Description | Schema |
|---|---|---|
201 | Created | — |
400 | Bad Request | — |
List all active integrations
GET /api/v4/projects/{id}/integrations
Lists all active integrations.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
401 | Unauthorized | — |
404 | Not found | — |
Create or update the Apple App Store integration
PUT /api/v4/projects/{id}/integrations/apple-app-store
Creates or updates the Apple App Store integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
app_Required | String | Apple App Store Connect issuer ID |
app_Required | String | Apple App Store Connect key ID |
app_Required | String | Apple App Store Connect private key |
app_Required | String | Apple App Store Connect private key file name |
app_ | Boolean | Set variables on protected branches and tags only |
use_ | Boolean | Indicates whether to inherit the default settings.false |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Asana integration
PUT /api/v4/projects/{id}/integrations/asana
Creates or updates the Asana integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
api_Required | String | User API token. |
push_ | Boolean | Trigger event for pushes to the repository |
restrict_ | String | Comma- |
use_ | Boolean | Indicates whether to inherit the default settings.false |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Assembla integration
PUT /api/v4/projects/{id}/integrations/assembla
Creates or updates the Assembla integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
push_ | Boolean | Trigger event for pushes to the repository |
subdomain | String | The subdomain setting |
tokenRequired | String | The authentication token |
use_ | Boolean | Indicates whether to inherit the default settings.false |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Bamboo integration
PUT /api/v4/projects/{id}/integrations/bamboo
Creates or updates the Bamboo integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
bamboo_Required | String | Bamboo root URL (for example,https:) |
build_Required | String | Bamboo build plan key (for example,KEY) |
enable_ | Boolean | Enable SSL verification.true (enabled) |
passwordRequired | String | Password of the user |
push_ | Boolean | Trigger event for pushes to the repository |
use_ | Boolean | Indicates whether to inherit the default settings.false |
usernameRequired | String | User with API access to the Bamboo server |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Bugzilla integration
PUT /api/v4/projects/{id}/integrations/bugzilla
Creates or updates the Bugzilla integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
issues_Required | String | URL of the issue |
new_Required | String | URL of the new issue |
project_Required | String | URL of the project |
push_ | Boolean | Trigger event for pushes to the repository |
use_ | Boolean | Indicates whether to inherit the default settings.false |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Buildkite integration
PUT /api/v4/projects/{id}/integrations/buildkite
Creates or updates the Buildkite integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
enable_ | Boolean | DEPRECATED: |
merge_ | Boolean | Trigger event when a merge request is created, |
project_Required | String | Pipeline URL (for example,https:) |
push_ | Boolean | Trigger event for pushes to the repository |
tag_ | Boolean | Trigger event for new tags pushed to the repository |
tokenRequired | String | Token you get after you create a Buildkite pipeline with a Deckhouse Code repository |
use_ | Boolean | Indicates whether to inherit the default settings.false |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Campfire integration
PUT /api/v4/projects/{id}/integrations/campfire
Creates or updates the Campfire integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
push_ | Boolean | Trigger event for pushes to the repository |
room | String | ID portion of the Campfire room URL |
subdomain | String | . subdomain when you’re signed in |
tokenRequired | String | API authentication token from Campfire. |
use_ | Boolean | Indicates whether to inherit the default settings.false |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Clickup integration
PUT /api/v4/projects/{id}/integrations/clickup
Creates or updates the Clickup integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
issues_Required | String | URL of the issue |
project_Required | String | URL of the project |
push_ | Boolean | Trigger event for pushes to the repository |
use_ | Boolean | Indicates whether to inherit the default settings.false |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Code Scoring integration
PUT /api/v4/projects/{id}/integrations/code-scoring
Creates or updates the Code Scoring integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
codescoring_ | String | Optional. |
codescoring_ | String | Optional. |
codescoring_ | String | PEM certificate of the authority that signed the server’s certificate. |
codescoring_ | Boolean | Let the Code |
codescoring_ | String | Optional. |
codescoring_ | String | Optional. |
codescoring_ | String | What to scan: |
codescoring_ | String | Optional. |
codescoring_ | String | The policy stage this scan reports as. |
codescoring_ | String | How the scan job decides whether to trust the Code |
codescoring_Required | String | API token to authenticate and download the Johnny agent |
codescoring_Required | String | Base URL of the Code |
use_ | Boolean | Indicates whether to inherit the default settings.false |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Confluence integration
PUT /api/v4/projects/{id}/integrations/confluence
Creates or updates the Confluence integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
confluence_Required | String | URL of the Confluence Workspace hosted on atlassian. |
use_ | Boolean | Indicates whether to inherit the default settings.false |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Custom Issue Tracker integration
PUT /api/v4/projects/{id}/integrations/custom-issue-tracker
Creates or updates the Custom Issue Tracker integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
issues_Required | String | URL of the issue |
new_Required | String | URL of the new issue |
project_Required | String | URL of the project |
push_ | Boolean | Trigger event for pushes to the repository |
use_ | Boolean | Indicates whether to inherit the default settings.false |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Datadog integration
PUT /api/v4/projects/{id}/integrations/datadog
Creates or updates the Datadog integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
api_Required | String | API key used for authentication with Datadog |
api_ | String | Full URL of your Datadog site. |
archive_ | Boolean | When enabled, |
build_ | Boolean | Trigger event when a build is created |
datadog_ | Boolean | Enable CI Visibility |
datadog_ | String | For self-env tag for all the data sent to Datadog |
datadog_ | String | Tag all pipeline data from this Deckhouse Code instance in Datadog. |
datadog_ | String | Datadog site to send data to. |
datadog_ | String | Custom tags in Datadog.key: |
merge_ | Boolean | Trigger event when a merge request is created, |
note_ | Boolean | Trigger event for new comments |
pipeline_ | Boolean | Trigger event when a pipeline status changes |
project_ | Boolean | — |
push_ | Boolean | Trigger event for pushes to the repository |
subgroup_ | Boolean | — |
tag_ | Boolean | Trigger event for new tags pushed to the repository |
use_ | Boolean | Indicates whether to inherit the default settings.false |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Defect Dojo integration
PUT /api/v4/projects/{id}/integrations/defect-dojo
Creates or updates the Defect Dojo integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
api_Required | String | Token used to authenticate with the Defect |
auto_ | Boolean | — |
ca_ | String | PEM certificate of the authority that signed the server’s certificate. |
close_ | Boolean | — |
engagement_ | String | Defect |
findings_ | Boolean | — |
findings_ | Boolean | — |
minimum_ | String | Ignore findings below this severity on import |
product_ | String | Defect |
product_ | String | Defect |
tls_ | String | How this instance decides whether to trust the Defect |
urlRequired | String | Base URL of your Defect |
use_ | Boolean | Indicates whether to inherit the default settings.false |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Diffblue Cover integration
PUT /api/v4/projects/{id}/integrations/diffblue-cover
Creates or updates the Diffblue Cover integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
diffblue_Required | String | Access token name used by Diffblue Cover in pipelines |
diffblue_Required | String | Access token secret used by Diffblue Cover in pipelines |
diffblue_Required | String | Diffblue Cover license key |
use_ | Boolean | Indicates whether to inherit the default settings.false |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Discord integration
PUT /api/v4/projects/{id}/integrations/discord
Creates or updates the Discord integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
alert_ | String | The name of the channel to receive alert_ |
branches_ | String | Branches to send notifications for.all,default,protected,default_.default |
confidential_ | String | The name of the channel to receive confidential_ |
confidential_ | Boolean | Trigger event when a confidential work item is created, |
confidential_ | String | The name of the channel to receive confidential_ |
confidential_ | Boolean | Trigger event for new comments on confidential work items |
confidential_ | Boolean | — |
deployment_ | String | The name of the channel to receive deployment_ |
deployment_ | Boolean | Trigger event when a deployment starts or finishes |
incident_ | String | The name of the channel to receive incident_ |
issue_ | String | The name of the channel to receive issues_ |
issues_ | Boolean | Trigger event when a work item is created, |
merge_ | String | The name of the channel to receive merge_ |
merge_ | Boolean | Trigger event when a merge request is created, |
note_ | String | The name of the channel to receive note_ |
note_ | Boolean | Trigger event for new comments |
notify_ | Boolean | Send notifications for broken pipelines |
notify_ | Boolean | Send notifications only when the pipeline status changes |
pipeline_ | String | The name of the channel to receive pipeline_ |
pipeline_ | Boolean | Trigger event when a pipeline status changes |
push_ | String | The name of the channel to receive push_ |
push_ | Boolean | Trigger event for pushes to the repository |
tag_ | String | The name of the channel to receive tag_ |
tag_ | Boolean | Trigger event for new tags pushed to the repository |
use_ | Boolean | Indicates whether to inherit the default settings.false |
webhookRequired | String | Discord webhook (for example,https:) |
wiki_ | String | The name of the channel to receive wiki_ |
wiki_ | Boolean | Trigger event when a wiki page is created or updated |
work_ | Boolean | — |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Drone Ci integration
PUT /api/v4/projects/{id}/integrations/drone-ci
Creates or updates the Drone Ci integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
drone_Required | String | Drone CI URL (for example,http:) |
enable_ | Boolean | Enable SSL verification.true (enabled) |
merge_ | Boolean | Trigger event when a merge request is created, |
push_ | Boolean | Trigger event for pushes to the repository |
tag_ | Boolean | Trigger event for new tags pushed to the repository |
tokenRequired | String | Drone CI token |
use_ | Boolean | Indicates whether to inherit the default settings.false |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Emails On Push integration
PUT /api/v4/projects/{id}/integrations/emails-on-push
Creates or updates the Emails On Push integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
branches_ | String | Branches to send notifications for.all,default,protected,default_.default |
disable_ | Boolean | Disable code diffs |
push_ | Boolean | Trigger event for pushes to the repository |
recipientsRequired | String | Emails separated by whitespace |
send_ | Boolean | Send from committer |
tag_ | Boolean | Trigger event for new tags pushed to the repository |
use_ | Boolean | Indicates whether to inherit the default settings.false |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Ewm integration
PUT /api/v4/projects/{id}/integrations/ewm
Creates or updates the Ewm integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
issues_Required | String | URL of the issue |
new_Required | String | URL of the new issue |
project_Required | String | URL of the project |
push_ | Boolean | Trigger event for pushes to the repository |
use_ | Boolean | Indicates whether to inherit the default settings.false |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the External Wiki integration
PUT /api/v4/projects/{id}/integrations/external-wiki
Creates or updates the External Wiki integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
external_Required | String | URL of the external wiki |
use_ | Boolean | Indicates whether to inherit the default settings.false |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Gitlab Slack Application integration
PUT /api/v4/projects/{id}/integrations/gitlab-slack-application
Creates or updates the Gitlab Slack Application integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
alert_ | String | The name of the channel to receive alert_ |
alert_ | Boolean | Trigger event when a new, |
branches_ | String | Branches to send notifications for.all,default,protected,default_.default |
channel | String | Default channel to use if no other channel is configured |
confidential_ | String | The name of the channel to receive confidential_ |
confidential_ | Boolean | Trigger event when a confidential work item is created, |
confidential_ | String | The name of the channel to receive confidential_ |
confidential_ | Boolean | Trigger event for new comments on confidential work items |
confidential_ | Boolean | — |
deployment_ | String | The name of the channel to receive deployment_ |
deployment_ | Boolean | Trigger event when a deployment starts or finishes |
incident_ | String | The name of the channel to receive incident_ |
incident_ | Boolean | Trigger event when an incident is created |
issue_ | String | The name of the channel to receive issues_ |
issues_ | Boolean | Trigger event when a work item is created, |
labels_ | String | Labels to send notifications for. |
labels_ | String | Labels to be notified for.match_ and match_.match_ |
merge_ | String | The name of the channel to receive merge_ |
merge_ | Boolean | Trigger event when a merge request is created, |
note_ | String | The name of the channel to receive note_ |
note_ | Boolean | Trigger event for new comments |
notify_ | Boolean | Send notifications for broken pipelines |
notify_ | Boolean | Send notifications only when the pipeline status changes |
pipeline_ | String | The name of the channel to receive pipeline_ |
pipeline_ | Boolean | Trigger event when a pipeline status changes |
push_ | String | The name of the channel to receive push_ |
push_ | Boolean | Trigger event for pushes to the repository |
tag_ | String | The name of the channel to receive tag_ |
tag_ | Boolean | Trigger event for new tags pushed to the repository |
use_ | Boolean | Indicates whether to inherit the default settings.false |
wiki_ | String | The name of the channel to receive wiki_ |
wiki_ | Boolean | Trigger event when a wiki page is created or updated |
work_ | Boolean | — |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Google Play integration
PUT /api/v4/projects/{id}/integrations/google-play
Creates or updates the Google Play integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
google_ | Boolean | Set variables on protected branches and tags only |
package_Required | String | Package name of the app in Google Play |
service_Required | String | Google Play service account key |
service_Required | String | File name of the Google Play service account key |
use_ | Boolean | Indicates whether to inherit the default settings.false |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Hangouts Chat integration
PUT /api/v4/projects/{id}/integrations/hangouts-chat
Creates or updates the Hangouts Chat integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
branches_ | String | Branches to send notifications for.all,default,protected,default_.default |
confidential_ | Boolean | Trigger event when a confidential work item is created, |
confidential_ | Boolean | Trigger event for new comments on confidential work items |
confidential_ | Boolean | — |
issues_ | Boolean | Trigger event when a work item is created, |
merge_ | Boolean | Trigger event when a merge request is created, |
note_ | Boolean | Trigger event for new comments |
notify_ | Boolean | Send notifications for broken pipelines |
notify_ | Boolean | Send notifications only when the pipeline status changes |
pipeline_ | Boolean | Trigger event when a pipeline status changes |
push_ | Boolean | Trigger event for pushes to the repository |
tag_ | Boolean | Trigger event for new tags pushed to the repository |
use_ | Boolean | Indicates whether to inherit the default settings.false |
webhookRequired | String | The Hangouts Chat webhook (for example,https:) |
wiki_ | Boolean | Trigger event when a wiki page is created or updated |
work_ | Boolean | — |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Harbor integration
PUT /api/v4/projects/{id}/integrations/harbor
Creates or updates the Harbor integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
passwordRequired | String | The password of the user |
project_Required | String | The name of the project in the Harbor instance.testproject |
urlRequired | String | The base URL to the Harbor instance linked to the Deckhouse Code project.https: |
use_ | Boolean | Indicates whether to inherit the default settings.false |
usernameRequired | String | The username created in the Harbor interface |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Irker integration
PUT /api/v4/projects/{id}/integrations/irker
Creates or updates the Irker integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
colorize_ | Boolean | Colorize messages |
default_ | String | URI to add before each recipient.irc: |
push_ | Boolean | Trigger event for pushes to the repository |
recipientsRequired | String | Comma- |
server_ | String | irker daemon hostname.localhost |
server_ | Integer | irker daemon port.6659 |
use_ | Boolean | Indicates whether to inherit the default settings.false |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Jenkins integration
PUT /api/v4/projects/{id}/integrations/jenkins
Creates or updates the Jenkins integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
enable_ | Boolean | Enable SSL verification.true (enabled) |
jenkins_Required | String | URL of the Jenkins server |
merge_ | Boolean | Trigger event when a merge request is created, |
password | String | Password of the Jenkins server |
project_Required | String | Name of the Jenkins project |
push_ | Boolean | Trigger event for pushes to the repository |
tag_ | Boolean | Trigger event for new tags pushed to the repository |
use_ | Boolean | Indicates whether to inherit the default settings.false |
username | String | Username of the Jenkins server |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Jira integration
PUT /api/v4/projects/{id}/integrations/jira
Creates or updates the Jira integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
api_ | String | The base URL to the Jira instance API.https:) |
comment_ | Boolean | Enable comments inside Jira issues on each Git |
commit_ | Boolean | Trigger event when a commit is created or updated |
issues_ | String | Enable viewing Jira issues in Deckhouse Code |
jira_ | Integer | The authentication method to use with Jira.0 for basic authentication,1 for Jira personal access token,2 for Jira Cloud service accounts.0 |
jira_ | String | Prefix to match Jira issue keys |
jira_ | String | Regular expression to match Jira issue keys |
jira_ | String | The ID of one or more transitions for custom issue transitions.jira_ is enabled. |
merge_ | Boolean | Trigger event when a merge request is created, |
passwordRequired | String | The Jira API token,jira_ is 0),jira_ is 1), |
project_ | Array of strings | Keys of Jira projects to display.issues_ is true, |
urlRequired | String | The URL to the Jira project which is being linked to this Deckhouse Code project (for example,https:) |
use_ | Boolean | Indicates whether to inherit the default settings.false |
username | String | The email or username to use with Jira.jira_ is 0) |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Jira Cloud App integration
PUT /api/v4/projects/{id}/integrations/jira-cloud-app
Creates or updates the Jira Cloud App integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
jira_ | String | Enter the environment (production, |
jira_ | Boolean | Enable to approve or reject blocked Deckhouse Code deployments from Jira Service Management |
jira_ | String | Copy and paste your JSM Service ID here. |
use_ | Boolean | Indicates whether to inherit the default settings.false |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Linear integration
PUT /api/v4/projects/{id}/integrations/linear
Creates or updates the Linear integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
push_ | Boolean | Trigger event for pushes to the repository |
use_ | Boolean | Indicates whether to inherit the default settings.false |
workspace_Required | String | Linear workspace URL (for example, |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Matrix integration
PUT /api/v4/projects/{id}/integrations/matrix
Creates or updates the Matrix integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
branches_ | String | Branches to send notifications for.all,default,protected,default_.default |
confidential_ | Boolean | Trigger event when a confidential work item is created, |
confidential_ | Boolean | Trigger event for new comments on confidential work items |
confidential_ | Boolean | — |
hostname | String | Custom hostname of the Matrix server.https: |
incident_ | Boolean | Trigger event when an incident is created |
issues_ | Boolean | Trigger event when a work item is created, |
merge_ | Boolean | Trigger event when a merge request is created, |
note_ | Boolean | Trigger event for new comments |
notify_ | Boolean | Send notifications for broken pipelines |
notify_ | Boolean | Send notifications only when the pipeline status changes |
pipeline_ | Boolean | Trigger event when a pipeline status changes |
push_ | Boolean | Trigger event for pushes to the repository |
roomRequired | String | Unique identifier for the target room (in the format !q) |
tag_ | Boolean | Trigger event for new tags pushed to the repository |
tokenRequired | String | The Matrix access token (for example,syt-) |
use_ | Boolean | Indicates whether to inherit the default settings.false |
wiki_ | Boolean | Trigger event when a wiki page is created or updated |
work_ | Boolean | — |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Mattermost integration
PUT /api/v4/projects/{id}/integrations/mattermost
Creates or updates the Mattermost integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
alert_ | String | The name of the channel to receive alert_ |
branches_ | String | Branches to send notifications for.all,default,protected,default_.default |
channel | String | Default channel to use if no other channel is configured |
confidential_ | String | The name of the channel to receive confidential_ |
confidential_ | Boolean | Trigger event when a confidential work item is created, |
confidential_ | String | The name of the channel to receive confidential_ |
confidential_ | Boolean | Trigger event for new comments on confidential work items |
confidential_ | Boolean | — |
deployment_ | String | The name of the channel to receive deployment_ |
deployment_ | Boolean | Trigger event when a deployment starts or finishes |
incident_ | String | The name of the channel to receive incident_ |
incident_ | Boolean | Trigger event when an incident is created |
issue_ | String | The name of the channel to receive issues_ |
issues_ | Boolean | Trigger event when a work item is created, |
labels_ | String | Labels to send notifications for. |
labels_ | String | Labels to be notified for.match_ and match_.match_ |
merge_ | String | The name of the channel to receive merge_ |
merge_ | Boolean | Trigger event when a merge request is created, |
note_ | String | The name of the channel to receive note_ |
note_ | Boolean | Trigger event for new comments |
notify_ | Boolean | Send notifications for broken pipelines |
notify_ | Boolean | Send notifications only when the pipeline status changes |
pipeline_ | String | The name of the channel to receive pipeline_ |
pipeline_ | Boolean | Trigger event when a pipeline status changes |
push_ | String | The name of the channel to receive push_ |
push_ | Boolean | Trigger event for pushes to the repository |
tag_ | String | The name of the channel to receive tag_ |
tag_ | Boolean | Trigger event for new tags pushed to the repository |
use_ | Boolean | Indicates whether to inherit the default settings.false |
username | String | Mattermost notifications username |
webhookRequired | String | Mattermost notifications webhook (for example,http:) |
wiki_ | String | The name of the channel to receive wiki_ |
wiki_ | Boolean | Trigger event when a wiki page is created or updated |
work_ | Boolean | — |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Mattermost Slash Commands integration
PUT /api/v4/projects/{id}/integrations/mattermost-slash-commands
Creates or updates the Mattermost Slash Commands integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
tokenRequired | String | The Mattermost token |
use_ | Boolean | Indicates whether to inherit the default settings.false |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Trigger a slash command for mattermost-slash-commands
POST /api/v4/projects/{id}/integrations/mattermost_slash_commands/trigger
Triggers a slash command for mattermost-slash-commands.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
tokenRequired | String | The Mattermost token |
Responses
| Code | Description | Schema |
|---|---|---|
201 | Created | — |
400 | Bad Request | — |
401 | Unauthorized | — |
404 | Not found | — |
Create or update the Microsoft Teams integration
PUT /api/v4/projects/{id}/integrations/microsoft-teams
Creates or updates the Microsoft Teams integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
branches_ | String | Branches to send notifications for.all,default,protected,default_.default |
confidential_ | Boolean | Trigger event when a confidential work item is created, |
confidential_ | Boolean | Trigger event for new comments on confidential work items |
confidential_ | Boolean | — |
issues_ | Boolean | Trigger event when a work item is created, |
merge_ | Boolean | Trigger event when a merge request is created, |
note_ | Boolean | Trigger event for new comments |
notify_ | Boolean | Send notifications for broken pipelines |
notify_ | Boolean | Send notifications only when the pipeline status changes |
pipeline_ | Boolean | Trigger event when a pipeline status changes |
push_ | Boolean | Trigger event for pushes to the repository |
tag_ | Boolean | Trigger event for new tags pushed to the repository |
use_ | Boolean | Indicates whether to inherit the default settings.false |
webhookRequired | String | The Microsoft Teams webhook (for example,https:) |
wiki_ | Boolean | Trigger event when a wiki page is created or updated |
work_ | Boolean | — |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Mock Ci integration
PUT /api/v4/projects/{id}/integrations/mock-ci
Creates or updates the Mock Ci integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
enable_ | Boolean | Enable SSL verification.true (enabled) |
mock_Required | String | URL of the Mock CI integration |
push_ | Boolean | Trigger event for pushes to the repository |
use_ | Boolean | Indicates whether to inherit the default settings.false |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Mock Monitoring integration
PUT /api/v4/projects/{id}/integrations/mock-monitoring
Creates or updates the Mock Monitoring integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
use_ | Boolean | Indicates whether to inherit the default settings.false |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Packagist integration
PUT /api/v4/projects/{id}/integrations/packagist
Creates or updates the Packagist integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
merge_ | Boolean | Trigger event when a merge request is created, |
push_ | Boolean | Trigger event for pushes to the repository |
server | String | URL of the Packagist server.https: |
tag_ | Boolean | Trigger event for new tags pushed to the repository |
tokenRequired | String | API token of the Packagist server |
use_ | Boolean | Indicates whether to inherit the default settings.false |
usernameRequired | String | Username of a Packagist account |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Phorge integration
PUT /api/v4/projects/{id}/integrations/phorge
Creates or updates the Phorge integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
issues_Required | String | URL of the issue |
project_Required | String | URL of the project |
push_ | Boolean | Trigger event for pushes to the repository |
use_ | Boolean | Indicates whether to inherit the default settings.false |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Pipelines Email integration
PUT /api/v4/projects/{id}/integrations/pipelines-email
Creates or updates the Pipelines Email integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
branches_ | String | Branches to send notifications for.all,default,protected,default_.default |
notify_ | Boolean | Send notifications for child pipelines |
notify_ | Boolean | Send notifications for broken pipelines |
notify_ | Boolean | Send notifications for the default branch |
notify_ | Boolean | Send notifications only when the pipeline status changes |
pipeline_ | Boolean | Trigger event when a pipeline status changes |
recipientsRequired | String | Comma- |
use_ | Boolean | Indicates whether to inherit the default settings.false |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Pivotaltracker integration
PUT /api/v4/projects/{id}/integrations/pivotaltracker
Creates or updates the Pivotaltracker integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
push_ | Boolean | Trigger event for pushes to the repository |
restrict_ | String | Comma- |
tokenRequired | String | The Pivotal Tracker token |
use_ | Boolean | Indicates whether to inherit the default settings.false |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Ptai integration
PUT /api/v4/projects/{id}/integrations/ptai
Creates or updates the Ptai integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
ptai_ | Boolean | Widens pattern matching to every rule the server holds, |
ptai_ | String | Reg |
ptai_ | String | The session cookie to present, |
ptai_ | String | For form authentication |
ptai_ | String | Whether the form is found on its own or described below. |
ptai_ | String | For a form the scan cannot find by itself |
ptai_ | String | For the sign- |
ptai_ | String | The form field the user goes into, |
ptai_ | String | — |
ptai_ | String | The form field the password goes into |
ptai_ | String | How the black box signs in. |
ptai_ | String | A page only a signed- |
ptai_ | String | Text that appears on that page when signed in, |
ptai_ | Boolean | Tries what the static analysis found against the running site, |
ptai_ | String | One per line, |
ptai_ | String | One per line, |
ptai_ | String | How thoroughly the site is explored. |
ptai_ | String | Optional. |
ptai_ | String | — |
ptai_ | String | — |
ptai_ | String | — |
ptai_ | String | — |
ptai_ | String | How far from the address the scan may wander: |
ptai_ | String | Address of the running application the black box scans. |
ptai_ | Boolean | Leave off for a staging site with a self- |
ptai_ | String | PEM certificate of the authority that signed the server’s certificate. |
ptai_ | String | One per line, |
ptai_ | String | Optional. |
ptai_Required | String | Base URL of the PT Application Inspector server |
ptai_ | String | Optional. |
ptai_ | Boolean | The analysis kernels fetch the project’s packages before they read the code. |
ptai_ | Boolean | Keeps build output and vendored trees out of what is uploaded |
ptai_ | String | How the scan job decides whether to trust the PT Application Inspector server. |
ptai_Required | String | API token used to authenticate with the PT Application Inspector server |
ptai_ | Boolean | Checks the result against the policy held on the server. |
use_ | Boolean | Indicates whether to inherit the default settings.false |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Pumble integration
PUT /api/v4/projects/{id}/integrations/pumble
Creates or updates the Pumble integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
branches_ | String | Branches to send notifications for.all,default,protected,default_.default |
confidential_ | Boolean | Trigger event when a confidential work item is created, |
confidential_ | Boolean | Trigger event for new comments on confidential work items |
confidential_ | Boolean | — |
issues_ | Boolean | Trigger event when a work item is created, |
merge_ | Boolean | Trigger event when a merge request is created, |
note_ | Boolean | Trigger event for new comments |
notify_ | Boolean | Send notifications for broken pipelines |
notify_ | Boolean | Send notifications only when the pipeline status changes |
pipeline_ | Boolean | Trigger event when a pipeline status changes |
push_ | Boolean | Trigger event for pushes to the repository |
tag_ | Boolean | Trigger event for new tags pushed to the repository |
use_ | Boolean | Indicates whether to inherit the default settings.false |
webhookRequired | String | The Pumble webhook (for example,https:) |
wiki_ | Boolean | Trigger event when a wiki page is created or updated |
work_ | Boolean | — |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Pushover integration
PUT /api/v4/projects/{id}/integrations/pushover
Creates or updates the Pushover integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
api_Required | String | The application key |
device | String | Leave blank for all active devices |
priorityRequired | String | The priority |
push_ | Boolean | Trigger event for pushes to the repository |
sound | String | The sound of the notification |
use_ | Boolean | Indicates whether to inherit the default settings.false |
user_Required | String | The user key |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Redmine integration
PUT /api/v4/projects/{id}/integrations/redmine
Creates or updates the Redmine integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
issues_Required | String | URL of the issue |
new_Required | String | URL of the new issue |
project_Required | String | URL of the project |
push_ | Boolean | Trigger event for pushes to the repository |
use_ | Boolean | Indicates whether to inherit the default settings.false |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Slack integration
PUT /api/v4/projects/{id}/integrations/slack
Creates or updates the Slack integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
alert_ | String | The name of the channel to receive alert_ |
alert_ | Boolean | Trigger event when a new, |
branches_ | String | Branches to send notifications for.all,default,protected,default_.default |
channel | String | Default channel to use if no other channel is configured |
confidential_ | String | The name of the channel to receive confidential_ |
confidential_ | Boolean | Trigger event when a confidential work item is created, |
confidential_ | String | The name of the channel to receive confidential_ |
confidential_ | Boolean | Trigger event for new comments on confidential work items |
confidential_ | Boolean | — |
deployment_ | String | The name of the channel to receive deployment_ |
deployment_ | Boolean | Trigger event when a deployment starts or finishes |
incident_ | String | The name of the channel to receive incident_ |
incident_ | Boolean | Trigger event when an incident is created |
issue_ | String | The name of the channel to receive issues_ |
issues_ | Boolean | Trigger event when a work item is created, |
labels_ | String | Labels to send notifications for. |
labels_ | String | Labels to be notified for.match_ and match_.match_ |
merge_ | String | The name of the channel to receive merge_ |
merge_ | Boolean | Trigger event when a merge request is created, |
note_ | String | The name of the channel to receive note_ |
note_ | Boolean | Trigger event for new comments |
notify_ | Boolean | Send notifications for broken pipelines |
notify_ | Boolean | Send notifications only when the pipeline status changes |
pipeline_ | String | The name of the channel to receive pipeline_ |
pipeline_ | Boolean | Trigger event when a pipeline status changes |
push_ | String | The name of the channel to receive push_ |
push_ | Boolean | Trigger event for pushes to the repository |
tag_ | String | The name of the channel to receive tag_ |
tag_ | Boolean | Trigger event for new tags pushed to the repository |
use_ | Boolean | Indicates whether to inherit the default settings.false |
username | String | Slack notifications username |
webhookRequired | String | Slack notifications webhook (for example,https:) |
wiki_ | String | The name of the channel to receive wiki_ |
wiki_ | Boolean | Trigger event when a wiki page is created or updated |
work_ | Boolean | — |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Squash Tm integration
PUT /api/v4/projects/{id}/integrations/squash-tm
Creates or updates the Squash Tm integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
confidential_ | Boolean | Trigger event when a confidential work item is created, |
issues_ | Boolean | Trigger event when a work item is created, |
token | String | Secret token |
urlRequired | String | URL of the Squash TM webhook |
use_ | Boolean | Indicates whether to inherit the default settings.false |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Teamcity integration
PUT /api/v4/projects/{id}/integrations/teamcity
Creates or updates the Teamcity integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
build_Required | String | The build configuration ID of the Team |
enable_ | Boolean | Enable SSL verification.true (enabled) |
merge_ | Boolean | Trigger event when a merge request is created, |
passwordRequired | String | The password of the user |
push_ | Boolean | Trigger event for pushes to the repository |
teamcity_Required | String | Teamhttps:) |
use_ | Boolean | Indicates whether to inherit the default settings.false |
usernameRequired | String | A user with permissions to trigger a manual build |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Telegram integration
PUT /api/v4/projects/{id}/integrations/telegram
Creates or updates the Telegram integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
branches_ | String | Branches to send notifications for.all,default,protected,default_.default |
confidential_ | Boolean | Trigger event when a confidential work item is created, |
confidential_ | Boolean | Trigger event for new comments on confidential work items |
confidential_ | Boolean | — |
hostname | String | Custom hostname of the Telegram API.https: |
incident_ | Boolean | Trigger event when an incident is created |
issues_ | Boolean | Trigger event when a work item is created, |
merge_ | Boolean | Trigger event when a merge request is created, |
note_ | Boolean | Trigger event for new comments |
notify_ | Boolean | Send notifications for broken pipelines |
notify_ | Boolean | Send notifications only when the pipeline status changes |
pipeline_ | Boolean | Trigger event when a pipeline status changes |
push_ | Boolean | Trigger event for pushes to the repository |
roomRequired | String | Unique identifier for the target chat or the username of the target channel (in the format @channelusername) |
tag_ | Boolean | Trigger event for new tags pushed to the repository |
thread | String | Unique identifier for the target message thread (topic in a forum supergroup) |
tokenRequired | String | The Telegram bot token (for example,123456:) |
use_ | Boolean | Indicates whether to inherit the default settings.false |
wiki_ | Boolean | Trigger event when a wiki page is created or updated |
work_ | Boolean | — |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Trivy integration
PUT /api/v4/projects/{id}/integrations/trivy
Creates or updates the Trivy integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
trivy_ | String | PEM certificate of the authority that signed the registry’s certificate. |
trivy_ | String | Optional. |
trivy_ | Boolean | Logs what the scan resolved and where it read it from |
trivy_ | String | Optional. |
trivy_ | Boolean | Drops findings with no fixed version published, |
trivy_ | String | Optional. |
trivy_ | String | Optional. |
trivy_ | String | Optional. |
trivy_ | String | Optional. |
trivy_ | Boolean | Stops the scan making requests of its own to identify dependencies. |
trivy_ | String | Optional. |
trivy_ | String | Optional. |
trivy_ | String | — |
trivy_ | String | Optional. |
trivy_ | String | Optional. |
trivy_ | String | Optional. |
trivy_ | String | Optional. |
trivy_ | String | Optional. |
trivy_ | String | Optional. |
trivy_ | String | Optional. |
trivy_ | String | Optional. |
trivy_ | String | How the scan decides whether to trust the registry it pulls from |
use_ | Boolean | Indicates whether to inherit the default settings.false |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Unify Circuit integration
PUT /api/v4/projects/{id}/integrations/unify-circuit
Creates or updates the Unify Circuit integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
branches_ | String | Branches to send notifications for.all,default,protected,default_.default |
confidential_ | Boolean | Trigger event when a confidential work item is created, |
confidential_ | Boolean | Trigger event for new comments on confidential work items |
confidential_ | Boolean | — |
issues_ | Boolean | Trigger event when a work item is created, |
merge_ | Boolean | Trigger event when a merge request is created, |
note_ | Boolean | Trigger event for new comments |
notify_ | Boolean | Send notifications for broken pipelines |
notify_ | Boolean | Send notifications only when the pipeline status changes |
pipeline_ | Boolean | Trigger event when a pipeline status changes |
push_ | Boolean | Trigger event for pushes to the repository |
tag_ | Boolean | Trigger event for new tags pushed to the repository |
use_ | Boolean | Indicates whether to inherit the default settings.false |
webhookRequired | String | The Unify Circuit webhook (for example,https:) |
wiki_ | Boolean | Trigger event when a wiki page is created or updated |
work_ | Boolean | — |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Webex Teams integration
PUT /api/v4/projects/{id}/integrations/webex-teams
Creates or updates the Webex Teams integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
branches_ | String | Branches to send notifications for.all,default,protected,default_.default |
confidential_ | Boolean | Trigger event when a confidential work item is created, |
confidential_ | Boolean | Trigger event for new comments on confidential work items |
confidential_ | Boolean | — |
issues_ | Boolean | Trigger event when a work item is created, |
merge_ | Boolean | Trigger event when a merge request is created, |
note_ | Boolean | Trigger event for new comments |
notify_ | Boolean | Send notifications for broken pipelines |
notify_ | Boolean | Send notifications only when the pipeline status changes |
pipeline_ | Boolean | Trigger event when a pipeline status changes |
push_ | Boolean | Trigger event for pushes to the repository |
tag_ | Boolean | Trigger event for new tags pushed to the repository |
use_ | Boolean | Indicates whether to inherit the default settings.false |
webhookRequired | String | The Webex Teams webhook. |
wiki_ | Boolean | Trigger event when a wiki page is created or updated |
work_ | Boolean | — |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Youtrack integration
PUT /api/v4/projects/{id}/integrations/youtrack
Creates or updates the Youtrack integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
issues_Required | String | URL of the issue |
project_Required | String | URL of the project |
push_ | Boolean | Trigger event for pushes to the repository |
use_ | Boolean | Indicates whether to inherit the default settings.false |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Zentao integration
PUT /api/v4/projects/{id}/integrations/zentao
Creates or updates the Zentao integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
api_Required | String | — |
api_ | String | If different from Web URL |
urlRequired | String | Base URL of the Zen |
use_ | Boolean | Indicates whether to inherit the default settings.false |
zentao_Required | String | — |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Retrieve integration settings
GET /api/v4/projects/{id}/integrations/{slug}
Retrieves the settings for a specified integration.
Parameters
| Name | Type | Description |
|---|---|---|
slugPath, | String | The name of the integration Allowed values: apple-,asana,assembla,bamboo,bugzilla,buildkite,campfire,confluence,custom-,datadog,diffblue-,discord,drone-,emails-,external-,gitlab-,google-,hangouts-,harbor,irker,jenkins,jira,jira-,linear,matrix,mattermost-,packagist,phorge,pipelines-,pivotaltracker,pumble,pushover,redmine,ewm,youtrack,clickup,slack,microsoft-,mattermost,teamcity,telegram,unify-,webex-,zentao,squash-,defect-,ptai,code-,trivy,mock-,mock-Minimum length: 1 |
idPath, | String or integer | The ID or URL- Example: 11 |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
Disable an integration
DELETE /api/v4/projects/{id}/integrations/{slug}
Disables a specified integration. Integration settings are preserved.
Parameters
| Name | Type | Description |
|---|---|---|
slugPath, | String | The name of the integration Allowed values: apple-,asana,assembla,bamboo,bugzilla,buildkite,campfire,confluence,custom-,datadog,diffblue-,discord,drone-,emails-,external-,gitlab-,google-,hangouts-,harbor,irker,jenkins,jira,jira-,linear,matrix,mattermost-,packagist,phorge,pipelines-,pivotaltracker,pumble,pushover,redmine,ewm,youtrack,clickup,slack,microsoft-,mattermost,teamcity,telegram,unify-,webex-,zentao,squash-,defect-,ptai,code-,trivy,mock-,mock-Minimum length: 1 |
idPath, | String or integer | The ID or URL- Example: 11 |
Responses
| Code | Description | Schema |
|---|---|---|
204 | No Content | — |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
List all active integrations
GET /api/v4/projects/{id}/services
Lists all active integrations.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
401 | Unauthorized | — |
404 | Not found | — |
Create or update the Apple App Store integration
PUT /api/v4/projects/{id}/services/apple-app-store
Creates or updates the Apple App Store integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
app_Required | String | Apple App Store Connect issuer ID |
app_Required | String | Apple App Store Connect key ID |
app_Required | String | Apple App Store Connect private key |
app_Required | String | Apple App Store Connect private key file name |
app_ | Boolean | Set variables on protected branches and tags only |
use_ | Boolean | Indicates whether to inherit the default settings.false |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Asana integration
PUT /api/v4/projects/{id}/services/asana
Creates or updates the Asana integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
api_Required | String | User API token. |
push_ | Boolean | Trigger event for pushes to the repository |
restrict_ | String | Comma- |
use_ | Boolean | Indicates whether to inherit the default settings.false |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Assembla integration
PUT /api/v4/projects/{id}/services/assembla
Creates or updates the Assembla integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
push_ | Boolean | Trigger event for pushes to the repository |
subdomain | String | The subdomain setting |
tokenRequired | String | The authentication token |
use_ | Boolean | Indicates whether to inherit the default settings.false |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Bamboo integration
PUT /api/v4/projects/{id}/services/bamboo
Creates or updates the Bamboo integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
bamboo_Required | String | Bamboo root URL (for example,https:) |
build_Required | String | Bamboo build plan key (for example,KEY) |
enable_ | Boolean | Enable SSL verification.true (enabled) |
passwordRequired | String | Password of the user |
push_ | Boolean | Trigger event for pushes to the repository |
use_ | Boolean | Indicates whether to inherit the default settings.false |
usernameRequired | String | User with API access to the Bamboo server |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Bugzilla integration
PUT /api/v4/projects/{id}/services/bugzilla
Creates or updates the Bugzilla integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
issues_Required | String | URL of the issue |
new_Required | String | URL of the new issue |
project_Required | String | URL of the project |
push_ | Boolean | Trigger event for pushes to the repository |
use_ | Boolean | Indicates whether to inherit the default settings.false |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Buildkite integration
PUT /api/v4/projects/{id}/services/buildkite
Creates or updates the Buildkite integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
enable_ | Boolean | DEPRECATED: |
merge_ | Boolean | Trigger event when a merge request is created, |
project_Required | String | Pipeline URL (for example,https:) |
push_ | Boolean | Trigger event for pushes to the repository |
tag_ | Boolean | Trigger event for new tags pushed to the repository |
tokenRequired | String | Token you get after you create a Buildkite pipeline with a Deckhouse Code repository |
use_ | Boolean | Indicates whether to inherit the default settings.false |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Campfire integration
PUT /api/v4/projects/{id}/services/campfire
Creates or updates the Campfire integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
push_ | Boolean | Trigger event for pushes to the repository |
room | String | ID portion of the Campfire room URL |
subdomain | String | . subdomain when you’re signed in |
tokenRequired | String | API authentication token from Campfire. |
use_ | Boolean | Indicates whether to inherit the default settings.false |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Clickup integration
PUT /api/v4/projects/{id}/services/clickup
Creates or updates the Clickup integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
issues_Required | String | URL of the issue |
project_Required | String | URL of the project |
push_ | Boolean | Trigger event for pushes to the repository |
use_ | Boolean | Indicates whether to inherit the default settings.false |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Code Scoring integration
PUT /api/v4/projects/{id}/services/code-scoring
Creates or updates the Code Scoring integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
codescoring_ | String | Optional. |
codescoring_ | String | Optional. |
codescoring_ | String | PEM certificate of the authority that signed the server’s certificate. |
codescoring_ | Boolean | Let the Code |
codescoring_ | String | Optional. |
codescoring_ | String | Optional. |
codescoring_ | String | What to scan: |
codescoring_ | String | Optional. |
codescoring_ | String | The policy stage this scan reports as. |
codescoring_ | String | How the scan job decides whether to trust the Code |
codescoring_Required | String | API token to authenticate and download the Johnny agent |
codescoring_Required | String | Base URL of the Code |
use_ | Boolean | Indicates whether to inherit the default settings.false |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Confluence integration
PUT /api/v4/projects/{id}/services/confluence
Creates or updates the Confluence integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
confluence_Required | String | URL of the Confluence Workspace hosted on atlassian. |
use_ | Boolean | Indicates whether to inherit the default settings.false |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Custom Issue Tracker integration
PUT /api/v4/projects/{id}/services/custom-issue-tracker
Creates or updates the Custom Issue Tracker integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
issues_Required | String | URL of the issue |
new_Required | String | URL of the new issue |
project_Required | String | URL of the project |
push_ | Boolean | Trigger event for pushes to the repository |
use_ | Boolean | Indicates whether to inherit the default settings.false |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Datadog integration
PUT /api/v4/projects/{id}/services/datadog
Creates or updates the Datadog integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
api_Required | String | API key used for authentication with Datadog |
api_ | String | Full URL of your Datadog site. |
archive_ | Boolean | When enabled, |
build_ | Boolean | Trigger event when a build is created |
datadog_ | Boolean | Enable CI Visibility |
datadog_ | String | For self-env tag for all the data sent to Datadog |
datadog_ | String | Tag all pipeline data from this Deckhouse Code instance in Datadog. |
datadog_ | String | Datadog site to send data to. |
datadog_ | String | Custom tags in Datadog.key: |
merge_ | Boolean | Trigger event when a merge request is created, |
note_ | Boolean | Trigger event for new comments |
pipeline_ | Boolean | Trigger event when a pipeline status changes |
project_ | Boolean | — |
push_ | Boolean | Trigger event for pushes to the repository |
subgroup_ | Boolean | — |
tag_ | Boolean | Trigger event for new tags pushed to the repository |
use_ | Boolean | Indicates whether to inherit the default settings.false |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Defect Dojo integration
PUT /api/v4/projects/{id}/services/defect-dojo
Creates or updates the Defect Dojo integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
api_Required | String | Token used to authenticate with the Defect |
auto_ | Boolean | — |
ca_ | String | PEM certificate of the authority that signed the server’s certificate. |
close_ | Boolean | — |
engagement_ | String | Defect |
findings_ | Boolean | — |
findings_ | Boolean | — |
minimum_ | String | Ignore findings below this severity on import |
product_ | String | Defect |
product_ | String | Defect |
tls_ | String | How this instance decides whether to trust the Defect |
urlRequired | String | Base URL of your Defect |
use_ | Boolean | Indicates whether to inherit the default settings.false |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Diffblue Cover integration
PUT /api/v4/projects/{id}/services/diffblue-cover
Creates or updates the Diffblue Cover integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
diffblue_Required | String | Access token name used by Diffblue Cover in pipelines |
diffblue_Required | String | Access token secret used by Diffblue Cover in pipelines |
diffblue_Required | String | Diffblue Cover license key |
use_ | Boolean | Indicates whether to inherit the default settings.false |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Discord integration
PUT /api/v4/projects/{id}/services/discord
Creates or updates the Discord integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
alert_ | String | The name of the channel to receive alert_ |
branches_ | String | Branches to send notifications for.all,default,protected,default_.default |
confidential_ | String | The name of the channel to receive confidential_ |
confidential_ | Boolean | Trigger event when a confidential work item is created, |
confidential_ | String | The name of the channel to receive confidential_ |
confidential_ | Boolean | Trigger event for new comments on confidential work items |
confidential_ | Boolean | — |
deployment_ | String | The name of the channel to receive deployment_ |
deployment_ | Boolean | Trigger event when a deployment starts or finishes |
incident_ | String | The name of the channel to receive incident_ |
issue_ | String | The name of the channel to receive issues_ |
issues_ | Boolean | Trigger event when a work item is created, |
merge_ | String | The name of the channel to receive merge_ |
merge_ | Boolean | Trigger event when a merge request is created, |
note_ | String | The name of the channel to receive note_ |
note_ | Boolean | Trigger event for new comments |
notify_ | Boolean | Send notifications for broken pipelines |
notify_ | Boolean | Send notifications only when the pipeline status changes |
pipeline_ | String | The name of the channel to receive pipeline_ |
pipeline_ | Boolean | Trigger event when a pipeline status changes |
push_ | String | The name of the channel to receive push_ |
push_ | Boolean | Trigger event for pushes to the repository |
tag_ | String | The name of the channel to receive tag_ |
tag_ | Boolean | Trigger event for new tags pushed to the repository |
use_ | Boolean | Indicates whether to inherit the default settings.false |
webhookRequired | String | Discord webhook (for example,https:) |
wiki_ | String | The name of the channel to receive wiki_ |
wiki_ | Boolean | Trigger event when a wiki page is created or updated |
work_ | Boolean | — |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Drone Ci integration
PUT /api/v4/projects/{id}/services/drone-ci
Creates or updates the Drone Ci integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
drone_Required | String | Drone CI URL (for example,http:) |
enable_ | Boolean | Enable SSL verification.true (enabled) |
merge_ | Boolean | Trigger event when a merge request is created, |
push_ | Boolean | Trigger event for pushes to the repository |
tag_ | Boolean | Trigger event for new tags pushed to the repository |
tokenRequired | String | Drone CI token |
use_ | Boolean | Indicates whether to inherit the default settings.false |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Emails On Push integration
PUT /api/v4/projects/{id}/services/emails-on-push
Creates or updates the Emails On Push integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
branches_ | String | Branches to send notifications for.all,default,protected,default_.default |
disable_ | Boolean | Disable code diffs |
push_ | Boolean | Trigger event for pushes to the repository |
recipientsRequired | String | Emails separated by whitespace |
send_ | Boolean | Send from committer |
tag_ | Boolean | Trigger event for new tags pushed to the repository |
use_ | Boolean | Indicates whether to inherit the default settings.false |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Ewm integration
PUT /api/v4/projects/{id}/services/ewm
Creates or updates the Ewm integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
issues_Required | String | URL of the issue |
new_Required | String | URL of the new issue |
project_Required | String | URL of the project |
push_ | Boolean | Trigger event for pushes to the repository |
use_ | Boolean | Indicates whether to inherit the default settings.false |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the External Wiki integration
PUT /api/v4/projects/{id}/services/external-wiki
Creates or updates the External Wiki integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
external_Required | String | URL of the external wiki |
use_ | Boolean | Indicates whether to inherit the default settings.false |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Gitlab Slack Application integration
PUT /api/v4/projects/{id}/services/gitlab-slack-application
Creates or updates the Gitlab Slack Application integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
alert_ | String | The name of the channel to receive alert_ |
alert_ | Boolean | Trigger event when a new, |
branches_ | String | Branches to send notifications for.all,default,protected,default_.default |
channel | String | Default channel to use if no other channel is configured |
confidential_ | String | The name of the channel to receive confidential_ |
confidential_ | Boolean | Trigger event when a confidential work item is created, |
confidential_ | String | The name of the channel to receive confidential_ |
confidential_ | Boolean | Trigger event for new comments on confidential work items |
confidential_ | Boolean | — |
deployment_ | String | The name of the channel to receive deployment_ |
deployment_ | Boolean | Trigger event when a deployment starts or finishes |
incident_ | String | The name of the channel to receive incident_ |
incident_ | Boolean | Trigger event when an incident is created |
issue_ | String | The name of the channel to receive issues_ |
issues_ | Boolean | Trigger event when a work item is created, |
labels_ | String | Labels to send notifications for. |
labels_ | String | Labels to be notified for.match_ and match_.match_ |
merge_ | String | The name of the channel to receive merge_ |
merge_ | Boolean | Trigger event when a merge request is created, |
note_ | String | The name of the channel to receive note_ |
note_ | Boolean | Trigger event for new comments |
notify_ | Boolean | Send notifications for broken pipelines |
notify_ | Boolean | Send notifications only when the pipeline status changes |
pipeline_ | String | The name of the channel to receive pipeline_ |
pipeline_ | Boolean | Trigger event when a pipeline status changes |
push_ | String | The name of the channel to receive push_ |
push_ | Boolean | Trigger event for pushes to the repository |
tag_ | String | The name of the channel to receive tag_ |
tag_ | Boolean | Trigger event for new tags pushed to the repository |
use_ | Boolean | Indicates whether to inherit the default settings.false |
wiki_ | String | The name of the channel to receive wiki_ |
wiki_ | Boolean | Trigger event when a wiki page is created or updated |
work_ | Boolean | — |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Google Play integration
PUT /api/v4/projects/{id}/services/google-play
Creates or updates the Google Play integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
google_ | Boolean | Set variables on protected branches and tags only |
package_Required | String | Package name of the app in Google Play |
service_Required | String | Google Play service account key |
service_Required | String | File name of the Google Play service account key |
use_ | Boolean | Indicates whether to inherit the default settings.false |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Hangouts Chat integration
PUT /api/v4/projects/{id}/services/hangouts-chat
Creates or updates the Hangouts Chat integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
branches_ | String | Branches to send notifications for.all,default,protected,default_.default |
confidential_ | Boolean | Trigger event when a confidential work item is created, |
confidential_ | Boolean | Trigger event for new comments on confidential work items |
confidential_ | Boolean | — |
issues_ | Boolean | Trigger event when a work item is created, |
merge_ | Boolean | Trigger event when a merge request is created, |
note_ | Boolean | Trigger event for new comments |
notify_ | Boolean | Send notifications for broken pipelines |
notify_ | Boolean | Send notifications only when the pipeline status changes |
pipeline_ | Boolean | Trigger event when a pipeline status changes |
push_ | Boolean | Trigger event for pushes to the repository |
tag_ | Boolean | Trigger event for new tags pushed to the repository |
use_ | Boolean | Indicates whether to inherit the default settings.false |
webhookRequired | String | The Hangouts Chat webhook (for example,https:) |
wiki_ | Boolean | Trigger event when a wiki page is created or updated |
work_ | Boolean | — |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Harbor integration
PUT /api/v4/projects/{id}/services/harbor
Creates or updates the Harbor integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
passwordRequired | String | The password of the user |
project_Required | String | The name of the project in the Harbor instance.testproject |
urlRequired | String | The base URL to the Harbor instance linked to the Deckhouse Code project.https: |
use_ | Boolean | Indicates whether to inherit the default settings.false |
usernameRequired | String | The username created in the Harbor interface |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Irker integration
PUT /api/v4/projects/{id}/services/irker
Creates or updates the Irker integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
colorize_ | Boolean | Colorize messages |
default_ | String | URI to add before each recipient.irc: |
push_ | Boolean | Trigger event for pushes to the repository |
recipientsRequired | String | Comma- |
server_ | String | irker daemon hostname.localhost |
server_ | Integer | irker daemon port.6659 |
use_ | Boolean | Indicates whether to inherit the default settings.false |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Jenkins integration
PUT /api/v4/projects/{id}/services/jenkins
Creates or updates the Jenkins integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
enable_ | Boolean | Enable SSL verification.true (enabled) |
jenkins_Required | String | URL of the Jenkins server |
merge_ | Boolean | Trigger event when a merge request is created, |
password | String | Password of the Jenkins server |
project_Required | String | Name of the Jenkins project |
push_ | Boolean | Trigger event for pushes to the repository |
tag_ | Boolean | Trigger event for new tags pushed to the repository |
use_ | Boolean | Indicates whether to inherit the default settings.false |
username | String | Username of the Jenkins server |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Jira integration
PUT /api/v4/projects/{id}/services/jira
Creates or updates the Jira integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
api_ | String | The base URL to the Jira instance API.https:) |
comment_ | Boolean | Enable comments inside Jira issues on each Git |
commit_ | Boolean | Trigger event when a commit is created or updated |
issues_ | String | Enable viewing Jira issues in Deckhouse Code |
jira_ | Integer | The authentication method to use with Jira.0 for basic authentication,1 for Jira personal access token,2 for Jira Cloud service accounts.0 |
jira_ | String | Prefix to match Jira issue keys |
jira_ | String | Regular expression to match Jira issue keys |
jira_ | String | The ID of one or more transitions for custom issue transitions.jira_ is enabled. |
merge_ | Boolean | Trigger event when a merge request is created, |
passwordRequired | String | The Jira API token,jira_ is 0),jira_ is 1), |
project_ | Array of strings | Keys of Jira projects to display.issues_ is true, |
urlRequired | String | The URL to the Jira project which is being linked to this Deckhouse Code project (for example,https:) |
use_ | Boolean | Indicates whether to inherit the default settings.false |
username | String | The email or username to use with Jira.jira_ is 0) |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Jira Cloud App integration
PUT /api/v4/projects/{id}/services/jira-cloud-app
Creates or updates the Jira Cloud App integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
jira_ | String | Enter the environment (production, |
jira_ | Boolean | Enable to approve or reject blocked Deckhouse Code deployments from Jira Service Management |
jira_ | String | Copy and paste your JSM Service ID here. |
use_ | Boolean | Indicates whether to inherit the default settings.false |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Linear integration
PUT /api/v4/projects/{id}/services/linear
Creates or updates the Linear integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
push_ | Boolean | Trigger event for pushes to the repository |
use_ | Boolean | Indicates whether to inherit the default settings.false |
workspace_Required | String | Linear workspace URL (for example, |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Matrix integration
PUT /api/v4/projects/{id}/services/matrix
Creates or updates the Matrix integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
branches_ | String | Branches to send notifications for.all,default,protected,default_.default |
confidential_ | Boolean | Trigger event when a confidential work item is created, |
confidential_ | Boolean | Trigger event for new comments on confidential work items |
confidential_ | Boolean | — |
hostname | String | Custom hostname of the Matrix server.https: |
incident_ | Boolean | Trigger event when an incident is created |
issues_ | Boolean | Trigger event when a work item is created, |
merge_ | Boolean | Trigger event when a merge request is created, |
note_ | Boolean | Trigger event for new comments |
notify_ | Boolean | Send notifications for broken pipelines |
notify_ | Boolean | Send notifications only when the pipeline status changes |
pipeline_ | Boolean | Trigger event when a pipeline status changes |
push_ | Boolean | Trigger event for pushes to the repository |
roomRequired | String | Unique identifier for the target room (in the format !q) |
tag_ | Boolean | Trigger event for new tags pushed to the repository |
tokenRequired | String | The Matrix access token (for example,syt-) |
use_ | Boolean | Indicates whether to inherit the default settings.false |
wiki_ | Boolean | Trigger event when a wiki page is created or updated |
work_ | Boolean | — |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Mattermost integration
PUT /api/v4/projects/{id}/services/mattermost
Creates or updates the Mattermost integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
alert_ | String | The name of the channel to receive alert_ |
branches_ | String | Branches to send notifications for.all,default,protected,default_.default |
channel | String | Default channel to use if no other channel is configured |
confidential_ | String | The name of the channel to receive confidential_ |
confidential_ | Boolean | Trigger event when a confidential work item is created, |
confidential_ | String | The name of the channel to receive confidential_ |
confidential_ | Boolean | Trigger event for new comments on confidential work items |
confidential_ | Boolean | — |
deployment_ | String | The name of the channel to receive deployment_ |
deployment_ | Boolean | Trigger event when a deployment starts or finishes |
incident_ | String | The name of the channel to receive incident_ |
incident_ | Boolean | Trigger event when an incident is created |
issue_ | String | The name of the channel to receive issues_ |
issues_ | Boolean | Trigger event when a work item is created, |
labels_ | String | Labels to send notifications for. |
labels_ | String | Labels to be notified for.match_ and match_.match_ |
merge_ | String | The name of the channel to receive merge_ |
merge_ | Boolean | Trigger event when a merge request is created, |
note_ | String | The name of the channel to receive note_ |
note_ | Boolean | Trigger event for new comments |
notify_ | Boolean | Send notifications for broken pipelines |
notify_ | Boolean | Send notifications only when the pipeline status changes |
pipeline_ | String | The name of the channel to receive pipeline_ |
pipeline_ | Boolean | Trigger event when a pipeline status changes |
push_ | String | The name of the channel to receive push_ |
push_ | Boolean | Trigger event for pushes to the repository |
tag_ | String | The name of the channel to receive tag_ |
tag_ | Boolean | Trigger event for new tags pushed to the repository |
use_ | Boolean | Indicates whether to inherit the default settings.false |
username | String | Mattermost notifications username |
webhookRequired | String | Mattermost notifications webhook (for example,http:) |
wiki_ | String | The name of the channel to receive wiki_ |
wiki_ | Boolean | Trigger event when a wiki page is created or updated |
work_ | Boolean | — |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Mattermost Slash Commands integration
PUT /api/v4/projects/{id}/services/mattermost-slash-commands
Creates or updates the Mattermost Slash Commands integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
tokenRequired | String | The Mattermost token |
use_ | Boolean | Indicates whether to inherit the default settings.false |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Trigger a slash command for mattermost-slash-commands
POST /api/v4/projects/{id}/services/mattermost_slash_commands/trigger
Triggers a slash command for mattermost-slash-commands.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
tokenRequired | String | The Mattermost token |
Responses
| Code | Description | Schema |
|---|---|---|
201 | Created | — |
400 | Bad Request | — |
401 | Unauthorized | — |
404 | Not found | — |
Create or update the Microsoft Teams integration
PUT /api/v4/projects/{id}/services/microsoft-teams
Creates or updates the Microsoft Teams integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
branches_ | String | Branches to send notifications for.all,default,protected,default_.default |
confidential_ | Boolean | Trigger event when a confidential work item is created, |
confidential_ | Boolean | Trigger event for new comments on confidential work items |
confidential_ | Boolean | — |
issues_ | Boolean | Trigger event when a work item is created, |
merge_ | Boolean | Trigger event when a merge request is created, |
note_ | Boolean | Trigger event for new comments |
notify_ | Boolean | Send notifications for broken pipelines |
notify_ | Boolean | Send notifications only when the pipeline status changes |
pipeline_ | Boolean | Trigger event when a pipeline status changes |
push_ | Boolean | Trigger event for pushes to the repository |
tag_ | Boolean | Trigger event for new tags pushed to the repository |
use_ | Boolean | Indicates whether to inherit the default settings.false |
webhookRequired | String | The Microsoft Teams webhook (for example,https:) |
wiki_ | Boolean | Trigger event when a wiki page is created or updated |
work_ | Boolean | — |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Mock Ci integration
PUT /api/v4/projects/{id}/services/mock-ci
Creates or updates the Mock Ci integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
enable_ | Boolean | Enable SSL verification.true (enabled) |
mock_Required | String | URL of the Mock CI integration |
push_ | Boolean | Trigger event for pushes to the repository |
use_ | Boolean | Indicates whether to inherit the default settings.false |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Mock Monitoring integration
PUT /api/v4/projects/{id}/services/mock-monitoring
Creates or updates the Mock Monitoring integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
use_ | Boolean | Indicates whether to inherit the default settings.false |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Packagist integration
PUT /api/v4/projects/{id}/services/packagist
Creates or updates the Packagist integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
merge_ | Boolean | Trigger event when a merge request is created, |
push_ | Boolean | Trigger event for pushes to the repository |
server | String | URL of the Packagist server.https: |
tag_ | Boolean | Trigger event for new tags pushed to the repository |
tokenRequired | String | API token of the Packagist server |
use_ | Boolean | Indicates whether to inherit the default settings.false |
usernameRequired | String | Username of a Packagist account |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Phorge integration
PUT /api/v4/projects/{id}/services/phorge
Creates or updates the Phorge integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
issues_Required | String | URL of the issue |
project_Required | String | URL of the project |
push_ | Boolean | Trigger event for pushes to the repository |
use_ | Boolean | Indicates whether to inherit the default settings.false |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Pipelines Email integration
PUT /api/v4/projects/{id}/services/pipelines-email
Creates or updates the Pipelines Email integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
branches_ | String | Branches to send notifications for.all,default,protected,default_.default |
notify_ | Boolean | Send notifications for child pipelines |
notify_ | Boolean | Send notifications for broken pipelines |
notify_ | Boolean | Send notifications for the default branch |
notify_ | Boolean | Send notifications only when the pipeline status changes |
pipeline_ | Boolean | Trigger event when a pipeline status changes |
recipientsRequired | String | Comma- |
use_ | Boolean | Indicates whether to inherit the default settings.false |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Pivotaltracker integration
PUT /api/v4/projects/{id}/services/pivotaltracker
Creates or updates the Pivotaltracker integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
push_ | Boolean | Trigger event for pushes to the repository |
restrict_ | String | Comma- |
tokenRequired | String | The Pivotal Tracker token |
use_ | Boolean | Indicates whether to inherit the default settings.false |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Ptai integration
PUT /api/v4/projects/{id}/services/ptai
Creates or updates the Ptai integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
ptai_ | Boolean | Widens pattern matching to every rule the server holds, |
ptai_ | String | Reg |
ptai_ | String | The session cookie to present, |
ptai_ | String | For form authentication |
ptai_ | String | Whether the form is found on its own or described below. |
ptai_ | String | For a form the scan cannot find by itself |
ptai_ | String | For the sign- |
ptai_ | String | The form field the user goes into, |
ptai_ | String | — |
ptai_ | String | The form field the password goes into |
ptai_ | String | How the black box signs in. |
ptai_ | String | A page only a signed- |
ptai_ | String | Text that appears on that page when signed in, |
ptai_ | Boolean | Tries what the static analysis found against the running site, |
ptai_ | String | One per line, |
ptai_ | String | One per line, |
ptai_ | String | How thoroughly the site is explored. |
ptai_ | String | Optional. |
ptai_ | String | — |
ptai_ | String | — |
ptai_ | String | — |
ptai_ | String | — |
ptai_ | String | How far from the address the scan may wander: |
ptai_ | String | Address of the running application the black box scans. |
ptai_ | Boolean | Leave off for a staging site with a self- |
ptai_ | String | PEM certificate of the authority that signed the server’s certificate. |
ptai_ | String | One per line, |
ptai_ | String | Optional. |
ptai_Required | String | Base URL of the PT Application Inspector server |
ptai_ | String | Optional. |
ptai_ | Boolean | The analysis kernels fetch the project’s packages before they read the code. |
ptai_ | Boolean | Keeps build output and vendored trees out of what is uploaded |
ptai_ | String | How the scan job decides whether to trust the PT Application Inspector server. |
ptai_Required | String | API token used to authenticate with the PT Application Inspector server |
ptai_ | Boolean | Checks the result against the policy held on the server. |
use_ | Boolean | Indicates whether to inherit the default settings.false |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Pumble integration
PUT /api/v4/projects/{id}/services/pumble
Creates or updates the Pumble integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
branches_ | String | Branches to send notifications for.all,default,protected,default_.default |
confidential_ | Boolean | Trigger event when a confidential work item is created, |
confidential_ | Boolean | Trigger event for new comments on confidential work items |
confidential_ | Boolean | — |
issues_ | Boolean | Trigger event when a work item is created, |
merge_ | Boolean | Trigger event when a merge request is created, |
note_ | Boolean | Trigger event for new comments |
notify_ | Boolean | Send notifications for broken pipelines |
notify_ | Boolean | Send notifications only when the pipeline status changes |
pipeline_ | Boolean | Trigger event when a pipeline status changes |
push_ | Boolean | Trigger event for pushes to the repository |
tag_ | Boolean | Trigger event for new tags pushed to the repository |
use_ | Boolean | Indicates whether to inherit the default settings.false |
webhookRequired | String | The Pumble webhook (for example,https:) |
wiki_ | Boolean | Trigger event when a wiki page is created or updated |
work_ | Boolean | — |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Pushover integration
PUT /api/v4/projects/{id}/services/pushover
Creates or updates the Pushover integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
api_Required | String | The application key |
device | String | Leave blank for all active devices |
priorityRequired | String | The priority |
push_ | Boolean | Trigger event for pushes to the repository |
sound | String | The sound of the notification |
use_ | Boolean | Indicates whether to inherit the default settings.false |
user_Required | String | The user key |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Redmine integration
PUT /api/v4/projects/{id}/services/redmine
Creates or updates the Redmine integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
issues_Required | String | URL of the issue |
new_Required | String | URL of the new issue |
project_Required | String | URL of the project |
push_ | Boolean | Trigger event for pushes to the repository |
use_ | Boolean | Indicates whether to inherit the default settings.false |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Slack integration
PUT /api/v4/projects/{id}/services/slack
Creates or updates the Slack integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
alert_ | String | The name of the channel to receive alert_ |
alert_ | Boolean | Trigger event when a new, |
branches_ | String | Branches to send notifications for.all,default,protected,default_.default |
channel | String | Default channel to use if no other channel is configured |
confidential_ | String | The name of the channel to receive confidential_ |
confidential_ | Boolean | Trigger event when a confidential work item is created, |
confidential_ | String | The name of the channel to receive confidential_ |
confidential_ | Boolean | Trigger event for new comments on confidential work items |
confidential_ | Boolean | — |
deployment_ | String | The name of the channel to receive deployment_ |
deployment_ | Boolean | Trigger event when a deployment starts or finishes |
incident_ | String | The name of the channel to receive incident_ |
incident_ | Boolean | Trigger event when an incident is created |
issue_ | String | The name of the channel to receive issues_ |
issues_ | Boolean | Trigger event when a work item is created, |
labels_ | String | Labels to send notifications for. |
labels_ | String | Labels to be notified for.match_ and match_.match_ |
merge_ | String | The name of the channel to receive merge_ |
merge_ | Boolean | Trigger event when a merge request is created, |
note_ | String | The name of the channel to receive note_ |
note_ | Boolean | Trigger event for new comments |
notify_ | Boolean | Send notifications for broken pipelines |
notify_ | Boolean | Send notifications only when the pipeline status changes |
pipeline_ | String | The name of the channel to receive pipeline_ |
pipeline_ | Boolean | Trigger event when a pipeline status changes |
push_ | String | The name of the channel to receive push_ |
push_ | Boolean | Trigger event for pushes to the repository |
tag_ | String | The name of the channel to receive tag_ |
tag_ | Boolean | Trigger event for new tags pushed to the repository |
use_ | Boolean | Indicates whether to inherit the default settings.false |
username | String | Slack notifications username |
webhookRequired | String | Slack notifications webhook (for example,https:) |
wiki_ | String | The name of the channel to receive wiki_ |
wiki_ | Boolean | Trigger event when a wiki page is created or updated |
work_ | Boolean | — |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Squash Tm integration
PUT /api/v4/projects/{id}/services/squash-tm
Creates or updates the Squash Tm integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
confidential_ | Boolean | Trigger event when a confidential work item is created, |
issues_ | Boolean | Trigger event when a work item is created, |
token | String | Secret token |
urlRequired | String | URL of the Squash TM webhook |
use_ | Boolean | Indicates whether to inherit the default settings.false |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Teamcity integration
PUT /api/v4/projects/{id}/services/teamcity
Creates or updates the Teamcity integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
build_Required | String | The build configuration ID of the Team |
enable_ | Boolean | Enable SSL verification.true (enabled) |
merge_ | Boolean | Trigger event when a merge request is created, |
passwordRequired | String | The password of the user |
push_ | Boolean | Trigger event for pushes to the repository |
teamcity_Required | String | Teamhttps:) |
use_ | Boolean | Indicates whether to inherit the default settings.false |
usernameRequired | String | A user with permissions to trigger a manual build |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Telegram integration
PUT /api/v4/projects/{id}/services/telegram
Creates or updates the Telegram integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
branches_ | String | Branches to send notifications for.all,default,protected,default_.default |
confidential_ | Boolean | Trigger event when a confidential work item is created, |
confidential_ | Boolean | Trigger event for new comments on confidential work items |
confidential_ | Boolean | — |
hostname | String | Custom hostname of the Telegram API.https: |
incident_ | Boolean | Trigger event when an incident is created |
issues_ | Boolean | Trigger event when a work item is created, |
merge_ | Boolean | Trigger event when a merge request is created, |
note_ | Boolean | Trigger event for new comments |
notify_ | Boolean | Send notifications for broken pipelines |
notify_ | Boolean | Send notifications only when the pipeline status changes |
pipeline_ | Boolean | Trigger event when a pipeline status changes |
push_ | Boolean | Trigger event for pushes to the repository |
roomRequired | String | Unique identifier for the target chat or the username of the target channel (in the format @channelusername) |
tag_ | Boolean | Trigger event for new tags pushed to the repository |
thread | String | Unique identifier for the target message thread (topic in a forum supergroup) |
tokenRequired | String | The Telegram bot token (for example,123456:) |
use_ | Boolean | Indicates whether to inherit the default settings.false |
wiki_ | Boolean | Trigger event when a wiki page is created or updated |
work_ | Boolean | — |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Trivy integration
PUT /api/v4/projects/{id}/services/trivy
Creates or updates the Trivy integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
trivy_ | String | PEM certificate of the authority that signed the registry’s certificate. |
trivy_ | String | Optional. |
trivy_ | Boolean | Logs what the scan resolved and where it read it from |
trivy_ | String | Optional. |
trivy_ | Boolean | Drops findings with no fixed version published, |
trivy_ | String | Optional. |
trivy_ | String | Optional. |
trivy_ | String | Optional. |
trivy_ | String | Optional. |
trivy_ | Boolean | Stops the scan making requests of its own to identify dependencies. |
trivy_ | String | Optional. |
trivy_ | String | Optional. |
trivy_ | String | — |
trivy_ | String | Optional. |
trivy_ | String | Optional. |
trivy_ | String | Optional. |
trivy_ | String | Optional. |
trivy_ | String | Optional. |
trivy_ | String | Optional. |
trivy_ | String | Optional. |
trivy_ | String | Optional. |
trivy_ | String | How the scan decides whether to trust the registry it pulls from |
use_ | Boolean | Indicates whether to inherit the default settings.false |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Unify Circuit integration
PUT /api/v4/projects/{id}/services/unify-circuit
Creates or updates the Unify Circuit integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
branches_ | String | Branches to send notifications for.all,default,protected,default_.default |
confidential_ | Boolean | Trigger event when a confidential work item is created, |
confidential_ | Boolean | Trigger event for new comments on confidential work items |
confidential_ | Boolean | — |
issues_ | Boolean | Trigger event when a work item is created, |
merge_ | Boolean | Trigger event when a merge request is created, |
note_ | Boolean | Trigger event for new comments |
notify_ | Boolean | Send notifications for broken pipelines |
notify_ | Boolean | Send notifications only when the pipeline status changes |
pipeline_ | Boolean | Trigger event when a pipeline status changes |
push_ | Boolean | Trigger event for pushes to the repository |
tag_ | Boolean | Trigger event for new tags pushed to the repository |
use_ | Boolean | Indicates whether to inherit the default settings.false |
webhookRequired | String | The Unify Circuit webhook (for example,https:) |
wiki_ | Boolean | Trigger event when a wiki page is created or updated |
work_ | Boolean | — |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Webex Teams integration
PUT /api/v4/projects/{id}/services/webex-teams
Creates or updates the Webex Teams integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
branches_ | String | Branches to send notifications for.all,default,protected,default_.default |
confidential_ | Boolean | Trigger event when a confidential work item is created, |
confidential_ | Boolean | Trigger event for new comments on confidential work items |
confidential_ | Boolean | — |
issues_ | Boolean | Trigger event when a work item is created, |
merge_ | Boolean | Trigger event when a merge request is created, |
note_ | Boolean | Trigger event for new comments |
notify_ | Boolean | Send notifications for broken pipelines |
notify_ | Boolean | Send notifications only when the pipeline status changes |
pipeline_ | Boolean | Trigger event when a pipeline status changes |
push_ | Boolean | Trigger event for pushes to the repository |
tag_ | Boolean | Trigger event for new tags pushed to the repository |
use_ | Boolean | Indicates whether to inherit the default settings.false |
webhookRequired | String | The Webex Teams webhook. |
wiki_ | Boolean | Trigger event when a wiki page is created or updated |
work_ | Boolean | — |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Youtrack integration
PUT /api/v4/projects/{id}/services/youtrack
Creates or updates the Youtrack integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
issues_Required | String | URL of the issue |
project_Required | String | URL of the project |
push_ | Boolean | Trigger event for pushes to the repository |
use_ | Boolean | Indicates whether to inherit the default settings.false |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Create or update the Zentao integration
PUT /api/v4/projects/{id}/services/zentao
Creates or updates the Zentao integration.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
api_Required | String | — |
api_ | String | If different from Web URL |
urlRequired | String | Base URL of the Zen |
use_ | Boolean | Indicates whether to inherit the default settings.false |
zentao_Required | String | — |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Retrieve integration settings
GET /api/v4/projects/{id}/services/{slug}
Retrieves the settings for a specified integration.
Parameters
| Name | Type | Description |
|---|---|---|
slugPath, | String | The name of the integration Allowed values: apple-,asana,assembla,bamboo,bugzilla,buildkite,campfire,confluence,custom-,datadog,diffblue-,discord,drone-,emails-,external-,gitlab-,google-,hangouts-,harbor,irker,jenkins,jira,jira-,linear,matrix,mattermost-,packagist,phorge,pipelines-,pivotaltracker,pumble,pushover,redmine,ewm,youtrack,clickup,slack,microsoft-,mattermost,teamcity,telegram,unify-,webex-,zentao,squash-,defect-,ptai,code-,trivy,mock-,mock-Minimum length: 1 |
idPath, | String or integer | The ID or URL- Example: 11 |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
Disable an integration
DELETE /api/v4/projects/{id}/services/{slug}
Disables a specified integration. Integration settings are preserved.
Parameters
| Name | Type | Description |
|---|---|---|
slugPath, | String | The name of the integration Allowed values: apple-,asana,assembla,bamboo,bugzilla,buildkite,campfire,confluence,custom-,datadog,diffblue-,discord,drone-,emails-,external-,gitlab-,google-,hangouts-,harbor,irker,jenkins,jira,jira-,linear,matrix,mattermost-,packagist,phorge,pipelines-,pivotaltracker,pumble,pushover,redmine,ewm,youtrack,clickup,slack,microsoft-,mattermost,teamcity,telegram,unify-,webex-,zentao,squash-,defect-,ptai,code-,trivy,mock-,mock-Minimum length: 1 |
idPath, | String or integer | The ID or URL- Example: 11 |
Responses
| Code | Description | Schema |
|---|---|---|
204 | No Content | — |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
Trigger a global slack command
POST /api/v4/slack/trigger
Triggers a global slack command.
Request body (application/json)
| Property | Type | Description |
|---|---|---|
textRequired | String | Text of the slack command |
Responses
| Code | Description | Schema |
|---|---|---|
201 | Created | — |
400 | Bad Request | — |
401 | Unauthorized | — |
Schemas
Objects returned by the operations above and objects nested in their request bodies.
APIEntitiesIntegration
| Property | Type | Description |
|---|---|---|
active | Boolean | — |
alert_ | Boolean | — |
comment_ | Boolean | — |
commit_ | Boolean | — |
confidential_ | Boolean | — |
confidential_ | Boolean | — |
created_ | String (date- | Example:2019- |
deployment_ | Boolean | — |
id | Integer (int64) | Example:75 |
incident_ | Boolean | — |
inherited | Boolean | — |
issues_ | Boolean | — |
job_ | Boolean | — |
merge_ | Boolean | — |
note_ | Boolean | — |
pipeline_ | Boolean | — |
properties | Object | Example:{"token": |
push_ | Boolean | — |
slug | String | Example:jenkins |
tag_ | Boolean | — |
title | String | Example:Jenkins CI |
updated_ | String (date- | Example:2019- |
wiki_ | Boolean | — |
APIEntitiesIntegrationBasic
| Property | Type | Description |
|---|---|---|
active | Boolean | — |
alert_ | Boolean | — |
comment_ | Boolean | — |
commit_ | Boolean | — |
confidential_ | Boolean | — |
confidential_ | Boolean | — |
created_ | String (date- | Example:2019- |
deployment_ | Boolean | — |
id | Integer (int64) | Example:75 |
incident_ | Boolean | — |
inherited | Boolean | — |
issues_ | Boolean | — |
job_ | Boolean | — |
merge_ | Boolean | — |
note_ | Boolean | — |
pipeline_ | Boolean | — |
push_ | Boolean | — |
slug | String | Example:jenkins |
tag_ | Boolean | — |
title | String | Example:Jenkins CI |
updated_ | String (date- | Example:2019- |
wiki_ | Boolean | — |