Obter a marca do produto
RegistosGET /branding
The commercial name, contacts, links, colours and logo files. Configuration (branding) sets the defaults and the platform owner can override each value. Sends an ETag and Cache-Control public, max-age=60, and answers If-None-Match with 304. Clients cache the last brand and never block start-up on it. With tenant=<slug> it returns that utility's effective brand: per field, the utility's runtime value, its static value (branding.tenants), its business profile, then the platform brand.
Parâmetros
tenantA utility's slug
If-None-MatchOne or more ETag values from a previous response, comma separated, weak (
W/) tags and*accepted; when one matches the current brand document the server answers 304 with no body.
Devolve
200 Brand
Erros 404
curl -X GET "$PUBLIC_API/branding"
# Sem comando CLI equivalente; use cURL ou HTTP directo.
const res = await fetch("$PUBLIC_API/branding", {
method: "GET"
});
const data = await res.json();
import requests
res = requests.get(
"$PUBLIC_API/branding"
)
data = res.json()
req, _ := http.NewRequest("GET", "$PUBLIC_API/branding", nil)
resp, err := http.DefaultClient.Do(req)
{
"name": "Ana Matsinhe",
"short_name": "Ana Matsinhe",
"legal_name": "Ana Matsinhe",
"copyright": "copyright",
"support": {
"email": "ana.matsinhe@example.org",
"phone": "+258841234567",
"url": "https://example.org/"
},
"links": {
"website": "website",
"terms": "terms",
"privacy": "privacy"
},
"colors": {
"brand": "brand",
"brand_foreground": "brand foreground",
"accent": "accent"
},
"logo_url": "https://example.org/",
"logo_dark_url": "https://example.org/",
"icon_url": "https://example.org/",
"updated_at": "2026-11-19T09:30:00Z"
}