refactor(api): admit download job create and retry through one job_admission step

This commit is contained in:
imSp4rky
2026-11-25 23:15:16 -07:00
parent 92e8abbdbc
commit ee8e968127
27 changed files with 584 additions and 417 deletions
+5 -1
View File
@@ -1493,7 +1493,7 @@ async def retry_download_job(request: web.Request) -> web.Response:
Retry download job.
---
summary: Retry download job
description: Enqueue a new job reusing a completed, failed, or cancelled job's service, title, and parameters
description: Enqueue a new job from the request that made a completed, failed, or cancelled job, checked as a new submission
parameters:
- name: job_id
in: path
@@ -1514,6 +1514,10 @@ async def retry_download_job(request: web.Request) -> web.Response:
type: string
created_time:
type: string
'400':
description: The service or a parameter no longer passes the checks of a new submission
'403':
description: The API key may no longer run this job
'404':
description: Job not found
'409':