feat: add shareable meme permalinks
This commit is contained in:
@@ -54,6 +54,7 @@ Set `SITE_URL` in production so canonical and API discovery URLs use the public
|
||||
|
||||
- `GET /api/memes?page=1&pageSize=12`: lists approved memes only. `pageSize` is capped at `48`.
|
||||
- `GET /api/memes/<sha256>`: returns public metadata for one approved meme.
|
||||
- `GET /meme/<sha256>`: opens an approved meme in the viewer and provides its shareable permalink.
|
||||
- `GET /media/<sha256>`: returns the normalized WebP image for one approved meme.
|
||||
- `POST /api/memes`: submits one PNG/JPEG upload as `multipart/form-data` with a file field named `meme`.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user