Create
- POST
- /workspaces
- /:domain
- /integrations
Creates an integration of the selected type.
Supported integration types: DIGITAL_OCEAN
, AMAZON
, SHOPIFY
, PUSHOVER
, RACKSPACE
, CLOUDFLARE
, NEW_RELIC
, SENTRY
, ROLLBAR
, DATADOG
, DO_SPACES
, HONEYBADGER
, VULTR
, SENTRY_ENTERPRISE
, LOGGLY
, FIREBASE
, UPCLOUD
, GHOST_INSPECTOR
, AZURE_CLOUD
, DOCKER_HUB
, GIT_HUB
, GOOGLE_SERVICE_ACCOUNT
.
Example:
curl -X POST "https://api.buddy.works/workspaces/:domain/integrations" \
-H "Authorization: Bearer <YOUR-TOKEN>" \
-H "Content-Type: application/json" \
-d '{
"name": "Buddy AWS integration",
"type": "AMAZON",
"scope": "PROJECT",
"project_name": "company-website",
"access_key": "AKIAVASPKE3ZWWV7V5BI",
"secret_key": "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",
"identifier": "my_aws_integration",
"role_assumptions": [
{
"arn": "arn:aws:iam::123457465779:role/TESTS",
"external_id": "ext_id",
"duration": 9000
}
],
"all_pipelines_allowed": false,
"permissions": {
"admins": "MANAGE",
"others": "DENIED",
"users": [
{
"id": 1,
"access_level": "USE_ONLY"
}
],
"groups": [
{
"id": 1,
"access_level": "USE_ONLY"
}
]
},
"allowed_pipelines": [
{
"id": 1
}
]
}'
EXAMPLE RESPONSE{ "url": "https://api.buddy.works/workspaces/buddy/integrations/5fff3231277e1449d8eb3e6a", "html_url": "https://app.buddy.works/buddy/workspace/integrations", "hash_id": "5fff3231277e1449d8eb3e6a", "name": "Buddy AWS integration", "type": "AMAZON", "scope": "PROJECT", "identifier": "my_aws_integration", "project_name": "company-website", "all_pipelines_allowed": false, "permissions": { "admins": "MANAGE", "others": "DENIED", "users": [ { "id": 1, "access_level": "USE_ONLY" } ], "groups": [ { "id": 1, "access_level": "USE_ONLY" } ] }, "allowed_pipelines": [ { "url": "https://api.buddy.works/workspaces/buddy/projects/company-website/pipelines/1", "html_url": "https://app.buddy.works/buddy/company-website/pipelines/pipeline/1", "id": 1, "name": "Tests" } ] }
STATUS201 Created
LIMITSX-Rate-Limit-Limit: 1 X-Rate-Limit-Remaining: 999