browsertrix/backend/btrixcloud
Tessa Walsh 38a01860b8
Add API endpoints for crawl statistics (#1461)
Fixes #1158 

Introduces two new API endpoints that stream crawling statistics CSVs
(with a suggested attachment filename header):

- `GET /api/orgs/all/crawls/stats` - crawls from all orgs (superuser
only)
- `GET /api/orgs/{oid}/crawls/stats` - crawls from just one org
(available to org crawler/admin users as well as superusers)

Also includes tests for both endpoints.
2024-01-10 13:30:47 -08:00
..
migrations Add extra and gifted execution minutes (#1361) 2023-12-07 14:34:37 -05:00
__init__.py
auth.py Additional Type Hints / Type Fix Pass (#1320) 2023-10-30 12:59:24 -04:00
background_jobs.py Add API endpoint to retry all failed bg jobs (#1396) 2023-12-05 13:00:45 -08:00
basecrawls.py Add crawl, upload, and collection delete webhook event notifications (#1363) 2023-11-09 18:19:08 -08:00
colls.py Add crawl, upload, and collection delete webhook event notifications (#1363) 2023-11-09 18:19:08 -08:00
crawlconfigs.py Recreate configmaps if missing (#1444) 2023-12-12 17:48:27 -05:00
crawlmanager.py Recreate configmaps if missing (#1444) 2023-12-12 17:48:27 -05:00
crawls.py Add API endpoints for crawl statistics (#1461) 2024-01-10 13:30:47 -08:00
db.py Add extra and gifted execution minutes (#1361) 2023-12-07 14:34:37 -05:00
emailsender.py Email Templates (#1375) 2023-11-15 15:22:12 -08:00
invites.py Email Templates (#1375) 2023-11-15 15:22:12 -08:00
k8sapi.py Crawl Timeout via elapsed time (#1338) 2023-11-06 16:32:58 -08:00
main_op.py Send email to superuser when background job fails (#1355) 2023-11-08 19:55:59 -08:00
main.py Add API endpoint to retry all failed bg jobs (#1396) 2023-12-05 13:00:45 -08:00
models.py Add extra and gifted execution minutes (#1361) 2023-12-07 14:34:37 -05:00
operator.py Replace partial_complete -> stopped_by_user or stopped_quota_reached + operator edge cases (#1368) 2023-11-14 11:17:16 -08:00
orgs.py Add API endpoints for crawl statistics (#1461) 2024-01-10 13:30:47 -08:00
pagination.py
profiles.py Regression fix: add profiles/ prefix to profile filenames (#1365) 2023-11-09 17:44:16 -08:00
storages.py charts cleanup: (#1360) 2023-11-08 19:24:00 -08:00
uploads.py Background Jobs Work (#1321) 2023-11-02 13:02:17 -07:00
users.py Add API endpoints for crawl statistics (#1461) 2024-01-10 13:30:47 -08:00
utils.py Add API endpoints for crawl statistics (#1461) 2024-01-10 13:30:47 -08:00
version.py version: bump to 1.9.0-beta.0 2023-12-20 00:08:16 -08:00
webhooks.py Add crawl, upload, and collection delete webhook event notifications (#1363) 2023-11-09 18:19:08 -08:00
zip.py Fix: Stream log downloading from WACZ (#1225) 2023-09-28 18:54:52 -07:00