Integrations

Update a source-control integration.

Updates an integration's build/deploy settings (branch filter, auto-build, auto-deploy, preview, status) and returns the updated record.

put/v1/integrations/{id}

Request

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

Path parameters

idstring required

Integration id (UUID)

Request body

branch_filterstring nullable
auto_buildboolean nullable
auto_deployboolean nullable
service_idstring nullable
function_idstring nullable

Tri-state like the functions crate's cron_expression: absent = keep the current link, null = clear it (the console's "None" option), and a string = set it. A plain Option cannot tell "clear" from "not sent", which made an un-picked function target impossible to remove. serde's derive alone is not enough: with a plain Option<Option<String>>, JSON null also deserializes to None (reads as "absent"), so the custom deserializer below lifts a present field — null included — into the outer Some.

preview_enabledboolean nullable
preview_ttl_hoursinteger nullable
statusstring nullable

Response

The updated integration

Changes

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