VBA Documents
Get a bulk status report for a list of previous uploads
Changed onDue to current system limitations, data for the /uploads/report endpoint is cached for one hour.\n\nA request to the /uploads/{id} endpoint will return a real-time status for that GUID, and update its status in /uploads/report.\n\nThe updated_at field indicates the last time the status for a given GUID was updated.
post/uploads/report
Request
- Base URLhttps://sandbox-api.va.gov/services/vba_documents/v1
- URLhttps://sandbox-api.va.gov/services/vba_documents/v1/uploads/report
- AuthAPI key in header apikey
Request body
Example request
{
"ids": [
"6d8433c1-cd55-4c24-affd-f592287a7572"
]
}Response
Upload status report retrieved successfully
Example response
{
"data": [
{
"id": "6d8433c1-cd55-4c24-affd-f592287a7572",
"type": "document_upload",
"attributes": {
"guid": "6d8433c1-cd55-4c24-affd-f592287a7572",
"status": "error",
"code": "DOC108",
"detail": "Maximum page size exceeded. Limit is 78 in x 101 in.",
"final_status": true,
"updated_at": "2018-07-30T17:31:15.958Z"
}
}
]
}Changes
- info
added the media type
application/jsonfor the response with the status
- info