mirror of
https://github.com/maxdorninger/MediaManager.git
synced 2026-04-18 08:03:36 +02:00
add ability to import unknown tv shows
This commit is contained in:
122
web/src/lib/api/api.d.ts
vendored
122
web/src/lib/api/api.d.ts
vendored
@@ -341,6 +341,46 @@ export interface paths {
|
||||
patch?: never;
|
||||
trace?: never;
|
||||
};
|
||||
'/api/v1/tv/importable': {
|
||||
parameters: {
|
||||
query?: never;
|
||||
header?: never;
|
||||
path?: never;
|
||||
cookie?: never;
|
||||
};
|
||||
/**
|
||||
* Get All Importable Shows
|
||||
* @description get a list of unknown shows that were detected in the tv directory and are importable
|
||||
*/
|
||||
get: operations['get_all_importable_shows_api_v1_tv_importable_get'];
|
||||
put?: never;
|
||||
post?: never;
|
||||
delete?: never;
|
||||
options?: never;
|
||||
head?: never;
|
||||
patch?: never;
|
||||
trace?: never;
|
||||
};
|
||||
'/api/v1/tv/importable/{show_id}': {
|
||||
parameters: {
|
||||
query?: never;
|
||||
header?: never;
|
||||
path?: never;
|
||||
cookie?: never;
|
||||
};
|
||||
get?: never;
|
||||
put?: never;
|
||||
/**
|
||||
* Import Detected Show
|
||||
* @description get a list of unknown shows that were detected in the tv directory and are importable
|
||||
*/
|
||||
post: operations['import_detected_show_api_v1_tv_importable__show_id__post'];
|
||||
delete?: never;
|
||||
options?: never;
|
||||
head?: never;
|
||||
patch?: never;
|
||||
trace?: never;
|
||||
};
|
||||
'/api/v1/tv/shows/torrents': {
|
||||
parameters: {
|
||||
query?: never;
|
||||
@@ -1625,6 +1665,16 @@ export interface components {
|
||||
* @enum {integer}
|
||||
*/
|
||||
TorrentStatus: 1 | 2 | 3 | 4;
|
||||
/** TvShowImportSuggestion */
|
||||
TvShowImportSuggestion: {
|
||||
/**
|
||||
* Directory
|
||||
* Format: path
|
||||
*/
|
||||
directory: string;
|
||||
/** Candidates */
|
||||
candidates: components['schemas']['MetaDataProviderSearchResult'][];
|
||||
};
|
||||
/** UpdateSeasonRequest */
|
||||
UpdateSeasonRequest: {
|
||||
min_quality: components['schemas']['Quality'];
|
||||
@@ -2489,15 +2539,6 @@ export interface operations {
|
||||
'application/json': components['schemas']['Show'];
|
||||
};
|
||||
};
|
||||
/** @description Show already exists */
|
||||
409: {
|
||||
headers: {
|
||||
[name: string]: unknown;
|
||||
};
|
||||
content: {
|
||||
'application/json': string;
|
||||
};
|
||||
};
|
||||
/** @description Validation Error */
|
||||
422: {
|
||||
headers: {
|
||||
@@ -2591,6 +2632,69 @@ export interface operations {
|
||||
};
|
||||
};
|
||||
};
|
||||
get_all_importable_shows_api_v1_tv_importable_get: {
|
||||
parameters: {
|
||||
query?: {
|
||||
metadata_provider?: 'tmdb' | 'tvdb';
|
||||
};
|
||||
header?: never;
|
||||
path?: never;
|
||||
cookie?: never;
|
||||
};
|
||||
requestBody?: never;
|
||||
responses: {
|
||||
/** @description Successful Response */
|
||||
200: {
|
||||
headers: {
|
||||
[name: string]: unknown;
|
||||
};
|
||||
content: {
|
||||
'application/json': components['schemas']['TvShowImportSuggestion'][];
|
||||
};
|
||||
};
|
||||
/** @description Validation Error */
|
||||
422: {
|
||||
headers: {
|
||||
[name: string]: unknown;
|
||||
};
|
||||
content: {
|
||||
'application/json': components['schemas']['HTTPValidationError'];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
import_detected_show_api_v1_tv_importable__show_id__post: {
|
||||
parameters: {
|
||||
query: {
|
||||
directory: string;
|
||||
};
|
||||
header?: never;
|
||||
path: {
|
||||
/** @description The ID of the show */
|
||||
show_id: string;
|
||||
};
|
||||
cookie?: never;
|
||||
};
|
||||
requestBody?: never;
|
||||
responses: {
|
||||
/** @description Successful Response */
|
||||
204: {
|
||||
headers: {
|
||||
[name: string]: unknown;
|
||||
};
|
||||
content?: never;
|
||||
};
|
||||
/** @description Validation Error */
|
||||
422: {
|
||||
headers: {
|
||||
[name: string]: unknown;
|
||||
};
|
||||
content: {
|
||||
'application/json': components['schemas']['HTTPValidationError'];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
get_shows_with_torrents_api_v1_tv_shows_torrents_get: {
|
||||
parameters: {
|
||||
query?: never;
|
||||
|
||||
Reference in New Issue
Block a user