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
| Parameter | Type | Required | Description |
|---|---|---|---|
clubName | string | Yes | Club name |
Sample Request
curl https://api.grails.app/api/v1/clubs/999/avatar -o avatar.pngError Responses
| Status | Description |
|---|---|
| 404 | Club not found or no avatar set |
| 503 | Storage not configured |
Last updated on