Gallery

BrewPage's own example publications shown above and below the public gallery: captions, the current period, a default set of slugs for the top and bottom blocks (also the block shape), and every live item with its weight. Clients draw the cards by weight on every page load. Empty slots and items when no example is configured.

get/api/gallery/promo

Request

  • Base URL
    https://brewpage.app
  • Auth
    none required

Response

Example blocks of the current period

GalleryPromoResponse required

BrewPage examples shown above and below the public gallery; clients draw the cards by item weight

sectionUrl, string

Page listing every template

captions, GalleryPromoCaptions
period, GalleryPromoPeriod
slots, GalleryPromoSlots

This period's default set and the block shape: cards per block and the slot that holds a video

items, GalleryPromoItem[]

Every live item in registry order; slots name items by slug

Changes