getSingleImagePostFields
Gets field definitions for a single-image post type form, enabling correct payload construction for creating or updating posts.
Instructions
Get post field definitions - Returns custom fields for a specific post type form.
Use when: discovering the per-post-type custom fields before building a create/update payload. Pass form_name of the target post type (e.g. blog_article_fields, events_fields, etc.).
Required: form_name.
Returns: a BARE ARRAY of field-definition objects (NOT wrapped in {status, message}). Each entry has key, label, required, type, and optionally choices (for dropdown/radio), default, helpText.
Silent-fallback warning: if form_name does NOT match a real post-type form, BD returns HTTP 200 with a generic SUPER-UNION field list (containing every possible post field including post_location, lat, lon, post_live_date, post_video, post_job, internals like post_type/logged_user/form_security_token) - and post_category.choices will be ABSENT. Always verify form_name exists first via listPostTypes (look for the matching row's form_name column). If your response has post_category WITHOUT a choices array, you hit the fallback.
Discovering post_category dropdown values: post_category is a per-post-type dropdown whose options come from the post type's feature_categories CSV (admin-managed). Read post_category.choices[].key for the exact values to send. BD does NOT trim whitespace when splitting the CSV - options after the first may have a leading space (e.g. " Category 2"). Pass VERBATIM.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| form_name | Yes | Form slug for the post type |