We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Backend
Data for the page /settings/scheduling/ is missing in the api endpoints.
/settings/scheduling/
The Api endpoint /api/config/scheduling/ has been implemented simmilar to /api/config/user/
/api/config/scheduling/
/api/config/user/
/api/config/scheduling/ ( POST, GET )
GET response body & POST body:
{ "update_subscribed": { "crontab": { "minute": 0, "hour": 0, "day_of_week": 0 } }, "check_reindex": { "crontab": { "minute": 0, "hour": 0, "day_of_week": 0 }, "task_config": { "days": 0 } }, "thumbnail_check": { "crontab": { "minute": 0, "hour": 0, "day_of_week": 0 } }, "download_pending": { "crontab": { "minute": 0, "hour": 0, "day_of_week": 0 } }, "run_backup": { "crontab": { "minute": 0, "hour": 0, "day_of_week": 0 }, "task_config": { "rotate": false } }, "notifications": { "items": [ { "task": "", "notification": { "title": "", "urls": [""] } } ] }, "scheduler_form": { "update_subscribed": { "errors": ["error?"] }, "download_pending": { "errors": ["error?"] }, "check_reindex": { "errors": ["error?"] }, "thumbnail_check": { "errors": ["error?"] }, "run_backup": { "errors": ["error?"] } } }
The text was updated successfully, but these errors were encountered:
Implemented at /api/task/schedule/<task-name>/, see doc string here:
/api/task/schedule/<task-name>/
tubearchivist/backend/task/views.py
Lines 121 to 126 in 192d518
Sorry, something went wrong.
How do i GET the schedule?
add get views for schedules, #723
39b995f
Implemented both:
example response:
{ "name": "check_reindex", "schedule": "0 13 *", "schedule_human": "At 01:00 PM Europe/Zurich", "last_run_at": "2024-08-01T17:16:04.913573+02:00", "config": { "days": 91 } }
No branches or pull requests
Domain
Backend
Description
Is your feature request related to a problem? Please describe.
Data for the page
/settings/scheduling/
is missing in the api endpoints.Describe the solution you'd like
The Api endpoint
/api/config/scheduling/
has been implemented simmilar to/api/config/user/
Additional context
/api/config/scheduling/
( POST, GET )GET response body & POST body:
The text was updated successfully, but these errors were encountered: