20 lines
740 B
Markdown
20 lines
740 B
Markdown
# Documenter — F-011 Product images
|
|
|
|
## Documentation updated
|
|
- Updated `project/README.md` catalog section to include product images as catalog-owned data.
|
|
- Documented image routes:
|
|
- `GET /products/:id/images`
|
|
- `POST /products/:id/images`
|
|
- `DELETE /products/:id/images/:imageId`
|
|
- `PATCH /products/:id/images/reorder`
|
|
- Documented image persistence and behavior:
|
|
- `catalog_product_images`
|
|
- ordered image metadata with `url`, `altText`, `position`, `role`
|
|
- product-level and variant-level images
|
|
- storage adapter boundary
|
|
- no binary upload, CDN, or processing pipeline in this slice
|
|
|
|
## Evidence
|
|
- `cd project && npm run lint` — PASS after README update.
|
|
- `./scripts/verify.sh` — PASS after README update.
|