mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-23 17:01:35 -05:00
New endpoint to send a list of job ids to a queue.
The task will be picked up by the FTP app. Given the list of job ids the tasks will get all the files from s3, aggregate them then send to dvla
This commit is contained in:
15
app/letters/letter_schemas.py
Normal file
15
app/letters/letter_schemas.py
Normal file
@@ -0,0 +1,15 @@
|
||||
from app.schema_validation.definitions import uuid
|
||||
|
||||
letter_job_ids = {
|
||||
"$schema": "http://json-schema.org/draft-04/schema#",
|
||||
"description": "list of job ids",
|
||||
"type": "object",
|
||||
"title": "job_ids",
|
||||
"properties": {
|
||||
"job_ids": {"type": "array",
|
||||
"items": uuid,
|
||||
"minItems": 1
|
||||
},
|
||||
},
|
||||
"required": ["job_ids"]
|
||||
}
|
||||
Reference in New Issue
Block a user