Skip to content
New issue

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

perf(task): merge requests of operating selected #7637

Merged
merged 1 commit into from
Dec 10, 2024

Conversation

KirCute
Copy link
Contributor

@KirCute KirCute commented Dec 10, 2024

Add the following three API to process "do with selected tasks" requests. They accept a JSON array containing task IDs from the request body and return any errors as a "taskId: message" JSON object to the frontend through the data attribute of the response.

  • /api/task/${props.type}/cancel_some
  • /api/task/${props.type}/delete_some
  • /api/task/${props.type}/retry_some

@KirCute
Copy link
Contributor Author

KirCute commented Dec 10, 2024

frontend part AlistGo/alist-web#208

@xhofe xhofe merged commit 7341846 into AlistGo:main Dec 10, 2024
3 checks passed
@KirCute KirCute deleted the perf/merge-task-batch-req branch December 10, 2024 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants