BizKitHub
DocsAPI ReferencePost/bff/post/post-image-update
postPostAdmin BFF

/bff/post/post-image-update

Single POST endpoint for inline-editable gallery grids. Dispatches to the underlying gallery helper based on property. Used by the admin post-detail Gallery tab where every column edits in place. The individual GET variants (/post-image-update-meta, /post-image-active-toggle, /post-image-mark-main, /post-image-delete) remain for the lightbox and legacy callers.

PostpostBffPostPost-image-update

Parameters

JSON body

Request body

application/json
idstringRequired

Blob token of the gallery image.

Exampleabc123def456
postExternalIdstringRequired

Post external ID.

Examplea1b2c3d4-e5f6-7890
property"title" | "active" | "main" | "delete"Required

Which aspect of the image to update.

haystackstring | booleanOptional

New value. Required for title (string) and active (boolean); ignored for main and delete.

One of 2:
Variant 1
string
Variant 2
boolean

Response schema

1 status code documented

200Success
successbooleanRequired

Whether the update succeeded.

Response example

application/json
{
  "success": false
}

Request example

POST /bff/post/post-image-update

post
curl -X POST "https://api.bizkithub.com/bff/post/post-image-update" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
  "id": "abc123def456",
  "postExternalId": "a1b2c3d4-e5f6-7890"
}'

Need an API key?

All BizKitHub public API endpoints require authentication via API key.

Get API Key