Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion docs_v2/03_Architecture/ARCHITECTURE.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ Storage:
- list_images_with_hashes(folder) -> list[tuple[str, str]] (filename, Dropbox content_hash)
- download_image(folder, filename) -> bytes
- get_temporary_link(folder, filename) -> str
- get_thumbnail(folder, filename, size, format) -> bytes (server-side thumbnail, Feature 018)
- archive_image(folder, filename, archive_folder) -> None

AI:
Expand All @@ -60,7 +61,8 @@ Publishers (async):

Web API (FastAPI):
- `GET /` β†’ HTML UI (with i18n text injection from static config)
- `GET /api/images/random` β†’ ImageResponse (random image with metadata)
- `GET /api/images/random` β†’ ImageResponse (random image with metadata, includes `thumbnail_url`)
- `GET /api/images/{filename}/thumbnail` β†’ JPEG thumbnail bytes (fast preview, Feature 018)
- `POST /api/images/{filename}/analyze` β†’ AnalysisResponse (run AI analysis)
- `POST /api/images/{filename}/publish` β†’ PublishResponse (publish to platforms)
- `POST /api/images/{filename}/keep` β†’ CurationResponse (move to keep folder)
Expand Down
Loading
Loading