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.cssServe 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.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
integer format: int64
The brand’s ID
Query Parameters
Section titled “Query Parameters”v
string
The stylesheet’s fingerprint.
Responses
Section titled “Responses”The stylesheet
Media typetext/css
string
Headers
Section titled “Headers”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