Files
List files
List files, newest first or by `sort`
GET
Filter by name (q), type, transferId, or folder (subfolders=true adds the folders inside it); filed=false leaves out files filed under a folder, and clutter=false leaves out release leftovers (.nfo, checksums, tracker .txt ads, Thumbs.db). sort is newest (default), oldest, name (A to Z), name_desc, size (largest first), or smallest. total counts every matching file; clutterCount counts the clutter among them, even when it is left out. Each file includes its watch progress.
bearer files:readheader
AuthorizationBearer <token>An API key, an OAuth access token, or a signed-in session token.
Scope: files:read
cursor?stringlimit?integerRange
1 <= value <= 100Default
50q?stringLength
length <= 200type?stringValue in
"video""audio""image""subtitle""other"transferId?stringfolder?stringLength
length <= 2560subfolders?stringValue in
"true""false"filed?stringValue in
"true""false"clutter?stringValue in
"true""false"sort?stringDefault
"newest"Value in
"newest""oldest""name""name_desc""size""smallest"cleared?stringValue in
"true""false"Files
application/json- response
data*array<>nextCursor*string|nulltotal?integerclutterCount?integercurl -X GET 'https://fastwater.app/v1/files'Example Response
{ "data": [ { "id": "string", "name": "string", "sizeBytes": 0, "mimeType": "string", "type": "video", "playable": true, "mediaInfo": { "container": "string", "durationSeconds": 0, "bitRate": 0, "video": { "codec": "string", "profile": "string", "width": 0, "height": 0, "pixFmt": "string" }, "audio": [ { "codec": "string", "channels": 0, "language": "string", "title": "string", "default": true } ], "subtitles": [ { "codec": "string", "language": "string", "title": "string", "forced": true, "default": true } ], "playable": true }, "original": { "name": "string", "sizeBytes": 0, "mimeType": "string", "mediaInfo": { "container": "string", "durationSeconds": 0, "bitRate": 0, "video": { "codec": "string", "profile": "string", "width": 0, "height": 0, "pixFmt": "string" }, "audio": [ { "codec": "string", "channels": 0, "language": "string", "title": "string", "default": true } ], "subtitles": [ { "codec": "string", "language": "string", "title": "string", "forced": true, "default": true } ], "playable": true } }, "subtitleCount": 0, "transferId": "string", "folder": "string", "progress": { "fileId": "string", "positionSeconds": 0, "durationSeconds": 0, "completed": true, "clientId": "string", "updatedAt": "2019-08-24T14:15:22Z" }, "expiresAt": "2019-08-24T14:15:22Z", "kept": "self", "clearedAt": "2019-08-24T14:15:22Z", "media": { "titleId": "string", "kind": "movie", "title": "string", "year": 0, "season": 0, "episode": 0, "episodeName": "string", "stillPath": "string", "posterPath": "string", "backdropPath": "string", "logoPath": "string" }, "clutter": true, "thumbnailUrl": "string", "markers": { "intro": { "startSeconds": 0, "endSeconds": 0 }, "credits": { "startSeconds": 0 } }, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" } ], "nextCursor": "string", "total": 0, "clutterCount": 0}