Get a brand asset
curl --request GET \ --url http://localhost:9090/brand-assets/1Serve an uploaded brand asset: a logo, a favicon, a background image or a font. This is a public endpoint that does not require authentication.
Linked by an asset’s url, with its content 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 kept five minutes. A font is answered with Access-Control-Allow-Origin naming
the admin console’s origin, so the console’s pages may draw it, and no other site’s.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”The asset’s ID
Query Parameters
Section titled “Query Parameters”The asset’s content fingerprint, as its url names it.
Responses
Section titled “Responses”The asset, under the type its upload was validated as
Headers
Section titled “Headers”“public, max-age=31536000, immutable” when v names the asset’s fingerprint, “public, max-age=300” otherwise
Nosniff
The admin console’s origin, on a font alone
No asset 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.