Transfers
Add a torrent
Add a magnet link or a .torrent file
POST
Send JSON { magnet }, or multipart form data with a torrent file (and an optional folder). A torrent already in the cache completes at once.
Optional: folder files it under a folder, such as a show's Name (Year). fallbacks lists other magnets for the same video, best first, tried in turn when one has no peers or stalls. title (a TMDB movie or episode) links it to the library; with reuse, an active transfer you already have for that title is returned instead of a new one. episode takes just that episode's files from a season pack.
bearer transfers:writeheader
AuthorizationBearer <token>An API key, an OAuth access token, or a signed-in session token.
Scope: transfers:write
- body
magnet*stringLength
1 <= length <= 8192fallbacks?array<>Items
items <= 5folder?stringLength
length <= 2560episode?title?reuse?booleanCreated
application/json- response
id*stringstatus*stringValue in
"queued""downloading""ingesting""completed""failed""cancelled"waitingForSlot?booleanoutcome*stringValue in
"hit""attached""miss"sourceType*stringValue in
"magnet""torrent""upload""putio"infoHash*stringMatch
^[0-9a-f]{40}$name*string|nulltotalBytes*integer|nullprogress*numberRange
0 <= value <= 1speedBps*integeretaSeconds*integer|nullprocessingProgress*|Range
0 <= value <= 1fileCount*|Range
0 <= valueerror*string|nullfolder*string|nullfileIds*array<string>rssFeed*|nullrestore?booleantitle?|nullresume?|nullcreatedAt*stringFormat
date-timeupdatedAt*stringFormat
date-timecurl -X POST 'https://fastwater.app/v1/transfers' \ -H 'Content-Type: application/json' \ -d '{ "magnet": "string"}'Example Response
{ "id": "string", "status": "queued", "waitingForSlot": true, "outcome": "hit", "sourceType": "magnet", "infoHash": "string", "name": "string", "totalBytes": 0, "progress": 0, "speedBps": 0, "etaSeconds": 0, "processingProgress": 0, "fileCount": 0, "error": "string", "folder": "string", "fileIds": [ "string" ], "rssFeed": { "id": "string", "title": "string" }, "restore": true, "title": { "tmdbId": 1, "kind": "movie", "season": 0, "episode": 0 }, "resume": { "positionSeconds": 0, "durationSeconds": 0, "updatedAt": "2019-08-24T14:15:22Z" }, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z"}