List watch folders
/vod/watch-folders/read Read: looks, changes nothing. Scopes
Every watch folder, with its files counted by state, its last scan and why that scan failed, if it did. Not paged. Panel operators only.
Response
200 OK
idstring (uuid)requiredread-onlynamestringEmpty: the folder's own name.
display_namestringrequiredread-onlyis_enabledbooleanOff: paused, the folder is scanned only when asked.
kindstringWhat the folder holds. A file that looks like the other kind is skipped, and says so.
movies- Moviesseries- TV showsboth- Movies and TV shows
sourcestringnode- A servers3- A bucket
One of:
"node""s3"serverstring (uuid)can be nullserver_namestringrequiredread-onlyrootstringIncoming folder: files are moved into the server's storage. Media folder: files stay where they are.
incoming- Incoming foldermedia- Media folder
pathstringstoragestring (uuid)can be nullstorage_namestringrequiredread-onlydeliverystringadopt- Moved into the server's storagelink- Served where it isdownload- Downloaded to a serverproxy- Played through a serverredirect- Played straight from the bucket
One of:
"adopt""link""download""proxy""redirect"scan_every_minutesintegercategoriesstringFolder names: "Action/Heat (1995).mkv" goes under Action (a file in no such folder goes under its TMDB genres). TMDB genres. One category for movies and one for TV shows. Or your own mapping of folder names (else genres) to categories.
folder- Folder namestmdb- TMDB genresfixed- One categorycustom- My own mapping
movie_categorystring (uuid)can be nullseries_categorystring (uuid)can be nullcategory_mapanymovie_bouquetsstring (uuid)[]series_bouquetsstring (uuid)[]use_tmdbbooleanFill posters, plots, cast and ratings from TMDB (the key in Settings → VOD).
add_unmatchedbooleanA title TMDB does not know is added with its file name. Off: it waits for you.
tmdb_languagestringLanguage of titles and plots from TMDB, e.g. fr-FR. Empty: the one in Settings → VOD.
extensionsstringOnly files with these extensions are read, e.g. mkv,mp4.
next_scan_atstring (date-time)requiredread-onlycan be nulllast_scan_atstring (date-time)requiredread-onlycan be nullcreated_bystring (uuid)requiredread-onlycan be nullcreated_atstring (date-time)requiredread-onlyupdated_atstring (date-time)requiredread-onlycountsobjectrequiredread-onlylast_scanobjectrequiredread-onlycan be nullidstring (uuid)requiredread-onlytriggerstringrequiredread-onlystatusstringrequiredread-onlyphasestringrequiredread-onlydoneintegerrequiredread-onlytotalintegerrequiredread-onlycountsanyrequiredread-onlymessagestringrequiredread-onlycreated_atstring (date-time)requiredread-onlystarted_atstring (date-time)requiredread-onlycan be nullfinished_atstring (date-time)requiredread-onlycan be null
scanningbooleanrequiredread-onlyproblemstringrequiredread-onlycan be nullWhy the last scan that ended failed, in a sentence; None when it did not (kept while the folder is paused).
Errors
- 401 No credential, or one that is wrong, expired or revoked.
- 403 The account, or the key's or app's scopes, may not do this.
- 429 Slow down: wait the seconds in the Retry-After header, then try again.