chore(api): regenerate OpenAPI + TS client for media-source write endpoints (#202 OpenAPI gate)
This commit is contained in:
File diff suppressed because it is too large
Load Diff
+49
-1
@@ -2,7 +2,7 @@
|
||||
|
||||
*Generated by `scripts/generate-endpoint-index.py` from `ErsatzTV/wwwroot/openapi/v1.json`. Do not edit by hand -- regenerated by `scripts/update-openapi.sh`.*
|
||||
|
||||
133 endpoints, 207 operations.
|
||||
155 endpoints, 240 operations.
|
||||
|
||||
## Artists
|
||||
|
||||
@@ -109,6 +109,20 @@
|
||||
| GET | `/api/decos/{id}` | GetDecoById | Get a deco by id |
|
||||
| PUT | `/api/decos/{id}` | | Replace a deco |
|
||||
|
||||
## Emby
|
||||
|
||||
| Method | Path | Operation | Summary |
|
||||
|---|---|---|---|
|
||||
| GET | `/api/media-sources/emby` | GetEmbyState | Get Emby connection state and discovered servers |
|
||||
| GET | `/api/media-sources/emby/connection` | GetEmbyConnection | Get the Emby connection address |
|
||||
| PUT | `/api/media-sources/emby/connection` | SaveEmbyConnection | Connect, reconnect, or edit the Emby connection |
|
||||
| POST | `/api/media-sources/emby/disconnect` | DisconnectEmby | Disconnect Emby |
|
||||
| GET | `/api/media-sources/emby/{id}/libraries` | GetEmbyLibraries | Get an Emby source's libraries |
|
||||
| PUT | `/api/media-sources/emby/{id}/libraries` | ReplaceEmbyLibraryPreferences | Replace an Emby source's library sync preferences |
|
||||
| GET | `/api/media-sources/emby/{id}/path-replacements` | GetEmbyPathReplacements | Get an Emby source's path replacements |
|
||||
| PUT | `/api/media-sources/emby/{id}/path-replacements` | ReplaceEmbyPathReplacements | Replace an Emby source's path replacements |
|
||||
| POST | `/api/media-sources/emby/{id}/refresh-libraries` | RefreshEmbyLibraries | Refresh an Emby source's libraries |
|
||||
|
||||
## FFmpeg Profiles
|
||||
|
||||
| Method | Path | Operation | Summary |
|
||||
@@ -149,6 +163,20 @@
|
||||
| GET | `/api/images/folders` | GetImageFolders | List image library folders |
|
||||
| PUT | `/api/images/folders/{id}/duration` | UpdateImageFolderDuration | Set or clear an image folder's playout duration |
|
||||
|
||||
## Jellyfin
|
||||
|
||||
| Method | Path | Operation | Summary |
|
||||
|---|---|---|---|
|
||||
| GET | `/api/media-sources/jellyfin` | GetJellyfinState | Get Jellyfin connection state and discovered servers |
|
||||
| GET | `/api/media-sources/jellyfin/connection` | GetJellyfinConnection | Get the Jellyfin connection address |
|
||||
| PUT | `/api/media-sources/jellyfin/connection` | SaveJellyfinConnection | Connect, reconnect, or edit the Jellyfin connection |
|
||||
| POST | `/api/media-sources/jellyfin/disconnect` | DisconnectJellyfin | Disconnect Jellyfin |
|
||||
| GET | `/api/media-sources/jellyfin/{id}/libraries` | GetJellyfinLibraries | Get a Jellyfin source's libraries |
|
||||
| PUT | `/api/media-sources/jellyfin/{id}/libraries` | ReplaceJellyfinLibraryPreferences | Replace a Jellyfin source's library sync preferences |
|
||||
| GET | `/api/media-sources/jellyfin/{id}/path-replacements` | GetJellyfinPathReplacements | Get a Jellyfin source's path replacements |
|
||||
| PUT | `/api/media-sources/jellyfin/{id}/path-replacements` | ReplaceJellyfinPathReplacements | Replace a Jellyfin source's path replacements |
|
||||
| POST | `/api/media-sources/jellyfin/{id}/refresh-libraries` | RefreshJellyfinLibraries | Refresh a Jellyfin source's libraries |
|
||||
|
||||
## Languages
|
||||
|
||||
| Method | Path | Operation | Summary |
|
||||
@@ -159,6 +187,13 @@
|
||||
|
||||
| Method | Path | Operation | Summary |
|
||||
|---|---|---|---|
|
||||
| GET | `/api/libraries/local` | GetLocalLibraries | Get all local libraries |
|
||||
| POST | `/api/libraries/local` | | Create a local library |
|
||||
| POST | `/api/libraries/local/path-exists` | | Check whether a filesystem path exists |
|
||||
| POST | `/api/libraries/local/paths/{pathId}/move` | | Move a local library path to another local library |
|
||||
| DELETE | `/api/libraries/local/{id}` | | Delete a local library |
|
||||
| GET | `/api/libraries/local/{id}` | GetLocalLibrary | Get a local library by id |
|
||||
| PUT | `/api/libraries/local/{id}` | | Update a local library |
|
||||
| GET | `/api/libraries/scan-status` | GetLibraryScanStatus | Get active library scan status |
|
||||
| POST | `/api/libraries/{id}/scan` | | Scan library |
|
||||
| POST | `/api/libraries/{id}/scan-show` | | Scan show |
|
||||
@@ -248,6 +283,19 @@
|
||||
| GET | `/api/playouts/{id}/templates` | GetPlayoutTemplates | Get a block playout's templates |
|
||||
| PUT | `/api/playouts/{id}/templates` | | Replace a block playout's templates |
|
||||
|
||||
## Plex
|
||||
|
||||
| Method | Path | Operation | Summary |
|
||||
|---|---|---|---|
|
||||
| GET | `/api/media-sources/plex` | GetPlexState | Get Plex connection state |
|
||||
| POST | `/api/media-sources/plex/pin-flow` | StartPlexPinFlow | Start the Plex sign-in pin flow |
|
||||
| POST | `/api/media-sources/plex/sign-out` | SignOutOfPlex | Sign out of Plex |
|
||||
| GET | `/api/media-sources/plex/{id}/libraries` | GetPlexLibraries | Get a Plex server's libraries |
|
||||
| PUT | `/api/media-sources/plex/{id}/libraries` | ReplacePlexLibraryPreferences | Replace a Plex server's library sync preferences |
|
||||
| GET | `/api/media-sources/plex/{id}/path-replacements` | GetPlexPathReplacements | Get a Plex server's path replacements |
|
||||
| PUT | `/api/media-sources/plex/{id}/path-replacements` | ReplacePlexPathReplacements | Replace a Plex server's path replacements |
|
||||
| POST | `/api/media-sources/plex/{id}/refresh-libraries` | RefreshPlexLibraries | Refresh a Plex server's libraries |
|
||||
|
||||
## Rerun Collections
|
||||
|
||||
| Method | Path | Operation | Summary |
|
||||
|
||||
Vendored
+88
@@ -444,6 +444,11 @@ export interface components {
|
||||
"playlistId": null | number;
|
||||
"expression": null | string;
|
||||
"useChaptersAsMediaItems": boolean;
|
||||
};
|
||||
"CreateLocalLibraryRequest": {
|
||||
"name": null | string;
|
||||
"mediaKind": components["schemas"]["LibraryMediaKind"];
|
||||
"paths": null | Array<string>;
|
||||
};
|
||||
"CreateMultiCollectionRequest": {
|
||||
"name": null | string;
|
||||
@@ -750,6 +755,31 @@ export interface components {
|
||||
"LibraryScanStatusResponseModel": {
|
||||
"libraryId": number;
|
||||
"percent": number;
|
||||
};
|
||||
"LocalLibraryDetailResponseModel": {
|
||||
"id": number;
|
||||
"name": null | string;
|
||||
"mediaKind": components["schemas"]["LibraryMediaKind"];
|
||||
"isLocked": boolean;
|
||||
"mediaItemCount": number;
|
||||
"paths": null | Array<components["schemas"]["LocalLibraryPathResponseModel"]>;
|
||||
};
|
||||
"LocalLibraryPathResponseModel": {
|
||||
"id": number;
|
||||
"path": null | string;
|
||||
"mediaItemCount": number;
|
||||
};
|
||||
"LocalLibraryResponseModel": {
|
||||
"id": number;
|
||||
"name": null | string;
|
||||
"mediaKind": components["schemas"]["LibraryMediaKind"];
|
||||
"isLocked": boolean;
|
||||
};
|
||||
"LocalPathCheckRequest": {
|
||||
"path": null | string;
|
||||
};
|
||||
"LocalPathCheckResponseModel": {
|
||||
"exists": boolean;
|
||||
};
|
||||
"LogEntryResponseModel": {
|
||||
"timestamp": string;
|
||||
@@ -841,6 +871,9 @@ export interface components {
|
||||
"libraries": Array<components["schemas"]["MediaSourceLibraryResponseModel"]>;
|
||||
};
|
||||
"MediaStreamKind": "Video" | "Audio" | "Subtitle" | "Attachment" | "ExternalSubtitle";
|
||||
"MoveLocalLibraryPathRequest": {
|
||||
"targetLibraryId": number;
|
||||
};
|
||||
"MovieDetailResponseModel": {
|
||||
"id": number;
|
||||
"title": string;
|
||||
@@ -916,6 +949,16 @@ export interface components {
|
||||
"PagedTraktListsResponseModel": {
|
||||
"totalCount": number;
|
||||
"page": Array<components["schemas"]["TraktListResponseModel"]>;
|
||||
};
|
||||
"PathReplacementItemRequest": {
|
||||
"id": number;
|
||||
"remotePath": null | string;
|
||||
"localPath": null | string;
|
||||
};
|
||||
"PathReplacementResponseModel": {
|
||||
"id": number;
|
||||
"remotePath": null | string;
|
||||
"localPath": null | string;
|
||||
};
|
||||
"PlaybackOrder": "None" | "Chronological" | "Random" | "Shuffle" | "ShuffleInOrder" | "MultiEpisodeShuffle" | "SeasonEpisode" | "RandomRotation" | "Marathon";
|
||||
"PlaylistGroupResponseModel": {
|
||||
@@ -1091,6 +1134,9 @@ export interface components {
|
||||
"endMonth": number;
|
||||
"endDay": number;
|
||||
"endYear": null | number;
|
||||
};
|
||||
"PlexPinFlowResponseModel": {
|
||||
"authUrl": null | string;
|
||||
};
|
||||
"ProblemDetails": {
|
||||
"type"?: null | string;
|
||||
@@ -1107,6 +1153,30 @@ export interface components {
|
||||
"shuffleScheduleItems": boolean;
|
||||
"randomStartPoint": boolean;
|
||||
"fixedStartTimeBehavior": components["schemas"]["FixedStartTimeBehavior"];
|
||||
};
|
||||
"RemoteConnectionResponseModel": {
|
||||
"address": null | string;
|
||||
"hasApiKey": boolean;
|
||||
};
|
||||
"RemoteLibraryPreferenceRequest": {
|
||||
"id": number;
|
||||
"shouldSyncItems": boolean;
|
||||
};
|
||||
"RemoteLibraryResponseModel": {
|
||||
"id": number;
|
||||
"name": null | string;
|
||||
"mediaKind": components["schemas"]["LibraryMediaKind"];
|
||||
"shouldSyncItems": boolean;
|
||||
};
|
||||
"RemoteMediaSourceItemResponseModel": {
|
||||
"id": number;
|
||||
"name": null | string;
|
||||
"address": null | string;
|
||||
};
|
||||
"RemoteMediaSourceStateResponseModel": {
|
||||
"isAuthorized": boolean;
|
||||
"isLocked": boolean;
|
||||
"servers": null | Array<components["schemas"]["RemoteMediaSourceItemResponseModel"]>;
|
||||
};
|
||||
"ReplaceBlockRequest": {
|
||||
"name": null | string;
|
||||
@@ -1141,6 +1211,9 @@ export interface components {
|
||||
"ReplaceDecoTemplateRequest": {
|
||||
"name": null | string;
|
||||
"items": null | Array<components["schemas"]["DecoTemplateItemRequest"]>;
|
||||
};
|
||||
"ReplacePathReplacementsRequest": {
|
||||
"items": null | Array<components["schemas"]["PathReplacementItemRequest"]>;
|
||||
};
|
||||
"ReplacePlaylistRequest": {
|
||||
"name": null | string;
|
||||
@@ -1151,6 +1224,9 @@ export interface components {
|
||||
};
|
||||
"ReplacePlayoutTemplatesRequest": {
|
||||
"items": null | Array<components["schemas"]["PlayoutTemplateItemRequest"]>;
|
||||
};
|
||||
"ReplaceRemoteLibraryPreferencesRequest": {
|
||||
"libraries": null | Array<components["schemas"]["RemoteLibraryPreferenceRequest"]>;
|
||||
};
|
||||
"ReplaceScheduleItemsRequest": {
|
||||
"items": null | Array<components["schemas"]["ScheduleItemRequest"]>;
|
||||
@@ -1181,6 +1257,10 @@ export interface components {
|
||||
"width": number;
|
||||
"height": number;
|
||||
"isCustom": boolean;
|
||||
};
|
||||
"SaveRemoteConnectionRequest": {
|
||||
"address": null | string;
|
||||
"apiKey": null | string;
|
||||
};
|
||||
"ScalingBehavior": "ScaleAndPad" | "Stretch" | "Crop";
|
||||
"ScannerSettingsResponseModel": {
|
||||
@@ -1565,6 +1645,14 @@ export interface components {
|
||||
};
|
||||
"UpdateImageFolderDurationResponseModel": {
|
||||
"durationSeconds": null | number;
|
||||
};
|
||||
"UpdateLocalLibraryPathRequest": {
|
||||
"id": number;
|
||||
"path": null | string;
|
||||
};
|
||||
"UpdateLocalLibraryRequest": {
|
||||
"name": null | string;
|
||||
"paths": null | Array<components["schemas"]["UpdateLocalLibraryPathRequest"]>;
|
||||
};
|
||||
"UpdateLoggingSettingsRequest": {
|
||||
"defaultMinimumLogLevel": components["schemas"]["LogEventLevel"];
|
||||
|
||||
Reference in New Issue
Block a user