Skip to Content

GET /api/v1/clubs/:clubName/avatar

Serves the club’s avatar image from S3. Returns binary image data (not JSON). Images are cached in memory for 5 minutes and set a 24-hour browser cache header.

Authentication: None

Cache: None (has its own in-memory image cache)

Response: Binary image data with Content-Type header (e.g. image/png)

Path Parameters

ParameterTypeRequiredDescription
clubNamestringYesClub name

Sample Request

curl https://api.grails.app/api/v1/clubs/999/avatar -o avatar.png

Error Responses

StatusDescription
404Club not found or no avatar set
503Storage not configured
Last updated on