Upload a magnet with its URI or hash.
Upload a magnet with its URI or hash.<br /> You can either send the magnets in GET parameters, or in POST.<br />
get/magnet/upload
Query parameters
apikeystring
Deprecated User apikey (Use Bearer Auth in header).
agentstring required
Your software user-agent.
magnets[]string[] required
Magnet(s) URI or hash. Must send magnet either in GET param or in POST data.
Response
This endpoint retrieves a complete list of all available hosts for this user
Example response
{
"status": "success",
"data": {
"magnets": [
{
"magnet": "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_URI",
"message": "Magnet is not valid"
}
}
]
},
"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.