GET v1/jobs-queue/{id}/has-database
Use this method to detect if a given job is associated with a cached resource that can be downloaded such as a sqlite database, or json content. This method will return a status code of OK (200) if there is a file that can be download and also the name of the file in the body as plain text. If the file is not found, the method will return a NO CONTENT (204) status code and nothing (empty string) in the body of the response.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
Job UUID (id) |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
Returns status codes used to determine if there is a cached resource associated with a job, and in case it does exist, the method will return the name of the file in the body of the response..
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"