Upload torrent files.
Upload torrent files.<br /> This endpoint should be POSTed on.<br /> It expects a multipart formdata file upload.<br />
post/magnet/upload/file
Query parameters
apikeystring
Deprecated User apikey (Use Bearer Auth in header).
agentstring required
Your software user-agent.
Response
This endpoint retrieves a complete list of all available hosts for this user
Example response
{
"status": "success",
"data": {
"files": [
{
"file": "magnet:?xt=urn:btih:842783e3005495d5d1637f5364b59343c7844707&dn=ubuntu-18.04.2-live-server-amd64.iso",
"hash": "842783e3005495d5d1637f5364b59343c7844707",
"name": "ubuntu-18.04.2-live-server-amd64.iso",
"size": 875773970,
"id": 123456,
"error": {
"code": "MAGNET_INVALID_FILE",
"message": "File is not a valid torrent."
}
}
]
},
"error": {
"code": "AUTH_BAD_APIKEY",
"message": "The auth apikey is invalid."
}
}Changes
No recorded changes to this endpoint across all 1 revision of this API.