Brands

Get a brand

Returns one brand by its slug.

get/v1/brands/{slug}

Request

  • Base URL: https://api.samva.dev
  • URL: https://api.samva.dev/v1/brands/{slug}
  • Auth: API key in header x-api-key

Path parameters

slugstring required

Response

Brand

idstring required
slugstring required

The brand's handle, unique in the organization; samva:brand/<slug> names it.

namestring required
isDefaultboolean required

Whether bare samva:brand and domains without a brand resolve to this brand.

cssstring required

Brand theme CSS: @theme variables, one dark-mode @theme of colors, and @font-face rules with https WOFF2 sources.

digeststring required

SHA-256 of the brand's css, assets and footer. A publication built against a different digest predates the brand's current content.

createdAtstring required
updatedAtstring required

Changes

No recorded changes to this operation across all 1 revision of this API.