Download Results
Download result for a given task submitted to the API.
Pricing
Request
Authentication
Body
Parameter
Type
Description
Response
Property
Type
Description
Examples
Last updated
Download result for a given task submitted to the API.
Last updated
POST /api/v2/download HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 20
{
"task_uuid": "text"
}{
"error": "OK",
"list": [
{
"url": "text",
"name": "text"
}
]
}Authorization: Bearer RODIN_API_KEYexport RODIN_API_KEY="your api key"
curl -X 'POST' \
'https://vurse.deemos.dev/api/v2/download' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-d '{
"task_uuid": "your-task-uuid"
}'
unset RODIN_API_KEYimport requests
# Constants
ENDPOINT = "https://vurse.deemos.dev/api/v2/download"
API_KEY = "your api key" # Replace with your actual API key
TASK_UUID = "your-task-uuid" # Replace with your actual task UUID
# Prepare the headers
headers = {
'accept': 'application/json',
'Content-Type': 'application/json',
'Authorization': f'Bearer {API_KEY}',
}
# Prepare the JSON payload
data = {
"task_uuid": TASK_UUID
}
# Make the POST request
response = requests.post(ENDPOINT, headers=headers, json=data)
# Parse and return the JSON response
print(response.json())
{
"list": [
{
"url": "https://example.com/",
"name": "testfile"
}
]
}