Skip to content

Get a brand's colors stylesheet

GET
/brand/{id}/colors.css
Code sample: Shell / cURL
curl --request GET \
--url http://localhost:9090/brand/1/colors.css

Serve the stylesheet that sets a brand’s colors alone. This is a public endpoint that does not require authentication.

getPublicSettings’ brand.colorsStylesheetUrl links it with the stylesheet’s fingerprint in v. Asked for by that fingerprint, the answer may be kept a year; asked for by any other fingerprint, or none, it is the current stylesheet, kept five minutes.

id
required
integer format: int64

The brand’s ID

v
string

The stylesheet’s fingerprint.

The stylesheet

Media typetext/css
string
Cache-Control
string

“public, max-age=31536000, immutable” when v names the current stylesheet, “public, max-age=300” otherwise

No brand has this ID, or the ID is not a positive integer

The request failed inside the server. The body is an HTML error page, not the JSON error envelope.

Media typetext/html
string