release: bump version to 0.80.1
This commit is contained in:
1 parent
41059ca42a
commit
4b2004b7d8
29 files changed
+1843
-220
No files matched your search
@@ -464,6 +464,12 @@ POST /api/v1/datasources/trigger-batch
|
||||
|
||||
The request body may pass `source_ids` for selected rows. Without `source_ids`, the backend filters by `product`, `module`, `is_active`, `run_status`, `collected`, `credential_status`, and `q`. The endpoint skips disabled sources, sources already running without `force`, and sources still inside their frequency window, then returns `triggered`, `skipped`, and `failed` groups.
|
||||
|
||||
### Scheduling switch
|
||||
|
||||
`POST /api/v1/datasources/{id}/enable` and `/disable` change only whether the scheduler runs a source; they never start a collection. `POST /api/v1/datasources/batch-status` takes `{source_ids, is_active}` and returns `updated` rows, `unchanged` and `not_found` IDs, `sync_failed` scheduler IDs, and global `counts`. All three require admin or super_admin. Only rows whose state actually changes are committed and resynchronized with the scheduler; running tasks continue after a disable. The list endpoint also returns `counts: {all, active, inactive}`, unaffected by filters.
|
||||
|
||||
Admin applies these responses to the affected rows without reloading the list. Rows that stop matching the current filter stay dimmed until the next reload. Collection Management uses the same switch in the scheduling panel heading, while draft saves only change frequency, priority, and storage policy.
|
||||
|
||||
**Core file**: `backend/app/api/v1/datasources.py`
|
||||
|
||||
## Compute source contracts and topic APIs
|
||||
|
||||
Reference in new issue
Block a user