All URIs are relative to http://localhost:7878
Method | HTTP request | Description |
---|---|---|
create_movie | POST /api/v3/movie | |
delete_movie | DELETE /api/v3/movie/{id} | |
get_movie_by_id | GET /api/v3/movie/{id} | |
list_movie | GET /api/v3/movie | |
update_movie | PUT /api/v3/movie/{id} |
models::MovieResource create_movie(movie_resource)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
movie_resource | Option<MovieResource> |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
delete_movie(id, delete_files, add_import_exclusion)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
id | i32 | [required] | ||
delete_files | Option<bool> | [default to false] | ||
add_import_exclusion | Option<bool> | [default to false] |
(empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
models::MovieResource get_movie_by_id(id)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
id | i32 | [required] |
- Content-Type: Not defined
- Accept: text/plain, application/json, text/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Vecmodels::MovieResource list_movie(tmdb_id, exclude_local_covers, language_id)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
tmdb_id | Option<i32> | |||
exclude_local_covers | Option<bool> | [default to false] | ||
language_id | Option<i32> |
Vecmodels::MovieResource
- Content-Type: Not defined
- Accept: text/plain, application/json, text/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
models::MovieResource update_movie(id, move_files, movie_resource)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
id | String | [required] | ||
move_files | Option<bool> | [default to false] | ||
movie_resource | Option<MovieResource> |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]