Skip to content

Deploy the linked branch now

View .md
POST

Fetch the linked branch and deploy it without waiting for a push. Returns immediately; follow the outcome with GET /v1/functions/{functionId}/git-link, whose lastStatus and lastError describe the run.

Authorization

  • Authorizationheaderrequired

    Bearer YOUR_API_KEY. Create a key in the dashboard.

Path parameters

  • functionIdstringrequired

    Zavu Function ID.

Responses

202Deploy scheduled.
  • scheduledbooleanrequired
401Unauthorized.
  • codestringrequired
  • messagestringrequired
  • detailsobject
404No repository is linked to this function.
  • codestringrequired
  • messagestringrequired
  • detailsobject
409A deploy for this link is already running.
  • codestringrequired
  • messagestringrequired
  • detailsobject