BizKitHub
DocsAPI ReferencePost/bff/post/git-import-defaults
getPostAdmin BFF

/bff/post/git-import-defaults

Returns the repoUrl and branch this organisation used for its most recent successful git import, so the import modal can pre-fill its form. Empty strings when the organisation has never imported.

PostgetBffPostGit-import-defaults

Parameters

No parameters required

This endpoint takes no path, query, header or body parameters.

Response schema

1 status code documented

200Success
repoUrlstringRequired

Last-used GitHub repository URL, or empty string if never imported.

branchstringRequired

Last-used branch override, or empty string when none was specified.

Response example

application/json
{
  "repoUrl": "example_repoUrl",
  "branch": "example_branch"
}

Request example

GET /bff/post/git-import-defaults

get
curl -X GET "https://api.bizkithub.com/bff/post/git-import-defaults" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY"

Need an API key?

All BizKitHub public API endpoints require authentication via API key.

Get API Key