Integrations

Create a source-control integration.

Attaches a Git provider repo to the caller's project and returns the created integration plus the webhook URL and secret to configure on the provider.

post/v1/integrations

Request

  • Base URL: https://api.scalix.world
  • URL: https://api.scalix.world/v1/integrations
  • Auth: HTTP bearer

Request body

providerstring required

One of github, gitlab, bitbucket.

repo_urlstring required
branch_filterstring nullable
auto_buildboolean nullable
auto_deployboolean nullable
service_idstring nullable
function_idstring nullable

Function deploy target: every later build PUTs the fresh image onto this function (drains its warm pool + re-warms the new revision). Mutually exclusive with service_id — one repo deploys one thing, and the tenant chooses which.

preview_enabledboolean nullable
preview_ttl_hoursinteger nullable

Response

Integration created; returns webhook URL + secret

webhook_urlstring required
webhook_secretstring required

Changes

No recorded changes to this operation across all 1 revision of this API.