OpenFolia

Read a branding image

GET
/branding/images/{hash}

An image a field of the branding names now, for anyone (the logo shows on the sign-in page); any other hash is 404, also one uploaded but not in use, and never a content image. PNG or WebP as recorded at upload, with X-Content-Type-Options: nosniff, a sandboxing Content-Security-Policy and Cache-Control: public, no-cache with the hash as ETag (304 on If-None-Match while the branding still uses it): the bytes of a hash never change, but whether it is served does, so a removed logo is not kept by caches.

Path Parameters

hash*string

SHA-256 of the image, 64 hex characters.

Match^[a-f0-9]{64}$

Response Body

The image.

response?unknown
Example Request
curl -X GET 'http://localhost:3000/branding/images/string'
Example Response
null