Parameters
No parameters required
This endpoint takes no path, query, header or body parameters.
One-click operator shortcut that always targets the bizkithub-documentation organisation (id 81) regardless of which organisation the caller is currently browsing. Reads the git repo URL and branch from that organisation's own configuration (post_import_git_repo_url, post_import_git_branch), runs the standard git-import pipeline, and immediately flips every NEWLY-CREATED post from private to public. Updated and unchanged posts keep whatever visibility an operator had already chosen. Requires internal admin membership.
No parameters required
This endpoint takes no path, query, header or body parameters.
1 status code documented
successbooleanRequiredWhether the sync completed without a hard failure.
ownerstringRequiredResolved GitHub owner from the configured repo URL.
repostringRequiredResolved GitHub repository name.
branchstring | nullRequiredResolved branch name; null when the default branch was used implicitly.
filesFoundnumberRequiredNumber of Markdown files discovered in the repo.
creatednumberRequiredPosts inserted for the first time.
updatednumberRequiredExisting posts whose title or body changed.
unchangednumberRequiredExisting posts whose title + body matched byte-for-byte.
publishedCountnumberRequiredNewly-created posts flipped from private to public.
errorCountnumberRequiredNumber of files that could not be imported (see errors).
warningCountnumberRequiredNumber of files that imported with a warning.
errorsobject[]RequiredPer-file errors that did NOT abort the run.
pathstringRequiredRepository path of the failing file.
messagestringRequiredReason the file was skipped.
{
"success": false,
"owner": "example_owner",
"repo": "example_repo",
"filesFound": 0,
"created": 0,
"updated": 0,
"unchanged": 0,
"publishedCount": 0,
"errorCount": 0,
"warningCount": 0,
"errors": [
{
"path": "example_path",
"message": "example_message"
}
]
}POST /bff/admin/sync-documentation-repo
curl -X POST "https://api.bizkithub.com/bff/admin/sync-documentation-repo" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY"All BizKitHub public API endpoints require authentication via API key.