m
This commit is contained in:
parent
710f7675c3
commit
ba7976d935
10 changed files with 271 additions and 356 deletions
10
README.md
10
README.md
|
|
@ -266,3 +266,13 @@ Scheduled fixture probes run in GitHub Actions via `.github/workflows/scheduled-
|
|||
- Base path: `/api/v1`
|
||||
- Success envelope: `{"data": ..., "meta": {"request_id": "..."}}`
|
||||
- Error envelope: `{"error": {"code": "...", "message": "...", "details": ...}, "meta": {"request_id": "..."}}`
|
||||
|
||||
### Publications semantics
|
||||
|
||||
- `GET /api/v1/publications` supports `mode=all|unread|latest` (plus temporary alias `mode=new`).
|
||||
- `unread` = actionable read-state (`is_read=false`).
|
||||
- `latest` = discovery-state (`first seen in the latest completed check`).
|
||||
- Response counters:
|
||||
- `unread_count`: unread publications in current scope.
|
||||
- `latest_count`: publications discovered in latest completed check.
|
||||
- `new_count`: compatibility alias for `latest_count` (temporary).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue