BizKitHub
DocsAPI ReferencePost/bff/post/git-export
getPostAdmin BFF

/bff/post/git-export

Streams a ZIP archive containing every non-deleted post of kind "post" for the caller organisation, rendered as .md files in a directory tree that mirrors the category hierarchy. Each file carries a YAML frontmatter header (with the stable 16-char post id used to round-trip the file back into the DB), followed by the title as an underlined H1 and the primary-locale Markdown body. Includes README.md, INSTRUCTIONS.md, and .gitignore at the archive root so the resulting folder can be initialised as a Git repository as-is. Only the organisation primary locale is exported; translations to other locales remain in the database and are regenerated on import.

PostgetBffPostGit-export

Parameters

No parameters required

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

Response schema

1 status code documented

200Success

This response returns no JSON body.

Response example

application/json
{
  "success": true
}

Request example

GET /bff/post/git-export

get
curl -X GET "https://api.bizkithub.com/bff/post/git-export" \
  -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