Skip to main content
GET
Get the linked repository

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

functionId
string
required

Zavu Function ID.

Response

The link.

A GitHub repository bound to a function. A push to branch deploys the function. A function holds at most one link.

webhookUrl
string<uri>
required

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

webhookSecret
string

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:

"ghs_a1b2c3..."