- API
- Remote upload list
GET
https://send.now/api/upload/urllist?key=1ltghrilhllgrx2b2&page=1&per_page=50&status=ERROR
| Parameters |
Description |
Example |
Format |
Required |
| key |
API-Key |
1ltghrilhllgrx2b2 |
String |
yes |
| page |
Page number |
1 |
Number |
no |
| per_page |
Jobs per page (default 50, maximum 200) |
50 |
Number |
no |
| status |
Only jobs with this status: PENDING, WORKING, ERROR or STUCK |
ERROR |
String |
no |
cURL example
curl --include \
'https://send.now/api/upload/urllist?key=1ltghrilhllgrx2b2&status=ERROR'
Response
{
"msg": "OK",
"result": {
"uploads": [
{
"id": 8123,
"file_code": "0rw8u8exqqte",
"url": "https://example.com/file.zip",
"status": "ERROR",
"is_stuck": 0,
"progress": 0,
"size_dl": 0,
"size_full": 0,
"speed": 0,
"error": "Download failed: HTTP 404",
"fld_id": 0,
"fld_name": "",
"created": "2024-08-01 18:15:42",
"started": "2024-08-01 18:15:50",
"updated": "2024-08-01 18:15:51",
"started_ago": 120,
"updated_ago": 119,
"can_restart": 1,
"can_remove": 1
}
],
"counters": { "total": 3, "pending": 1, "working": 1, "errors": 1, "stuck": 0 },
"total": 1,
"page": 1,
"per_page": 50
},
"status": 200,
"server_time": "2024-08-01 18:17:50"
}
Notice
|
Status: PENDING waiting, WORKING downloading, ERROR failed (the text is in error), STUCK was downloading but has not reported for 90 seconds. |
|
counters count all your jobs, total only the ones that match status. can_restart: Retry works. can_remove: the job is not running right now. |
|
A job is added with Remote upload; a finished download leaves the list and is in your files. |
Status code
| 200 |
Everything is OK. Request succeeded |
| 400 |
Bad request (e.g. wrong parameters) |
| 403 |
Permission denied |
| 404 |
File not found |
| 451 |
Unavailable
|