Parameters
1 query
Query parameters
· 1branchSlugstringRequiredBranch slug.
Example
gymroom-vinohradyReturns every closure ("výluka") for the branch in start-date-desc order. Each row carries a status flag (active | scheduled | past) derived from the current time so the admin can colour-code without redoing the math client-side. Soft-deleted rows are filtered out.
1 query
branchSlugstringRequiredBranch slug.
gymroom-vinohrady1 status code documented
itemsobject[]RequiredidstringRequiredExternal 24-char id of the closure.
startDatestringRequiredISO timestamp the closure begins.
endDatestringOptionalISO timestamp the closure ends. Omitted = open-ended ("until further notice").
reasonstringRequiredinsertedDatestringRequiredupdatedDatestringRequiredstatus"active" | "scheduled" | "past"RequiredauthorMemberNamestringOptional{
"items": [
{
"id": "example_id",
"startDate": "example_startDate",
"endDate": "example_endDate",
"reason": "example_reason",
"insertedDate": "example_insertedDate",
"updatedDate": "example_updatedDate",
"authorMemberName": "example_authorMemberName"
}
]
}GET /bff/branch/closure-list
curl -X GET "https://api.bizkithub.com/bff/branch/closure-list?branchSlug=gymroom-vinohrady" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY"All BizKitHub public API endpoints require authentication via API key.