← Back to Gallery

Camera Gallery API Help

Available Endpoints

GET /

Shows the main gallery page with:

GET /hour/<hour_str>

Shows all images captured in a specific hour. Format: YYYY-MM-DD HH:00

Example: /hour/2025-11-17 14:00

GET /day/<day_str>

Shows all images captured in a specific day. Format: YYYY-MM-DD

Example: /day/2025-11-17

GET /detail/<filename>

Shows a single image in detail view

POST /uplimg

Upload a new image file. Automatically removes images older than 7 days.

Form parameter: file (the image file to upload)

GET /uploads/<filename>

Serves the original uploaded image file

Features