Skip to main content

Business gallery model

A BusinessGallery record attaches an image or video and optional visible text to one business.

Current public operations​

ActionMethodResource
ListGET/business/{business}/gallery
FindGET/business/{business}/gallery/{gallery}
CreatePOST/business/{business}/gallery
DeleteDELETE/business/{business}/gallery/{gallery}

The four Business Gallery operations listed in the API reference require authentication. For creation, type 1 requires file, while type 2 requires a valid video URL. Other type values are not defined by a complete enum; follow the linked operation for request details.

Representative model fields are id, business_id, type, file, video, title, and description. For creation, type 1 requires file; type 2 requires a valid video URL. The integer type rule does not define a complete enum. See the linked operation for its request contract.

See load the business for gallery items for relation-loading context.