Branding and customer-facing pages
19 operations. Open one for its parameters, request body, responses and examples.
| Method | Path | Summary |
|---|---|---|
| GET | /api/v1/branding | The brand of the caller's own panel |
| GET | /api/v1/branding-assets/{hash} | A brand's logo or favicon by its SHA-256, served as an image only (strict policy, sandboxed) |
| GET | /api/v1/branding/public | The sign-in page's brand, by the hostname it is opened on (ADR 0085) |
| GET | /api/v1/tenants/{tid}/branding | A seller's own white label (provider or reseller) |
| PUT | /api/v1/tenants/{tid}/branding | Save the white label and panel hostnames; accents must keep WCAG AA (BRANDING_CONTRAST) |
| DELETE | /api/v1/tenants/{tid}/branding | Remove the white label; customers see the brand above |
| PUT | /api/v1/tenants/{tid}/branding/assets/{kind} | Upload the logo or favicon (PNG re-encoded; SVG refused when it has anything active), at most 256 KB |
| DELETE | /api/v1/tenants/{tid}/branding/assets/{kind} | Remove the logo or favicon |
| GET | /api/v1/tenants/{tid}/custom-buttons | A seller's custom buttons and the icons they may use |
| POST | /api/v1/tenants/{tid}/custom-buttons | Add a button to the customers' menu or overview |
| GET | /api/v1/tenants/{tid}/custom-buttons/visible | The buttons this tenant's pages show, from the seller that owns it |
| PUT | /api/v1/tenants/{tid}/custom-buttons/{bid} | Change a button |
| DELETE | /api/v1/tenants/{tid}/custom-buttons/{bid} | Remove a button |
| GET | /api/v1/tenants/{tid}/notice-templates | The quota notice templates of this seller, each kind in vi and en |
| PUT | /api/v1/tenants/{tid}/notice-templates/{kind}/{lang} | Save a notice template after trying it; empty subject and body restore the default |
| GET | /api/v1/tenants/{tid}/suspension-page | The page visitors of this seller's suspended accounts see (ADR 0071) |
| PUT | /api/v1/tenants/{tid}/suspension-page | Save the suspension page (or reset it); accounts suspended now get it too |
| GET | /api/v1/tenants/{tid}/suspension-page/preview | The suspension page as HTML, from query fields, for the editor's sandboxed frame |
| POST | /api/v1/tenants/{tid}/suspension-page/preview | Render a suspension page as typed, without saving it |