v54

latestOpenAPI 3.0.3raw.githubusercontent.com2026-08-06178189573.7 KB
Functions

Get the linked repository

The link and its last deploy. Never returns the webhook secret.

get/v1/functions/{functionId}/git-link

Path parameters

functionIdstring required

Zavu Function ID.

Response

The link.

webhookUrlstring uri required

Endpoint that receives GitHub's push deliveries. Only needed on a manual link, where you add it to the repository yourself.

webhookSecretstring

Shared secret for the repository's webhook. Returned only when creating a manual link, and only there — every later read strips it, and re-linking mints a new one. Absent entirely on an app link, which needs no secret of its own.

Example response

{
  "link": {
    "owner": "acme",
    "repo": "order-bot",
    "branch": "main"
  },
  "webhookSecret": "ghs_a1b2c3..."
}