Import a file of a watch folder now
POST
/vod/watch-folders/{id}/files/{file_id}/match/write Change: creates or edits. Scopes
tmdb_id: as that TMDB movie, or an episode of that TMDB show. as_is: true: under its file name. kind (movie or episode) when it is not what it looks like. For a file already in the panel without TMDB details, tmdb_id fills them in. A file not read yet, or already in the panel, is refused.
Path parameters
file_idintegerrequiredThe file's id.
idstring (uuid)requiredThe watch folder's id.
Body
tmdb_idstringas_isbooleanDefault:
falsekindstring
Response
200 OK
idintegerrequiredread-onlyrefstringrequiredread-onlynamestringrequiredread-onlysize_bytesintegerrequiredread-onlymodifiedstring (date-time)requiredread-onlycan be nullstatestringrequiredread-onlykindstringrequiredread-onlynotestringrequiredread-onlytitleobjectrequiredread-onlycan be nullkindstringrequiredmovie- movieseries- series
One of:
"movie""series"idstring (uuid)requirednamestringrequired
without_detailsbooleanrequiredread-onlyIn the panel under a title TMDB gave nothing for ("Find on TMDB" fills it).
missingbooleanrequiredread-onlytmdb_idstringrequiredread-onlyas_isbooleanrequiredread-onlyseen_atstring (date-time)requiredread-onlyupdated_atstring (date-time)requiredread-only
Errors
- 400 Refused, with the reason in
detail. - 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.
- 404 Nothing with this id, or nothing the account can see.
- 429 Slow down: wait the seconds in the Retry-After header, then try again.
- 502 TMDB or the server did not answer.