docs+fix: update arch diagram/README/Insomnia, ApiError returns JSON

- architecture.mmd: CQRS trait names, ImageFetcher/RssFeedRenderer
  ports, infra-wiring crate, api-types description
- README: add infra-wiring, note CQRS ports
- Insomnia: add PATCH /api/v1/reviews/:id
- ApiError returns {"error":"..."} JSON not plain text
This commit is contained in:
2026-07-10 03:52:49 +02:00
parent dee013c7eb
commit 2e32847129
4 changed files with 45 additions and 7 deletions

View File

@@ -355,6 +355,32 @@
"settingRebuildPath": true,
"settingFollowRedirects": "global"
},
{
"_id": "req_reviews_edit",
"_type": "request",
"parentId": "fld_reviews",
"modified": 1749340800000,
"created": 1749340800000,
"name": "Edit Review",
"method": "PATCH",
"url": "{{ base_url }}/api/v1/reviews/:id",
"description": "Partial update — all fields optional",
"headers": [{ "name": "Content-Type", "value": "application/json" }],
"parameters": [],
"authentication": { "type": "bearer", "token": "{{ token }}" },
"body": {
"mimeType": "application/json",
"text": "{\n \"rating\": 9,\n \"comment\": \"Updated thoughts\",\n \"watch_medium\": \"cinema\"\n}"
},
"metaSortKey": -3,
"isPrivate": false,
"settingStoreCookies": true,
"settingSendCookies": true,
"settingDisableRenderRequestBody": false,
"settingEncodeUrl": true,
"settingRebuildPath": true,
"settingFollowRedirects": "global"
},
{
"_id": "fld_people",