diff --git a/ErsatzTV/wwwroot/openapi/v1.json b/ErsatzTV/wwwroot/openapi/v1.json index 5c0bd5eb4..c08101e1a 100644 --- a/ErsatzTV/wwwroot/openapi/v1.json +++ b/ErsatzTV/wwwroot/openapi/v1.json @@ -4,58 +4,94 @@ "title": "ErsatzTV | v1", "version": "1.0.0" }, + "servers": [ + { + "url": "http://localhost:8409/" + } + ], "paths": { - "/api/channels": { + "/api/blocks/groups": { "get": { "tags": [ - "Channel" + "Blocks" ], + "summary": "Get all block groups", + "operationId": "GetBlockGroups", "responses": { "200": { "description": "OK", "content": { "text/plain": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ChannelResponseModel" - } + "$ref": "#/components/schemas/List`1" } }, "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ChannelResponseModel" - } + "$ref": "#/components/schemas/List`1" } }, "text/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ChannelResponseModel" - } + "$ref": "#/components/schemas/List`1" } } } } } + }, + "post": { + "tags": [ + "Blocks" + ], + "summary": "Create a block group", + "operationId": "CreateBlockGroup", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/CreateBlockGroupRequest" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreateBlockGroupRequest" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/CreateBlockGroupRequest" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/CreateBlockGroupRequest" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK" + } + } } }, - "/api/channels/{channelNumber}/playout/reset": { - "post": { + "/api/blocks/groups/{id}": { + "delete": { "tags": [ - "Channels" + "Blocks" ], - "summary": "Reset channel playout", + "summary": "Delete a block group", + "operationId": "DeleteBlockGroup", "parameters": [ { - "name": "channelNumber", + "name": "id", "in": "path", "required": true, "schema": { - "type": "string" + "$ref": "#/components/schemas/Int32" } } ], @@ -66,38 +102,40 @@ } } }, - "/api/ffmpeg/profiles": { + "/api/blocks/groups/{groupId}/blocks": { "get": { "tags": [ - "FFmpegProfile" + "Blocks" + ], + "summary": "Get blocks by group", + "operationId": "GetBlocksByGroup", + "parameters": [ + { + "name": "groupId", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Int32" + } + } ], - "operationId": "GetFFmpegProfiles", "responses": { "200": { "description": "OK", "content": { "text/plain": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/FFmpegFullProfileResponseModel" - } + "$ref": "#/components/schemas/List`1" } }, "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/FFmpegFullProfileResponseModel" - } + "$ref": "#/components/schemas/List`1" } }, "text/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/FFmpegFullProfileResponseModel" - } + "$ref": "#/components/schemas/List`1" } } } @@ -105,32 +143,62 @@ } } }, - "/api/ffmpeg/profiles/new": { + "/api/blocks": { + "get": { + "tags": [ + "Blocks" + ], + "summary": "Get all blocks", + "operationId": "GetAllBlocks", + "responses": { + "200": { + "description": "OK", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + } + } + } + } + }, "post": { "tags": [ - "FFmpegProfile" + "Blocks" ], - "operationId": "CreateFFmpegProfile", + "summary": "Create a block", + "operationId": "CreateBlock", "requestBody": { "content": { "application/json-patch+json": { "schema": { - "$ref": "#/components/schemas/CreateFFmpegProfile" + "$ref": "#/components/schemas/CreateBlockRequest" } }, "application/json": { "schema": { - "$ref": "#/components/schemas/CreateFFmpegProfile" + "$ref": "#/components/schemas/CreateBlockRequest" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/CreateFFmpegProfile" + "$ref": "#/components/schemas/CreateBlockRequest" } }, "application/*+json": { "schema": { - "$ref": "#/components/schemas/CreateFFmpegProfile" + "$ref": "#/components/schemas/CreateBlockRequest" } } }, @@ -143,58 +211,42 @@ } } }, - "/api/ffmpeg/profiles/update": { - "put": { + "/api/blocks/{id}": { + "get": { "tags": [ - "FFmpegProfile" + "Blocks" ], - "operationId": "UpdateFFmpegProfile", - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/UpdateFFmpegProfile" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/UpdateFFmpegProfile" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/UpdateFFmpegProfile" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/UpdateFFmpegProfile" - } + "summary": "Get block by ID", + "operationId": "GetBlockById", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Int32" } - }, - "required": true - }, + } + ], "responses": { "200": { "description": "OK" } } - } - }, - "/api/ffmpeg/delete/{id}": { + }, "delete": { "tags": [ - "FFmpegProfile" + "Blocks" ], - "operationId": "DeleteFFmpegProfile", + "summary": "Delete a block", + "operationId": "DeleteBlock", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int32" + "$ref": "#/components/schemas/Int32" } } ], @@ -205,44 +257,59 @@ } } }, - "/api/libraries/{id}/scan": { - "post": { + "/api/blocks/{id}/items": { + "get": { "tags": [ - "Libraries" + "Blocks" ], - "summary": "Scan library", + "summary": "Get block items", + "operationId": "GetBlockItems", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int32" + "$ref": "#/components/schemas/Int32" } } ], "responses": { "200": { - "description": "OK" + "description": "OK", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + } + } } } - } - }, - "/api/libraries/{id}/scan-show": { - "post": { + }, + "put": { "tags": [ - "Libraries" + "Blocks" ], - "summary": "Scan show", + "summary": "Replace block items", + "operationId": "ReplaceBlockItems", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int32" + "$ref": "#/components/schemas/Int32" } } ], @@ -250,22 +317,22 @@ "content": { "application/json-patch+json": { "schema": { - "$ref": "#/components/schemas/ScanShowRequest" + "$ref": "#/components/schemas/ReplaceBlockItemsRequest" } }, "application/json": { "schema": { - "$ref": "#/components/schemas/ScanShowRequest" + "$ref": "#/components/schemas/ReplaceBlockItemsRequest" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/ScanShowRequest" + "$ref": "#/components/schemas/ReplaceBlockItemsRequest" } }, "application/*+json": { "schema": { - "$ref": "#/components/schemas/ScanShowRequest" + "$ref": "#/components/schemas/ReplaceBlockItemsRequest" } } }, @@ -278,22 +345,48 @@ } } }, - "/api/maintenance/gc": { - "get": { + "/api/blocks/{id}/copy": { + "post": { "tags": [ - "Maintenance" + "Blocks" ], - "summary": "Garbage collect", + "summary": "Copy a block", + "operationId": "CopyBlock", "parameters": [ { - "name": "force", - "in": "query", + "name": "id", + "in": "path", + "required": true, "schema": { - "type": "boolean", - "default": false + "$ref": "#/components/schemas/Int32" } } ], + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/CopyBlockRequest" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/CopyBlockRequest" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/CopyBlockRequest" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/CopyBlockRequest" + } + } + }, + "required": true + }, "responses": { "200": { "description": "OK" @@ -301,111 +394,181 @@ } } }, - "/api/maintenance/empty_trash": { - "post": { - "tags": [ - "Maintenance" - ], - "summary": "Empty trash", - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/ffmpeg/resolution/by-name/{name}": { + "/api/channels": { "get": { "tags": [ - "Resolution" - ], - "operationId": "GetResolutionByName", - "parameters": [ - { - "name": "name", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } + "Channels" ], + "summary": "Get all channels", + "operationId": "GetAllChannels", "responses": { "200": { "description": "OK", "content": { "text/plain": { "schema": { - "$ref": "#/components/schemas/ResolutionViewModel" + "$ref": "#/components/schemas/List`1" } }, "application/json": { "schema": { - "$ref": "#/components/schemas/ResolutionViewModel" + "$ref": "#/components/schemas/List`1" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/ResolutionViewModel" + "$ref": "#/components/schemas/List`1" } } } } } - } - }, - "/api/sessions": { - "get": { + }, + "post": { "tags": [ - "Sessions" + "Channels" ], - "summary": "Get sessions", - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/HlsSessionModel" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/HlsSessionModel" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/HlsSessionModel" - } - } + "summary": "Create a channel", + "operationId": "CreateChannel", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/CreateChannelRequest" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreateChannelRequest" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/CreateChannelRequest" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/CreateChannelRequest" } } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK" } } } }, - "/api/session/{channelNumber}": { - "delete": { + "/api/channels/{id}": { + "get": { "tags": [ - "Sessions" + "Channels" ], - "summary": "Stop session", + "summary": "Get channel by ID", + "operationId": "GetChannelById", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Int32" + } + } + ], + "responses": { + "200": { + "description": "OK" + } + } + }, + "put": { + "tags": [ + "Channels" + ], + "summary": "Update a channel", + "operationId": "UpdateChannel", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Int32" + } + } + ], + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/UpdateChannelRequest" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/UpdateChannelRequest" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/UpdateChannelRequest" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/UpdateChannelRequest" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK" + } + } + }, + "delete": { + "tags": [ + "Channels" + ], + "summary": "Delete a channel", + "operationId": "DeleteChannel", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Int32" + } + } + ], + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/channels/by-number/{channelNumber}": { + "get": { + "tags": [ + "Channels" + ], + "summary": "Get channel by number", + "operationId": "GetChannelByNumber", "parameters": [ { "name": "channelNumber", "in": "path", "required": true, "schema": { - "type": "string" + "$ref": "#/components/schemas/String" } } ], @@ -416,71 +579,133 @@ } } }, - "/api/collections/smart": { + "/api/channels/{channelNumber}/playout/reset": { + "post": { + "tags": [ + "Channels" + ], + "summary": "Reset channel playout", + "operationId": "ResetChannelPlayout", + "parameters": [ + { + "name": "channelNumber", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/String" + } + } + ], + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/channels/{channelNumber}/playout/build": { + "post": { + "tags": [ + "Channels" + ], + "summary": "Build channel playout", + "operationId": "BuildChannelPlayout", + "parameters": [ + { + "name": "channelNumber", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/String" + } + } + ], + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/collections": { "get": { "tags": [ - "SmartCollection" + "Collections" + ], + "summary": "Get all collections (paginated)", + "operationId": "GetCollections", + "parameters": [ + { + "name": "query", + "in": "query", + "schema": { + "$ref": "#/components/schemas/String" + } + }, + { + "name": "pageNumber", + "in": "query", + "schema": { + "$ref": "#/components/schemas/Int32" + } + }, + { + "name": "pageSize", + "in": "query", + "schema": { + "$ref": "#/components/schemas/Int32" + } + } ], - "operationId": "GetSmartCollections", "responses": { "200": { "description": "OK", "content": { "text/plain": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SmartCollectionResponseModel" - } + "$ref": "#/components/schemas/PagedCollectionsApiResponse" } }, "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SmartCollectionResponseModel" - } + "$ref": "#/components/schemas/PagedCollectionsApiResponse" } }, "text/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SmartCollectionResponseModel" - } + "$ref": "#/components/schemas/PagedCollectionsApiResponse" } } } } } - } - }, - "/api/collections/smart/new": { + }, "post": { "tags": [ - "SmartCollection" + "Collections" ], - "operationId": "CreateSmartCollection", + "summary": "Create a new collection", + "operationId": "CreateCollection", "requestBody": { "content": { "application/json-patch+json": { "schema": { - "$ref": "#/components/schemas/CreateSmartCollection" + "$ref": "#/components/schemas/CreateCollectionRequest" } }, "application/json": { "schema": { - "$ref": "#/components/schemas/CreateSmartCollection" + "$ref": "#/components/schemas/CreateCollectionRequest" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/CreateSmartCollection" + "$ref": "#/components/schemas/CreateCollectionRequest" } }, "application/*+json": { "schema": { - "$ref": "#/components/schemas/CreateSmartCollection" + "$ref": "#/components/schemas/CreateCollectionRequest" } } }, @@ -493,32 +718,96 @@ } } }, - "/api/collections/smart/update": { + "/api/collections/all": { + "get": { + "tags": [ + "Collections" + ], + "summary": "Get all collections", + "operationId": "GetAllCollections", + "responses": { + "200": { + "description": "OK", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + } + } + } + } + } + }, + "/api/collections/{id}": { + "get": { + "tags": [ + "Collections" + ], + "summary": "Get collection by ID", + "operationId": "GetCollectionById", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Int32" + } + } + ], + "responses": { + "200": { + "description": "OK" + } + } + }, "put": { "tags": [ - "SmartCollection" + "Collections" + ], + "summary": "Update a collection", + "operationId": "UpdateCollection", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Int32" + } + } ], - "operationId": "UpdateSmartCollection", "requestBody": { "content": { "application/json-patch+json": { "schema": { - "$ref": "#/components/schemas/UpdateSmartCollection" + "$ref": "#/components/schemas/UpdateCollectionRequest" } }, "application/json": { "schema": { - "$ref": "#/components/schemas/UpdateSmartCollection" + "$ref": "#/components/schemas/UpdateCollectionRequest" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/UpdateSmartCollection" + "$ref": "#/components/schemas/UpdateCollectionRequest" } }, "application/*+json": { "schema": { - "$ref": "#/components/schemas/UpdateSmartCollection" + "$ref": "#/components/schemas/UpdateCollectionRequest" } } }, @@ -529,22 +818,20 @@ "description": "OK" } } - } - }, - "/api/collections/smart/delete/{id}": { + }, "delete": { "tags": [ - "SmartCollection" + "Collections" ], - "operationId": "DeleteSmartCollection", + "summary": "Delete a collection", + "operationId": "DeleteCollection", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int32" + "$ref": "#/components/schemas/Int32" } } ], @@ -555,108 +842,15850 @@ } } }, - "/api/version": { + "/api/collections/{id}/items": { "get": { "tags": [ - "Version" + "Collections" + ], + "summary": "Get collection items", + "operationId": "GetCollectionItems", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Int32" + } + } ], - "summary": "Get version", - "operationId": "GetVersion", "responses": { "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/CombinedVersion" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/CombinedVersion" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/CombinedVersion" - } - } - } + "description": "OK" } } - } - } - }, - "components": { - "schemas": { + }, + "post": { + "tags": [ + "Collections" + ], + "summary": "Add items to a collection", + "operationId": "AddItemsToCollection", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Int32" + } + } + ], + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/AddItemsToCollectionRequest" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/AddItemsToCollectionRequest" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/AddItemsToCollectionRequest" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/AddItemsToCollectionRequest" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK" + } + } + }, + "delete": { + "tags": [ + "Collections" + ], + "summary": "Remove items from a collection", + "operationId": "RemoveItemsFromCollection", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Int32" + } + } + ], + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/RemoveItemsFromCollectionRequest" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/RemoveItemsFromCollectionRequest" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/RemoveItemsFromCollectionRequest" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/RemoveItemsFromCollectionRequest" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/collections/multi": { + "get": { + "tags": [ + "Collections" + ], + "summary": "Get all multi-collections", + "operationId": "GetMultiCollections", + "responses": { + "200": { + "description": "OK", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + } + } + } + } + }, + "post": { + "tags": [ + "Collections" + ], + "summary": "Create a multi-collection", + "operationId": "CreateMultiCollection", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/CreateMultiCollectionRequest" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreateMultiCollectionRequest" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/CreateMultiCollectionRequest" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/CreateMultiCollectionRequest" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/collections/multi/{id}": { + "get": { + "tags": [ + "Collections" + ], + "summary": "Get multi-collection by ID", + "operationId": "GetMultiCollectionById", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Int32" + } + } + ], + "responses": { + "200": { + "description": "OK" + } + } + }, + "put": { + "tags": [ + "Collections" + ], + "summary": "Update a multi-collection", + "operationId": "UpdateMultiCollection", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Int32" + } + } + ], + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/UpdateMultiCollectionRequest" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/UpdateMultiCollectionRequest" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/UpdateMultiCollectionRequest" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/UpdateMultiCollectionRequest" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK" + } + } + }, + "delete": { + "tags": [ + "Collections" + ], + "summary": "Delete a multi-collection", + "operationId": "DeleteMultiCollection", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Int32" + } + } + ], + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/config/playout": { + "get": { + "tags": [ + "Configuration" + ], + "summary": "Get playout settings", + "operationId": "GetPlayoutSettings", + "responses": { + "200": { + "description": "OK", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/PlayoutSettingsViewModel" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/PlayoutSettingsViewModel" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/PlayoutSettingsViewModel" + } + } + } + } + } + }, + "put": { + "tags": [ + "Configuration" + ], + "summary": "Update playout settings", + "operationId": "UpdatePlayoutSettings", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/PlayoutSettingsViewModel" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/PlayoutSettingsViewModel" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/PlayoutSettingsViewModel" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/PlayoutSettingsViewModel" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/config/xmltv": { + "get": { + "tags": [ + "Configuration" + ], + "summary": "Get XMLTV settings", + "operationId": "GetXmltvSettings", + "responses": { + "200": { + "description": "OK", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/XmltvSettingsViewModel" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/XmltvSettingsViewModel" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/XmltvSettingsViewModel" + } + } + } + } + } + }, + "put": { + "tags": [ + "Configuration" + ], + "summary": "Update XMLTV settings", + "operationId": "UpdateXmltvSettings", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/XmltvSettingsViewModel" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/XmltvSettingsViewModel" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/XmltvSettingsViewModel" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/XmltvSettingsViewModel" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/config/logging": { + "get": { + "tags": [ + "Configuration" + ], + "summary": "Get logging settings", + "operationId": "GetLoggingSettings", + "responses": { + "200": { + "description": "OK", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/LoggingSettingsViewModel" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/LoggingSettingsViewModel" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/LoggingSettingsViewModel" + } + } + } + } + } + }, + "put": { + "tags": [ + "Configuration" + ], + "summary": "Update logging settings", + "operationId": "UpdateLoggingSettings", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/LoggingSettingsViewModel" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/LoggingSettingsViewModel" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/LoggingSettingsViewModel" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/LoggingSettingsViewModel" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/config/library-refresh-interval": { + "get": { + "tags": [ + "Configuration" + ], + "summary": "Get library refresh interval", + "operationId": "GetLibraryRefreshInterval", + "responses": { + "200": { + "description": "OK", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/Int32" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/Int32" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/Int32" + } + } + } + } + } + }, + "put": { + "tags": [ + "Configuration" + ], + "summary": "Update library refresh interval", + "operationId": "UpdateLibraryRefreshInterval", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/UpdateLibraryRefreshIntervalRequest" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/UpdateLibraryRefreshIntervalRequest" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/UpdateLibraryRefreshIntervalRequest" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/UpdateLibraryRefreshIntervalRequest" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/decos/groups": { + "get": { + "tags": [ + "Decos" + ], + "summary": "Get all deco groups", + "operationId": "GetDecoGroups", + "responses": { + "200": { + "description": "OK", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + } + } + } + } + }, + "post": { + "tags": [ + "Decos" + ], + "summary": "Create a deco group", + "operationId": "CreateDecoGroup", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/CreateDecoGroupRequest" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreateDecoGroupRequest" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/CreateDecoGroupRequest" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/CreateDecoGroupRequest" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/decos/groups/{id}": { + "delete": { + "tags": [ + "Decos" + ], + "summary": "Delete a deco group", + "operationId": "DeleteDecoGroup", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Int32" + } + } + ], + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/decos/groups/{groupId}/decos": { + "get": { + "tags": [ + "Decos" + ], + "summary": "Get decos by group", + "operationId": "GetDecosByGroup", + "parameters": [ + { + "name": "groupId", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Int32" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + } + } + } + } + } + }, + "/api/decos/tree": { + "get": { + "tags": [ + "Decos" + ], + "summary": "Get deco tree", + "operationId": "GetDecoTree", + "responses": { + "200": { + "description": "OK", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/TreeViewModel" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/TreeViewModel" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/TreeViewModel" + } + } + } + } + } + } + }, + "/api/decos/{id}": { + "get": { + "tags": [ + "Decos" + ], + "summary": "Get deco by ID", + "operationId": "GetDecoById", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Int32" + } + } + ], + "responses": { + "200": { + "description": "OK" + } + } + }, + "put": { + "tags": [ + "Decos" + ], + "summary": "Update a deco", + "operationId": "UpdateDeco", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Int32" + } + } + ], + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/UpdateDecoRequest" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/UpdateDecoRequest" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/UpdateDecoRequest" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/UpdateDecoRequest" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK" + } + } + }, + "delete": { + "tags": [ + "Decos" + ], + "summary": "Delete a deco", + "operationId": "DeleteDeco", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Int32" + } + } + ], + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/decos": { + "post": { + "tags": [ + "Decos" + ], + "summary": "Create a deco", + "operationId": "CreateDeco", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/CreateDecoRequest" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreateDecoRequest" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/CreateDecoRequest" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/CreateDecoRequest" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/playouts/{playoutId}/deco": { + "put": { + "tags": [ + "Decos" + ], + "summary": "Update default deco for playout", + "operationId": "UpdateDefaultDeco", + "parameters": [ + { + "name": "playoutId", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Int32" + } + } + ], + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/UpdateDefaultDecoRequest" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/UpdateDefaultDecoRequest" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/UpdateDefaultDecoRequest" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/UpdateDefaultDecoRequest" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/decos/template-groups": { + "get": { + "tags": [ + "Decos" + ], + "summary": "Get all deco template groups", + "operationId": "GetDecoTemplateGroups", + "responses": { + "200": { + "description": "OK", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + } + } + } + } + }, + "post": { + "tags": [ + "Decos" + ], + "summary": "Create a deco template group", + "operationId": "CreateDecoTemplateGroup", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/CreateDecoTemplateGroupRequest" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreateDecoTemplateGroupRequest" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/CreateDecoTemplateGroupRequest" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/CreateDecoTemplateGroupRequest" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/decos/template-groups/{id}": { + "delete": { + "tags": [ + "Decos" + ], + "summary": "Delete a deco template group", + "operationId": "DeleteDecoTemplateGroup", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Int32" + } + } + ], + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/decos/template-groups/{groupId}/templates": { + "get": { + "tags": [ + "Decos" + ], + "summary": "Get deco templates by group", + "operationId": "GetDecoTemplatesByGroup", + "parameters": [ + { + "name": "groupId", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Int32" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + } + } + } + } + } + }, + "/api/decos/templates/tree": { + "get": { + "tags": [ + "Decos" + ], + "summary": "Get deco template tree", + "operationId": "GetDecoTemplateTree", + "responses": { + "200": { + "description": "OK", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/TreeViewModel" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/TreeViewModel" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/TreeViewModel" + } + } + } + } + } + } + }, + "/api/decos/templates/{id}": { + "get": { + "tags": [ + "Decos" + ], + "summary": "Get deco template by ID", + "operationId": "GetDecoTemplateById", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Int32" + } + } + ], + "responses": { + "200": { + "description": "OK" + } + } + }, + "delete": { + "tags": [ + "Decos" + ], + "summary": "Delete a deco template", + "operationId": "DeleteDecoTemplate", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Int32" + } + } + ], + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/decos/templates/{id}/items": { + "get": { + "tags": [ + "Decos" + ], + "summary": "Get deco template items", + "operationId": "GetDecoTemplateItems", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Int32" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + } + } + } + } + } + }, + "/api/decos/templates": { + "post": { + "tags": [ + "Decos" + ], + "summary": "Create a deco template", + "operationId": "CreateDecoTemplate", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/CreateDecoTemplateRequest" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreateDecoTemplateRequest" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/CreateDecoTemplateRequest" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/CreateDecoTemplateRequest" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/emby/sources": { + "get": { + "tags": [ + "Emby" + ], + "summary": "Get all Emby media sources", + "operationId": "GetEmbyMediaSources", + "responses": { + "200": { + "description": "OK", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + } + } + } + } + } + }, + "/api/emby/sources/{id}": { + "get": { + "tags": [ + "Emby" + ], + "summary": "Get Emby media source by ID", + "operationId": "GetEmbyMediaSourceById", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Int32" + } + } + ], + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/emby/sources/{id}/libraries": { + "get": { + "tags": [ + "Emby" + ], + "summary": "Get Emby libraries by source", + "operationId": "GetEmbyLibraries", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Int32" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + } + } + } + } + } + }, + "/api/emby/sources/{id}/path-replacements": { + "get": { + "tags": [ + "Emby" + ], + "summary": "Get Emby path replacements by source", + "operationId": "GetEmbyPathReplacements", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Int32" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + } + } + } + } + }, + "put": { + "tags": [ + "Emby" + ], + "summary": "Update Emby path replacements", + "operationId": "UpdateEmbyPathReplacements", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Int32" + } + } + ], + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/UpdateEmbyPathReplacementsRequest" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/UpdateEmbyPathReplacementsRequest" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/UpdateEmbyPathReplacementsRequest" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/UpdateEmbyPathReplacementsRequest" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/emby/library-preferences": { + "put": { + "tags": [ + "Emby" + ], + "summary": "Update Emby library preferences", + "operationId": "UpdateEmbyLibraryPreferences", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/UpdateEmbyLibraryPreferencesRequest" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/UpdateEmbyLibraryPreferencesRequest" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/UpdateEmbyLibraryPreferencesRequest" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/UpdateEmbyLibraryPreferencesRequest" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/emby/secrets": { + "get": { + "tags": [ + "Emby" + ], + "summary": "Get Emby secrets", + "operationId": "GetEmbySecrets", + "responses": { + "200": { + "description": "OK", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/EmbySecrets" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/EmbySecrets" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/EmbySecrets" + } + } + } + } + } + } + }, + "/api/ffmpeg/profiles": { + "get": { + "tags": [ + "FFmpeg" + ], + "summary": "Get all FFmpeg profiles", + "operationId": "GetFFmpegProfiles", + "responses": { + "200": { + "description": "OK", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + } + } + } + } + } + }, + "/api/ffmpeg/profiles/{id}": { + "get": { + "tags": [ + "FFmpeg" + ], + "summary": "Get FFmpeg profile by ID", + "operationId": "GetFFmpegProfileById", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Int32" + } + } + ], + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/ffmpeg/profiles/new": { + "post": { + "tags": [ + "FFmpeg" + ], + "summary": "Create FFmpeg profile", + "operationId": "CreateFFmpegProfile", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/CreateFFmpegProfile" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreateFFmpegProfile" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/CreateFFmpegProfile" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/CreateFFmpegProfile" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/ffmpeg/profiles/update": { + "put": { + "tags": [ + "FFmpeg" + ], + "summary": "Update FFmpeg profile", + "operationId": "UpdateFFmpegProfile", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/UpdateFFmpegProfile" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/UpdateFFmpegProfile" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/UpdateFFmpegProfile" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/UpdateFFmpegProfile" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/ffmpeg/delete/{id}": { + "delete": { + "tags": [ + "FFmpeg" + ], + "summary": "Delete FFmpeg profile", + "operationId": "DeleteFFmpegProfile", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Int32" + } + } + ], + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/ffmpeg/profiles/{id}/copy": { + "post": { + "tags": [ + "FFmpeg" + ], + "summary": "Copy FFmpeg profile", + "operationId": "CopyFFmpegProfile", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Int32" + } + } + ], + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/CopyFFmpegProfileRequest" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/CopyFFmpegProfileRequest" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/CopyFFmpegProfileRequest" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/CopyFFmpegProfileRequest" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/ffmpeg/settings": { + "get": { + "tags": [ + "FFmpeg" + ], + "summary": "Get FFmpeg settings", + "operationId": "GetFFmpegSettings", + "responses": { + "200": { + "description": "OK", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/FFmpegSettingsViewModel" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/FFmpegSettingsViewModel" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/FFmpegSettingsViewModel" + } + } + } + } + } + }, + "put": { + "tags": [ + "FFmpeg" + ], + "summary": "Update FFmpeg settings", + "operationId": "UpdateFFmpegSettings", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/FFmpegSettingsViewModel" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/FFmpegSettingsViewModel" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/FFmpegSettingsViewModel" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/FFmpegSettingsViewModel" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/filler/presets": { + "get": { + "tags": [ + "Filler" + ], + "summary": "Get all filler presets (paginated)", + "operationId": "GetFillerPresets", + "parameters": [ + { + "name": "pageNumber", + "in": "query", + "schema": { + "$ref": "#/components/schemas/Int32" + } + }, + { + "name": "pageSize", + "in": "query", + "schema": { + "$ref": "#/components/schemas/Int32" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/PagedFillerPresetsViewModel" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/PagedFillerPresetsViewModel" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/PagedFillerPresetsViewModel" + } + } + } + } + } + }, + "post": { + "tags": [ + "Filler" + ], + "summary": "Create a filler preset", + "operationId": "CreateFillerPreset", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/CreateFillerPresetRequest" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreateFillerPresetRequest" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/CreateFillerPresetRequest" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/CreateFillerPresetRequest" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/filler/presets/all": { + "get": { + "tags": [ + "Filler" + ], + "summary": "Get all filler presets", + "operationId": "GetAllFillerPresets", + "responses": { + "200": { + "description": "OK", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + } + } + } + } + } + }, + "/api/filler/presets/{id}": { + "get": { + "tags": [ + "Filler" + ], + "summary": "Get filler preset by ID", + "operationId": "GetFillerPresetById", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Int32" + } + } + ], + "responses": { + "200": { + "description": "OK" + } + } + }, + "put": { + "tags": [ + "Filler" + ], + "summary": "Update a filler preset", + "operationId": "UpdateFillerPreset", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Int32" + } + } + ], + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/UpdateFillerPresetRequest" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/UpdateFillerPresetRequest" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/UpdateFillerPresetRequest" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/UpdateFillerPresetRequest" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK" + } + } + }, + "delete": { + "tags": [ + "Filler" + ], + "summary": "Delete a filler preset", + "operationId": "DeleteFillerPreset", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Int32" + } + } + ], + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/jellyfin/sources": { + "get": { + "tags": [ + "Jellyfin" + ], + "summary": "Get all Jellyfin media sources", + "operationId": "GetJellyfinMediaSources", + "responses": { + "200": { + "description": "OK", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + } + } + } + } + } + }, + "/api/jellyfin/sources/{id}": { + "get": { + "tags": [ + "Jellyfin" + ], + "summary": "Get Jellyfin media source by ID", + "operationId": "GetJellyfinMediaSourceById", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Int32" + } + } + ], + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/jellyfin/sources/{id}/libraries": { + "get": { + "tags": [ + "Jellyfin" + ], + "summary": "Get Jellyfin libraries by source", + "operationId": "GetJellyfinLibraries", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Int32" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + } + } + } + } + } + }, + "/api/jellyfin/sources/{id}/path-replacements": { + "get": { + "tags": [ + "Jellyfin" + ], + "summary": "Get Jellyfin path replacements by source", + "operationId": "GetJellyfinPathReplacements", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Int32" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + } + } + } + } + }, + "put": { + "tags": [ + "Jellyfin" + ], + "summary": "Update Jellyfin path replacements", + "operationId": "UpdateJellyfinPathReplacements", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Int32" + } + } + ], + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/UpdateJellyfinPathReplacementsRequest" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/UpdateJellyfinPathReplacementsRequest" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/UpdateJellyfinPathReplacementsRequest" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/UpdateJellyfinPathReplacementsRequest" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/jellyfin/library-preferences": { + "put": { + "tags": [ + "Jellyfin" + ], + "summary": "Update Jellyfin library preferences", + "operationId": "UpdateJellyfinLibraryPreferences", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/UpdateJellyfinLibraryPreferencesRequest" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/UpdateJellyfinLibraryPreferencesRequest" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/UpdateJellyfinLibraryPreferencesRequest" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/UpdateJellyfinLibraryPreferencesRequest" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/jellyfin/secrets": { + "get": { + "tags": [ + "Jellyfin" + ], + "summary": "Get Jellyfin secrets", + "operationId": "GetJellyfinSecrets", + "responses": { + "200": { + "description": "OK", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/JellyfinSecrets" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/JellyfinSecrets" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/JellyfinSecrets" + } + } + } + } + } + } + }, + "/api/libraries": { + "get": { + "tags": [ + "Libraries" + ], + "summary": "Get all configured libraries", + "operationId": "GetAllLibraries", + "responses": { + "200": { + "description": "OK", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + } + } + } + } + } + }, + "/api/libraries/local": { + "get": { + "tags": [ + "Libraries" + ], + "summary": "Get all local libraries", + "operationId": "GetLocalLibraries", + "responses": { + "200": { + "description": "OK", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + } + } + } + } + }, + "post": { + "tags": [ + "Libraries" + ], + "summary": "Create a local library", + "operationId": "CreateLocalLibrary", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/CreateLocalLibraryRequest" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreateLocalLibraryRequest" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/CreateLocalLibraryRequest" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/CreateLocalLibraryRequest" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/libraries/local/{id}": { + "get": { + "tags": [ + "Libraries" + ], + "summary": "Get local library by ID", + "operationId": "GetLocalLibraryById", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Int32" + } + } + ], + "responses": { + "200": { + "description": "OK" + } + } + }, + "put": { + "tags": [ + "Libraries" + ], + "summary": "Update a local library", + "operationId": "UpdateLocalLibrary", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Int32" + } + } + ], + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/UpdateLocalLibraryRequest" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/UpdateLocalLibraryRequest" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/UpdateLocalLibraryRequest" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/UpdateLocalLibraryRequest" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK" + } + } + }, + "delete": { + "tags": [ + "Libraries" + ], + "summary": "Delete a local library", + "operationId": "DeleteLocalLibrary", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Int32" + } + } + ], + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/libraries/local/{id}/paths": { + "get": { + "tags": [ + "Libraries" + ], + "summary": "Get local library paths", + "operationId": "GetLocalLibraryPaths", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Int32" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + } + } + } + } + } + }, + "/api/libraries/{id}/scan": { + "post": { + "tags": [ + "Libraries" + ], + "summary": "Scan library", + "operationId": "ScanLibrary", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Int32" + } + } + ], + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/libraries/{id}/scan-show": { + "post": { + "tags": [ + "Libraries" + ], + "summary": "Scan show", + "operationId": "ScanShow", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Int32" + } + } + ], + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/ScanShowRequest" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/ScanShowRequest" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/ScanShowRequest" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/ScanShowRequest" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/libraries/external-collections": { + "get": { + "tags": [ + "Libraries" + ], + "summary": "Get external collections", + "operationId": "GetExternalCollections", + "responses": { + "200": { + "description": "OK", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + } + } + } + } + } + }, + "/api/maintenance/gc": { + "post": { + "tags": [ + "Maintenance" + ], + "summary": "Garbage collect", + "operationId": "GarbageCollection", + "parameters": [ + { + "name": "force", + "in": "query", + "schema": { + "$ref": "#/components/schemas/Boolean" + } + } + ], + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/maintenance/empty-trash": { + "post": { + "tags": [ + "Maintenance" + ], + "summary": "Empty trash", + "operationId": "EmptyTrash", + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/maintenance/delete-orphaned-artwork": { + "post": { + "tags": [ + "Maintenance" + ], + "summary": "Delete orphaned artwork", + "operationId": "DeleteOrphanedArtwork", + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/maintenance/delete-orphaned-subtitles": { + "post": { + "tags": [ + "Maintenance" + ], + "summary": "Delete orphaned subtitles", + "operationId": "DeleteOrphanedSubtitles", + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/media/movies/{id}": { + "get": { + "tags": [ + "Media" + ], + "summary": "Get movie by ID", + "operationId": "GetMovieById", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Int32" + } + } + ], + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/media/shows/{id}": { + "get": { + "tags": [ + "Media" + ], + "summary": "Get TV show by ID", + "operationId": "GetShowById", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Int32" + } + } + ], + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/media/shows/{id}/seasons": { + "get": { + "tags": [ + "Media" + ], + "summary": "Get seasons for a TV show", + "operationId": "GetShowSeasons", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Int32" + } + }, + { + "name": "pageNumber", + "in": "query", + "schema": { + "$ref": "#/components/schemas/Int32" + } + }, + { + "name": "pageSize", + "in": "query", + "schema": { + "$ref": "#/components/schemas/Int32" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/TelevisionSeasonCardResultsViewModel" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/TelevisionSeasonCardResultsViewModel" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/TelevisionSeasonCardResultsViewModel" + } + } + } + } + } + } + }, + "/api/media/seasons/{id}": { + "get": { + "tags": [ + "Media" + ], + "summary": "Get season by ID", + "operationId": "GetSeasonById", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Int32" + } + } + ], + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/media/seasons/{id}/episodes": { + "get": { + "tags": [ + "Media" + ], + "summary": "Get episodes for a season", + "operationId": "GetSeasonEpisodes", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Int32" + } + }, + { + "name": "pageNumber", + "in": "query", + "schema": { + "$ref": "#/components/schemas/Int32" + } + }, + { + "name": "pageSize", + "in": "query", + "schema": { + "$ref": "#/components/schemas/Int32" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/TelevisionEpisodeCardResultsViewModel" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/TelevisionEpisodeCardResultsViewModel" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/TelevisionEpisodeCardResultsViewModel" + } + } + } + } + } + } + }, + "/api/media/artists/{id}": { + "get": { + "tags": [ + "Media" + ], + "summary": "Get artist by ID", + "operationId": "GetArtistById", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Int32" + } + } + ], + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/playlists/groups": { + "get": { + "tags": [ + "Playlists" + ], + "summary": "Get all playlist groups", + "operationId": "GetPlaylistGroups", + "responses": { + "200": { + "description": "OK", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + } + } + } + } + }, + "post": { + "tags": [ + "Playlists" + ], + "summary": "Create a playlist group", + "operationId": "CreatePlaylistGroup", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/CreatePlaylistGroupRequest" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreatePlaylistGroupRequest" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/CreatePlaylistGroupRequest" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/CreatePlaylistGroupRequest" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/playlists/groups/{id}": { + "delete": { + "tags": [ + "Playlists" + ], + "summary": "Delete a playlist group", + "operationId": "DeletePlaylistGroup", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Int32" + } + } + ], + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/playlists/groups/{groupId}/playlists": { + "get": { + "tags": [ + "Playlists" + ], + "summary": "Get playlists by group", + "operationId": "GetPlaylistsByGroup", + "parameters": [ + { + "name": "groupId", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Int32" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + } + } + } + } + } + }, + "/api/playlists/tree": { + "get": { + "tags": [ + "Playlists" + ], + "summary": "Get playlist tree", + "operationId": "GetPlaylistTree", + "responses": { + "200": { + "description": "OK", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/TreeViewModel" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/TreeViewModel" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/TreeViewModel" + } + } + } + } + } + } + }, + "/api/playlists/{id}": { + "get": { + "tags": [ + "Playlists" + ], + "summary": "Get playlist by ID", + "operationId": "GetPlaylistById", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Int32" + } + } + ], + "responses": { + "200": { + "description": "OK" + } + } + }, + "delete": { + "tags": [ + "Playlists" + ], + "summary": "Delete a playlist", + "operationId": "DeletePlaylist", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Int32" + } + } + ], + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/playlists/{id}/items": { + "get": { + "tags": [ + "Playlists" + ], + "summary": "Get playlist items", + "operationId": "GetPlaylistItems", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Int32" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + } + } + } + } + }, + "put": { + "tags": [ + "Playlists" + ], + "summary": "Replace playlist items", + "operationId": "ReplacePlaylistItems", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Int32" + } + } + ], + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/ReplacePlaylistItemsRequest" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/ReplacePlaylistItemsRequest" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/ReplacePlaylistItemsRequest" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/ReplacePlaylistItemsRequest" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/playlists": { + "post": { + "tags": [ + "Playlists" + ], + "summary": "Create a playlist", + "operationId": "CreatePlaylistApi", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/CreatePlaylistRequest" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreatePlaylistRequest" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/CreatePlaylistRequest" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/CreatePlaylistRequest" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/playouts": { + "get": { + "tags": [ + "Playouts" + ], + "summary": "Get all playouts (paginated)", + "operationId": "GetAllPlayouts", + "parameters": [ + { + "name": "query", + "in": "query", + "schema": { + "$ref": "#/components/schemas/String" + } + }, + { + "name": "pageNumber", + "in": "query", + "schema": { + "$ref": "#/components/schemas/Int32" + } + }, + { + "name": "pageSize", + "in": "query", + "schema": { + "$ref": "#/components/schemas/Int32" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/PagedPlayoutsViewModel" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/PagedPlayoutsViewModel" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/PagedPlayoutsViewModel" + } + } + } + } + } + } + }, + "/api/playouts/block": { + "get": { + "tags": [ + "Playouts" + ], + "summary": "Get all block playouts", + "operationId": "GetBlockPlayouts", + "responses": { + "200": { + "description": "OK", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + } + } + } + } + }, + "post": { + "tags": [ + "Playouts" + ], + "summary": "Create a block playout", + "operationId": "CreateBlockPlayout", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/CreateBlockPlayoutRequest" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreateBlockPlayoutRequest" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/CreateBlockPlayoutRequest" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/CreateBlockPlayoutRequest" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/playouts/{id}": { + "get": { + "tags": [ + "Playouts" + ], + "summary": "Get playout by ID", + "operationId": "GetPlayoutById", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Int32" + } + } + ], + "responses": { + "200": { + "description": "OK" + } + } + }, + "delete": { + "tags": [ + "Playouts" + ], + "summary": "Delete a playout", + "operationId": "DeletePlayout", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Int32" + } + } + ], + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/playouts/{id}/items": { + "get": { + "tags": [ + "Playouts" + ], + "summary": "Get playout items", + "operationId": "GetPlayoutItems", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Int32" + } + }, + { + "name": "showFiller", + "in": "query", + "schema": { + "$ref": "#/components/schemas/Boolean" + } + }, + { + "name": "pageNumber", + "in": "query", + "schema": { + "$ref": "#/components/schemas/Int32" + } + }, + { + "name": "pageSize", + "in": "query", + "schema": { + "$ref": "#/components/schemas/Int32" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/PagedPlayoutItemsViewModel" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/PagedPlayoutItemsViewModel" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/PagedPlayoutItemsViewModel" + } + } + } + } + } + } + }, + "/api/playouts/classic": { + "post": { + "tags": [ + "Playouts" + ], + "summary": "Create a classic playout", + "operationId": "CreateClassicPlayout", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/CreateClassicPlayoutRequest" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreateClassicPlayoutRequest" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/CreateClassicPlayoutRequest" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/CreateClassicPlayoutRequest" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/playouts/sequential": { + "post": { + "tags": [ + "Playouts" + ], + "summary": "Create a sequential playout", + "operationId": "CreateSequentialPlayout", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/CreateSequentialPlayoutRequest" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreateSequentialPlayoutRequest" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/CreateSequentialPlayoutRequest" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/CreateSequentialPlayoutRequest" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/playouts/scripted": { + "post": { + "tags": [ + "Playouts" + ], + "summary": "Create a scripted playout", + "operationId": "CreateScriptedPlayout", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/CreateScriptedPlayoutRequest" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreateScriptedPlayoutRequest" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/CreateScriptedPlayoutRequest" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/CreateScriptedPlayoutRequest" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/playouts/external-json": { + "post": { + "tags": [ + "Playouts" + ], + "summary": "Create an external JSON playout", + "operationId": "CreateExternalJsonPlayout", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/CreateExternalJsonPlayoutRequest" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreateExternalJsonPlayoutRequest" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/CreateExternalJsonPlayoutRequest" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/CreateExternalJsonPlayoutRequest" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/playouts/{id}/build": { + "post": { + "tags": [ + "Playouts" + ], + "summary": "Build a playout", + "operationId": "BuildPlayout", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Int32" + } + } + ], + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/playouts/{id}/reset": { + "post": { + "tags": [ + "Playouts" + ], + "summary": "Reset a playout", + "operationId": "ResetPlayout", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Int32" + } + } + ], + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/playouts/reset-all": { + "post": { + "tags": [ + "Playouts" + ], + "summary": "Reset all playouts", + "operationId": "ResetAllPlayouts", + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/playouts/warnings/count": { + "get": { + "tags": [ + "Playouts" + ], + "summary": "Get playout warnings count", + "operationId": "GetPlayoutWarningsCount", + "responses": { + "200": { + "description": "OK", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/Int32" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/Int32" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/Int32" + } + } + } + } + } + } + }, + "/api/plex/sources": { + "get": { + "tags": [ + "Plex" + ], + "summary": "Get all Plex media sources", + "operationId": "GetPlexMediaSources", + "responses": { + "200": { + "description": "OK", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + } + } + } + } + } + }, + "/api/plex/sources/{id}": { + "get": { + "tags": [ + "Plex" + ], + "summary": "Get Plex media source by ID", + "operationId": "GetPlexMediaSourceById", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Int32" + } + } + ], + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/plex/sources/{id}/libraries": { + "get": { + "tags": [ + "Plex" + ], + "summary": "Get Plex libraries by source", + "operationId": "GetPlexLibraries", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Int32" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + } + } + } + } + } + }, + "/api/plex/sources/{id}/path-replacements": { + "get": { + "tags": [ + "Plex" + ], + "summary": "Get Plex path replacements by source", + "operationId": "GetPlexPathReplacements", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Int32" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + } + } + } + } + }, + "put": { + "tags": [ + "Plex" + ], + "summary": "Update Plex path replacements", + "operationId": "UpdatePlexPathReplacements", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Int32" + } + } + ], + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/UpdatePlexPathReplacementsRequest" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/UpdatePlexPathReplacementsRequest" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/UpdatePlexPathReplacementsRequest" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/UpdatePlexPathReplacementsRequest" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/plex/library-preferences": { + "put": { + "tags": [ + "Plex" + ], + "summary": "Update Plex library preferences", + "operationId": "UpdatePlexLibraryPreferences", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/UpdatePlexLibraryPreferencesRequest" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/UpdatePlexLibraryPreferencesRequest" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/UpdatePlexLibraryPreferencesRequest" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/UpdatePlexLibraryPreferencesRequest" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/resolutions": { + "get": { + "tags": [ + "Resolutions" + ], + "summary": "Get all resolutions", + "operationId": "GetAllResolutions", + "responses": { + "200": { + "description": "OK", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + } + } + } + } + }, + "post": { + "tags": [ + "Resolutions" + ], + "summary": "Create a custom resolution", + "operationId": "CreateCustomResolution", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/CreateCustomResolutionRequest" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreateCustomResolutionRequest" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/CreateCustomResolutionRequest" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/CreateCustomResolutionRequest" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/resolutions/by-name/{name}": { + "get": { + "tags": [ + "Resolutions" + ], + "summary": "Get resolution by name", + "operationId": "GetResolutionByName", + "parameters": [ + { + "name": "name", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/String" + } + } + ], + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/resolutions/{id}": { + "delete": { + "tags": [ + "Resolutions" + ], + "summary": "Delete a custom resolution", + "operationId": "DeleteCustomResolution", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Int32" + } + } + ], + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/schedules": { + "get": { + "tags": [ + "Schedules" + ], + "summary": "Get all schedules (paginated)", + "operationId": "GetAllSchedules", + "parameters": [ + { + "name": "query", + "in": "query", + "schema": { + "$ref": "#/components/schemas/String" + } + }, + { + "name": "pageNumber", + "in": "query", + "schema": { + "$ref": "#/components/schemas/Int32" + } + }, + { + "name": "pageSize", + "in": "query", + "schema": { + "$ref": "#/components/schemas/Int32" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/PagedProgramSchedulesViewModel" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/PagedProgramSchedulesViewModel" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/PagedProgramSchedulesViewModel" + } + } + } + } + } + }, + "post": { + "tags": [ + "Schedules" + ], + "summary": "Create a schedule", + "operationId": "CreateSchedule", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/CreateScheduleRequest" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreateScheduleRequest" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/CreateScheduleRequest" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/CreateScheduleRequest" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/schedules/all": { + "get": { + "tags": [ + "Schedules" + ], + "summary": "Get all schedules", + "operationId": "GetAllSchedulesList", + "responses": { + "200": { + "description": "OK", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + } + } + } + } + } + }, + "/api/schedules/{id}": { + "get": { + "tags": [ + "Schedules" + ], + "summary": "Get schedule by ID", + "operationId": "GetScheduleById", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Int32" + } + } + ], + "responses": { + "200": { + "description": "OK" + } + } + }, + "delete": { + "tags": [ + "Schedules" + ], + "summary": "Delete a schedule", + "operationId": "DeleteSchedule", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Int32" + } + } + ], + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/schedules/{id}/items": { + "get": { + "tags": [ + "Schedules" + ], + "summary": "Get schedule items", + "operationId": "GetScheduleItems", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Int32" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + } + } + } + } + } + }, + "/api/schedules/{id}/copy": { + "post": { + "tags": [ + "Schedules" + ], + "summary": "Copy a schedule", + "operationId": "CopySchedule", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Int32" + } + } + ], + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/CopyScheduleRequest" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/CopyScheduleRequest" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/CopyScheduleRequest" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/CopyScheduleRequest" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/scripted/playout/build/{buildId}/context": { + "get": { + "tags": [ + "Scripted Metadata" + ], + "summary": "Get the current context", + "operationId": "GetContext", + "parameters": [ + { + "name": "buildId", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Guid" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/PlayoutContext" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/PlayoutContext" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/PlayoutContext" + } + } + } + } + } + } + }, + "/api/scripted/playout/build/{buildId}/add_collection": { + "post": { + "tags": [ + "Scripted Content" + ], + "summary": "Add a collection", + "operationId": "AddCollection", + "parameters": [ + { + "name": "buildId", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Guid" + } + } + ], + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/ContentCollection" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/ContentCollection" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/ContentCollection" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/ContentCollection" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/scripted/playout/build/{buildId}/add_marathon": { + "post": { + "tags": [ + "Scripted Content" + ], + "summary": "Add a marathon", + "operationId": "AddMarathon", + "parameters": [ + { + "name": "buildId", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Guid" + } + } + ], + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/ContentMarathon" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/ContentMarathon" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/ContentMarathon" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/ContentMarathon" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/scripted/playout/build/{buildId}/add_multi_collection": { + "post": { + "tags": [ + "Scripted Content" + ], + "summary": "Add a multi-collection", + "operationId": "AddMultiCollection", + "parameters": [ + { + "name": "buildId", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Guid" + } + } + ], + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/ContentMultiCollection" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/ContentMultiCollection" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/ContentMultiCollection" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/ContentMultiCollection" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/scripted/playout/build/{buildId}/add_playlist": { + "post": { + "tags": [ + "Scripted Content" + ], + "summary": "Add a playlist", + "operationId": "AddPlaylist", + "parameters": [ + { + "name": "buildId", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Guid" + } + } + ], + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/ContentPlaylist" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/ContentPlaylist" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/ContentPlaylist" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/ContentPlaylist" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/scripted/playout/build/{buildId}/create_playlist": { + "post": { + "tags": [ + "Scripted Content" + ], + "summary": "Create a playlist", + "operationId": "CreatePlaylist", + "parameters": [ + { + "name": "buildId", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Guid" + } + } + ], + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/ContentCreatePlaylist" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/ContentCreatePlaylist" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/ContentCreatePlaylist" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/ContentCreatePlaylist" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/scripted/playout/build/{buildId}/add_search": { + "post": { + "tags": [ + "Scripted Content" + ], + "summary": "Add a search query", + "operationId": "AddSearch", + "parameters": [ + { + "name": "buildId", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Guid" + } + } + ], + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/ContentSearch" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/ContentSearch" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/ContentSearch" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/ContentSearch" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/scripted/playout/build/{buildId}/add_smart_collection": { + "post": { + "tags": [ + "Scripted Content" + ], + "summary": "Add a smart collection", + "operationId": "AddSmartCollection", + "parameters": [ + { + "name": "buildId", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Guid" + } + } + ], + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/ContentSmartCollection" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/ContentSmartCollection" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/ContentSmartCollection" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/ContentSmartCollection" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/scripted/playout/build/{buildId}/add_show": { + "post": { + "tags": [ + "Scripted Content" + ], + "summary": "Add a show", + "operationId": "AddShow", + "parameters": [ + { + "name": "buildId", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Guid" + } + } + ], + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/ContentShow" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/ContentShow" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/ContentShow" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/ContentShow" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/scripted/playout/build/{buildId}/add_all": { + "post": { + "tags": [ + "Scripted Scheduling" + ], + "summary": "Add all content", + "operationId": "AddAll", + "parameters": [ + { + "name": "buildId", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Guid" + } + } + ], + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/ContentAll" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/ContentAll" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/ContentAll" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/ContentAll" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/PlayoutContext" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/PlayoutContext" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/PlayoutContext" + } + } + } + } + } + } + }, + "/api/scripted/playout/build/{buildId}/add_count": { + "post": { + "tags": [ + "Scripted Scheduling" + ], + "summary": "Add a specific number of content items", + "operationId": "AddCount", + "parameters": [ + { + "name": "buildId", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Guid" + } + } + ], + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/PlayoutCount" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/PlayoutCount" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/PlayoutCount" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/PlayoutCount" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/PlayoutContext" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/PlayoutContext" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/PlayoutContext" + } + } + } + } + } + } + }, + "/api/scripted/playout/build/{buildId}/add_duration": { + "post": { + "tags": [ + "Scripted Scheduling" + ], + "summary": "Add content for a specific duration", + "operationId": "AddDuration", + "parameters": [ + { + "name": "buildId", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Guid" + } + } + ], + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/PlayoutDuration" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/PlayoutDuration" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/PlayoutDuration" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/PlayoutDuration" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/PlayoutContext" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/PlayoutContext" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/PlayoutContext" + } + } + } + } + } + } + }, + "/api/scripted/playout/build/{buildId}/pad_to_next": { + "post": { + "tags": [ + "Scripted Scheduling" + ], + "summary": "Add content until a specific minutes interval", + "operationId": "PadToNext", + "parameters": [ + { + "name": "buildId", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Guid" + } + } + ], + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/PlayoutPadToNext" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/PlayoutPadToNext" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/PlayoutPadToNext" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/PlayoutPadToNext" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/PlayoutContext" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/PlayoutContext" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/PlayoutContext" + } + } + } + } + } + } + }, + "/api/scripted/playout/build/{buildId}/pad_until": { + "post": { + "tags": [ + "Scripted Scheduling" + ], + "summary": "Add content until a specified time of day", + "operationId": "PadUntil", + "parameters": [ + { + "name": "buildId", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Guid" + } + } + ], + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/PlayoutPadUntil" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/PlayoutPadUntil" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/PlayoutPadUntil" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/PlayoutPadUntil" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/PlayoutContext" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/PlayoutContext" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/PlayoutContext" + } + } + } + } + } + } + }, + "/api/scripted/playout/build/{buildId}/pad_until_exact": { + "post": { + "tags": [ + "Scripted Scheduling" + ], + "summary": "Add content until an exact time", + "operationId": "PadUntilExact", + "parameters": [ + { + "name": "buildId", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Guid" + } + } + ], + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/PlayoutPadUntilExact" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/PlayoutPadUntilExact" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/PlayoutPadUntilExact" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/PlayoutPadUntilExact" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/PlayoutContext" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/PlayoutContext" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/PlayoutContext" + } + } + } + } + } + } + }, + "/api/scripted/playout/build/{buildId}/peek_next/{content}": { + "get": { + "tags": [ + "Scripted Scheduling" + ], + "summary": "Peek the next content item", + "operationId": "PeekNext", + "parameters": [ + { + "name": "buildId", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Guid" + } + }, + { + "name": "content", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/String" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/PeekItemDuration" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/PeekItemDuration" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/PeekItemDuration" + } + } + } + } + } + } + }, + "/api/scripted/playout/build/{buildId}/start_epg_group": { + "post": { + "tags": [ + "Scripted Control" + ], + "summary": "Start an EPG group", + "operationId": "StartEpgGroup", + "parameters": [ + { + "name": "buildId", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Guid" + } + } + ], + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/ControlStartEpgGroup" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/ControlStartEpgGroup" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/ControlStartEpgGroup" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/ControlStartEpgGroup" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/scripted/playout/build/{buildId}/stop_epg_group": { + "post": { + "tags": [ + "Scripted Control" + ], + "summary": "Finish an EPG group", + "operationId": "StopEpgGroup", + "parameters": [ + { + "name": "buildId", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Guid" + } + } + ], + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/scripted/playout/build/{buildId}/graphics_on": { + "post": { + "tags": [ + "Scripted Control" + ], + "summary": "Turn on graphics elements", + "operationId": "GraphicsOn", + "parameters": [ + { + "name": "buildId", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Guid" + } + } + ], + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/ControlGraphicsOn" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/ControlGraphicsOn" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/ControlGraphicsOn" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/ControlGraphicsOn" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/scripted/playout/build/{buildId}/graphics_off": { + "post": { + "tags": [ + "Scripted Control" + ], + "summary": "Turn off graphics elements", + "operationId": "GraphicsOff", + "parameters": [ + { + "name": "buildId", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Guid" + } + } + ], + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/ControlGraphicsOff" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/ControlGraphicsOff" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/ControlGraphicsOff" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/ControlGraphicsOff" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/scripted/playout/build/{buildId}/watermark_on": { + "post": { + "tags": [ + "Scripted Control" + ], + "summary": "Turn on watermarks", + "operationId": "WatermarkOn", + "parameters": [ + { + "name": "buildId", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Guid" + } + } + ], + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/ControlWatermarkOn" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/ControlWatermarkOn" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/ControlWatermarkOn" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/ControlWatermarkOn" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/scripted/playout/build/{buildId}/watermark_off": { + "post": { + "tags": [ + "Scripted Control" + ], + "summary": "Turn off watermarks", + "operationId": "WatermarkOff", + "parameters": [ + { + "name": "buildId", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Guid" + } + } + ], + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/ControlWatermarkOff" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/ControlWatermarkOff" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/ControlWatermarkOff" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/ControlWatermarkOff" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/scripted/playout/build/{buildId}/pre_roll_on": { + "post": { + "tags": [ + "Scripted Control" + ], + "summary": "Turn on pre-roll playlist", + "operationId": "PreRollOn", + "parameters": [ + { + "name": "buildId", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Guid" + } + } + ], + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/ControlPreRollOn" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/ControlPreRollOn" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/ControlPreRollOn" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/ControlPreRollOn" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/scripted/playout/build/{buildId}/pre_roll_off": { + "post": { + "tags": [ + "Scripted Control" + ], + "summary": "Turn off pre-roll playlist", + "operationId": "PreRollOff", + "parameters": [ + { + "name": "buildId", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Guid" + } + } + ], + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/scripted/playout/build/{buildId}/skip_items": { + "post": { + "tags": [ + "Scripted Control" + ], + "summary": "Skip a specific number of items", + "operationId": "SkipItems", + "parameters": [ + { + "name": "buildId", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Guid" + } + } + ], + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/ControlSkipItems" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/ControlSkipItems" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/ControlSkipItems" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/ControlSkipItems" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/scripted/playout/build/{buildId}/skip_to_item": { + "post": { + "tags": [ + "Scripted Control" + ], + "summary": "Skip to a specific episode", + "operationId": "SkipToItem", + "parameters": [ + { + "name": "buildId", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Guid" + } + } + ], + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/ControlSkipToItem" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/ControlSkipToItem" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/ControlSkipToItem" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/ControlSkipToItem" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/scripted/playout/build/{buildId}/wait_until_exact": { + "post": { + "tags": [ + "Scripted Control" + ], + "summary": "Wait until an exact time", + "operationId": "WaitUntilExact", + "parameters": [ + { + "name": "buildId", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Guid" + } + } + ], + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/ControlWaitUntilExact" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/ControlWaitUntilExact" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/ControlWaitUntilExact" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/ControlWaitUntilExact" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/PlayoutContext" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/PlayoutContext" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/PlayoutContext" + } + } + } + } + } + } + }, + "/api/scripted/playout/build/{buildId}/wait_until": { + "post": { + "tags": [ + "Scripted Control" + ], + "summary": "Wait until the specified time of day", + "operationId": "WaitUntil", + "parameters": [ + { + "name": "buildId", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Guid" + } + } + ], + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/ControlWaitUntil" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/ControlWaitUntil" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/ControlWaitUntil" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/ControlWaitUntil" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/PlayoutContext" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/PlayoutContext" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/PlayoutContext" + } + } + } + } + } + } + }, + "/api/search": { + "get": { + "tags": [ + "Search" + ], + "summary": "Search all media types", + "operationId": "SearchAll", + "parameters": [ + { + "name": "query", + "in": "query", + "schema": { + "$ref": "#/components/schemas/String" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/SearchResultAllItemsViewModel" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/SearchResultAllItemsViewModel" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/SearchResultAllItemsViewModel" + } + } + } + } + } + } + }, + "/api/search/movies": { + "get": { + "tags": [ + "Search" + ], + "summary": "Search movies", + "operationId": "SearchMovies", + "parameters": [ + { + "name": "query", + "in": "query", + "schema": { + "$ref": "#/components/schemas/String" + } + }, + { + "name": "pageNumber", + "in": "query", + "schema": { + "$ref": "#/components/schemas/Int32" + } + }, + { + "name": "pageSize", + "in": "query", + "schema": { + "$ref": "#/components/schemas/Int32" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/MovieCardResultsViewModel" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/MovieCardResultsViewModel" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/MovieCardResultsViewModel" + } + } + } + } + } + } + }, + "/api/search/shows": { + "get": { + "tags": [ + "Search" + ], + "summary": "Search TV shows", + "operationId": "SearchShows", + "parameters": [ + { + "name": "query", + "in": "query", + "schema": { + "$ref": "#/components/schemas/String" + } + }, + { + "name": "pageNumber", + "in": "query", + "schema": { + "$ref": "#/components/schemas/Int32" + } + }, + { + "name": "pageSize", + "in": "query", + "schema": { + "$ref": "#/components/schemas/Int32" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/TelevisionShowCardResultsViewModel" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/TelevisionShowCardResultsViewModel" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/TelevisionShowCardResultsViewModel" + } + } + } + } + } + } + }, + "/api/search/episodes": { + "get": { + "tags": [ + "Search" + ], + "summary": "Search episodes", + "operationId": "SearchEpisodes", + "parameters": [ + { + "name": "query", + "in": "query", + "schema": { + "$ref": "#/components/schemas/String" + } + }, + { + "name": "pageNumber", + "in": "query", + "schema": { + "$ref": "#/components/schemas/Int32" + } + }, + { + "name": "pageSize", + "in": "query", + "schema": { + "$ref": "#/components/schemas/Int32" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/TelevisionEpisodeCardResultsViewModel" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/TelevisionEpisodeCardResultsViewModel" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/TelevisionEpisodeCardResultsViewModel" + } + } + } + } + } + } + }, + "/api/search/artists": { + "get": { + "tags": [ + "Search" + ], + "summary": "Search artists", + "operationId": "SearchArtists", + "parameters": [ + { + "name": "query", + "in": "query", + "schema": { + "$ref": "#/components/schemas/String" + } + }, + { + "name": "pageNumber", + "in": "query", + "schema": { + "$ref": "#/components/schemas/Int32" + } + }, + { + "name": "pageSize", + "in": "query", + "schema": { + "$ref": "#/components/schemas/Int32" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/ArtistCardResultsViewModel" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/ArtistCardResultsViewModel" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/ArtistCardResultsViewModel" + } + } + } + } + } + } + }, + "/api/search/music-videos": { + "get": { + "tags": [ + "Search" + ], + "summary": "Search music videos", + "operationId": "SearchMusicVideos", + "parameters": [ + { + "name": "query", + "in": "query", + "schema": { + "$ref": "#/components/schemas/String" + } + }, + { + "name": "pageNumber", + "in": "query", + "schema": { + "$ref": "#/components/schemas/Int32" + } + }, + { + "name": "pageSize", + "in": "query", + "schema": { + "$ref": "#/components/schemas/Int32" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/MusicVideoCardResultsViewModel" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/MusicVideoCardResultsViewModel" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/MusicVideoCardResultsViewModel" + } + } + } + } + } + } + }, + "/api/search/songs": { + "get": { + "tags": [ + "Search" + ], + "summary": "Search songs", + "operationId": "SearchSongs", + "parameters": [ + { + "name": "query", + "in": "query", + "schema": { + "$ref": "#/components/schemas/String" + } + }, + { + "name": "pageNumber", + "in": "query", + "schema": { + "$ref": "#/components/schemas/Int32" + } + }, + { + "name": "pageSize", + "in": "query", + "schema": { + "$ref": "#/components/schemas/Int32" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/SongCardResultsViewModel" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/SongCardResultsViewModel" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/SongCardResultsViewModel" + } + } + } + } + } + } + }, + "/api/search/images": { + "get": { + "tags": [ + "Search" + ], + "summary": "Search images", + "operationId": "SearchImages", + "parameters": [ + { + "name": "query", + "in": "query", + "schema": { + "$ref": "#/components/schemas/String" + } + }, + { + "name": "pageNumber", + "in": "query", + "schema": { + "$ref": "#/components/schemas/Int32" + } + }, + { + "name": "pageSize", + "in": "query", + "schema": { + "$ref": "#/components/schemas/Int32" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/ImageCardResultsViewModel" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/ImageCardResultsViewModel" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/ImageCardResultsViewModel" + } + } + } + } + } + } + }, + "/api/search/rebuild": { + "post": { + "tags": [ + "Search" + ], + "summary": "Rebuild search index", + "operationId": "RebuildSearchIndex", + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/sessions": { + "get": { + "tags": [ + "Sessions" + ], + "summary": "Get sessions", + "responses": { + "200": { + "description": "OK", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + } + } + } + } + } + }, + "/api/session/{channelNumber}": { + "delete": { + "tags": [ + "Sessions" + ], + "summary": "Stop session", + "parameters": [ + { + "name": "channelNumber", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/String" + } + } + ], + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/collections/smart": { + "get": { + "tags": [ + "SmartCollection" + ], + "operationId": "GetSmartCollections", + "responses": { + "200": { + "description": "OK", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + } + } + } + } + } + }, + "/api/collections/smart/new": { + "post": { + "tags": [ + "SmartCollection" + ], + "operationId": "CreateSmartCollection", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/CreateSmartCollection" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreateSmartCollection" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/CreateSmartCollection" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/CreateSmartCollection" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/collections/smart/update": { + "put": { + "tags": [ + "SmartCollection" + ], + "operationId": "UpdateSmartCollection", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/UpdateSmartCollection" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/UpdateSmartCollection" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/UpdateSmartCollection" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/UpdateSmartCollection" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/collections/smart/delete/{id}": { + "delete": { + "tags": [ + "SmartCollection" + ], + "operationId": "DeleteSmartCollection", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Int32" + } + } + ], + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/templates/groups": { + "get": { + "tags": [ + "Templates" + ], + "summary": "Get all template groups", + "operationId": "GetTemplateGroups", + "responses": { + "200": { + "description": "OK", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + } + } + } + } + }, + "post": { + "tags": [ + "Templates" + ], + "summary": "Create a template group", + "operationId": "CreateTemplateGroup", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/CreateTemplateGroupRequest" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreateTemplateGroupRequest" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/CreateTemplateGroupRequest" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/CreateTemplateGroupRequest" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/templates/groups/{id}": { + "delete": { + "tags": [ + "Templates" + ], + "summary": "Delete a template group", + "operationId": "DeleteTemplateGroup", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Int32" + } + } + ], + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/templates/groups/{groupId}/templates": { + "get": { + "tags": [ + "Templates" + ], + "summary": "Get templates by group", + "operationId": "GetTemplatesByGroup", + "parameters": [ + { + "name": "groupId", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Int32" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + } + } + } + } + } + }, + "/api/templates": { + "get": { + "tags": [ + "Templates" + ], + "summary": "Get all templates", + "operationId": "GetAllTemplates", + "responses": { + "200": { + "description": "OK", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + } + } + } + } + }, + "post": { + "tags": [ + "Templates" + ], + "summary": "Create a template", + "operationId": "CreateTemplate", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/CreateTemplateRequest" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreateTemplateRequest" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/CreateTemplateRequest" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/CreateTemplateRequest" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/templates/{id}": { + "get": { + "tags": [ + "Templates" + ], + "summary": "Get template by ID", + "operationId": "GetTemplateById", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Int32" + } + } + ], + "responses": { + "200": { + "description": "OK" + } + } + }, + "delete": { + "tags": [ + "Templates" + ], + "summary": "Delete a template", + "operationId": "DeleteTemplate", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Int32" + } + } + ], + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/templates/{id}/items": { + "get": { + "tags": [ + "Templates" + ], + "summary": "Get template items", + "operationId": "GetTemplateItems", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Int32" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + } + } + } + } + }, + "put": { + "tags": [ + "Templates" + ], + "summary": "Replace template items", + "operationId": "ReplaceTemplateItems", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Int32" + } + } + ], + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/ReplaceTemplateItemsRequest" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/ReplaceTemplateItemsRequest" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/ReplaceTemplateItemsRequest" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/ReplaceTemplateItemsRequest" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/templates/{id}/copy": { + "post": { + "tags": [ + "Templates" + ], + "summary": "Copy a template", + "operationId": "CopyTemplate", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Int32" + } + } + ], + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/CopyTemplateRequest" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/CopyTemplateRequest" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/CopyTemplateRequest" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/CopyTemplateRequest" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/trakt/lists": { + "get": { + "tags": [ + "Trakt" + ], + "summary": "Get all Trakt lists (paginated)", + "operationId": "GetTraktLists", + "parameters": [ + { + "name": "pageNumber", + "in": "query", + "schema": { + "$ref": "#/components/schemas/Int32" + } + }, + { + "name": "pageSize", + "in": "query", + "schema": { + "$ref": "#/components/schemas/Int32" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/PagedTraktListsViewModel" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/PagedTraktListsViewModel" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/PagedTraktListsViewModel" + } + } + } + } + } + } + }, + "/api/trakt/lists/{id}": { + "get": { + "tags": [ + "Trakt" + ], + "summary": "Get Trakt list by ID", + "operationId": "GetTraktListById", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Int32" + } + } + ], + "responses": { + "200": { + "description": "OK" + } + } + }, + "put": { + "tags": [ + "Trakt" + ], + "summary": "Update a Trakt list", + "operationId": "UpdateTraktList", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Int32" + } + } + ], + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/UpdateTraktListRequest" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/UpdateTraktListRequest" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/UpdateTraktListRequest" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/UpdateTraktListRequest" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK" + } + } + }, + "delete": { + "tags": [ + "Trakt" + ], + "summary": "Delete a Trakt list", + "operationId": "DeleteTraktList", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Int32" + } + } + ], + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/trakt/lists/{id}/match": { + "post": { + "tags": [ + "Trakt" + ], + "summary": "Match Trakt list items", + "operationId": "MatchTraktListItems", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Int32" + } + } + ], + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/version": { + "get": { + "tags": [ + "Version" + ], + "summary": "Get version", + "operationId": "GetVersion", + "responses": { + "200": { + "description": "OK", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/CombinedVersion" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/CombinedVersion" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/CombinedVersion" + } + } + } + } + } + } + }, + "/api/watermarks": { + "get": { + "tags": [ + "Watermarks" + ], + "summary": "Get all watermarks", + "operationId": "GetAllWatermarks", + "responses": { + "200": { + "description": "OK", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/List`1" + } + } + } + } + } + }, + "post": { + "tags": [ + "Watermarks" + ], + "summary": "Create a watermark", + "operationId": "CreateWatermark", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/CreateWatermarkRequest" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreateWatermarkRequest" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/CreateWatermarkRequest" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/CreateWatermarkRequest" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/watermarks/{id}": { + "get": { + "tags": [ + "Watermarks" + ], + "summary": "Get watermark by ID", + "operationId": "GetWatermarkById", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Int32" + } + } + ], + "responses": { + "200": { + "description": "OK" + } + } + }, + "put": { + "tags": [ + "Watermarks" + ], + "summary": "Update a watermark", + "operationId": "UpdateWatermark", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Int32" + } + } + ], + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/UpdateWatermarkRequest" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/UpdateWatermarkRequest" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/UpdateWatermarkRequest" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/UpdateWatermarkRequest" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK" + } + } + }, + "delete": { + "tags": [ + "Watermarks" + ], + "summary": "Delete a watermark", + "operationId": "DeleteWatermark", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Int32" + } + } + ], + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/api/watermarks/{id}/copy": { + "post": { + "tags": [ + "Watermarks" + ], + "summary": "Copy a watermark", + "operationId": "CopyWatermark", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/Int32" + } + } + ], + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/CopyWatermarkRequest" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/CopyWatermarkRequest" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/CopyWatermarkRequest" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/CopyWatermarkRequest" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK" + } + } + } + } + }, + "components": { + "schemas": { + "AddItemsToCollectionRequest": { + "required": [ + "movieIds", + "showIds", + "seasonIds", + "episodeIds", + "artistIds", + "musicVideoIds", + "otherVideoIds", + "songIds", + "imageIds", + "remoteStreamIds" + ], + "type": "object", + "properties": { + "movieIds": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/List`1" + } + ] + }, + "showIds": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/List`1" + } + ] + }, + "seasonIds": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/List`1" + } + ] + }, + "episodeIds": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/List`1" + } + ] + }, + "artistIds": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/List`1" + } + ] + }, + "musicVideoIds": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/List`1" + } + ] + }, + "otherVideoIds": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/List`1" + } + ] + }, + "songIds": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/List`1" + } + ] + }, + "imageIds": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/List`1" + } + ] + }, + "remoteStreamIds": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/List`1" + } + ] + } + } + }, + "ArtistCardResultsViewModel": { + "required": [ + "count", + "cards", + "pageMap" + ], + "type": "object", + "properties": { + "count": { + "$ref": "#/components/schemas/Int32" + }, + "cards": { + "$ref": "#/components/schemas/List`1" + }, + "pageMap": { + "$ref": "#/components/schemas/SearchPageMap" + } + } + }, + "ArtistCardViewModel": { + "required": [ + "artistId", + "title", + "subtitle", + "sortTitle", + "poster", + "state" + ], + "type": "object", + "properties": { + "artistId": { + "$ref": "#/components/schemas/Int32" + }, + "mediaItemId": { + "$ref": "#/components/schemas/Int32" + }, + "title": { + "$ref": "#/components/schemas/String" + }, + "subtitle": { + "$ref": "#/components/schemas/String" + }, + "sortTitle": { + "$ref": "#/components/schemas/String" + }, + "poster": { + "$ref": "#/components/schemas/String" + }, + "state": { + "$ref": "#/components/schemas/MediaItemState" + }, + "hasMediaInfo": { + "$ref": "#/components/schemas/Boolean" + } + } + }, + "Artwork": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/Int32" + }, + "path": { + "$ref": "#/components/schemas/String" + }, + "sourcePath": { + "$ref": "#/components/schemas/String" + }, + "blurHash43": { + "$ref": "#/components/schemas/String" + }, + "blurHash54": { + "$ref": "#/components/schemas/String" + }, + "blurHash64": { + "$ref": "#/components/schemas/String" + }, + "originalContentType": { + "$ref": "#/components/schemas/String" + }, + "artworkKind": { + "$ref": "#/components/schemas/ArtworkKind" + }, + "dateAdded": { + "$ref": "#/components/schemas/DateTime" + }, + "dateUpdated": { + "$ref": "#/components/schemas/DateTime" + } + } + }, + "ArtworkContentTypeModel": { + "required": [ + "path", + "contentType" + ], + "type": "object", + "properties": { + "path": { + "$ref": "#/components/schemas/String" + }, + "contentType": { + "$ref": "#/components/schemas/String" + }, + "isExternalUrl": { + "$ref": "#/components/schemas/Boolean" + }, + "hasContentType": { + "$ref": "#/components/schemas/Boolean" + }, + "urlWithContentType": { + "$ref": "#/components/schemas/String" + } + } + }, + "ArtworkKind": { + "type": "integer" + }, + "Block": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/Int32" + }, + "blockGroupId": { + "$ref": "#/components/schemas/Int32" + }, + "blockGroup": { + "$ref": "#/components/schemas/BlockGroup" + }, + "name": { + "$ref": "#/components/schemas/String" + }, + "minutes": { + "$ref": "#/components/schemas/Int32" + }, + "stopScheduling": { + "$ref": "#/components/schemas/BlockStopScheduling" + }, + "items": { + "$ref": "#/components/schemas/ICollection`1" + }, + "templateItems": { + "$ref": "#/components/schemas/ICollection`1" + }, + "playoutHistory": { + "$ref": "#/components/schemas/ICollection`1" + }, + "dateUpdated": { + "$ref": "#/components/schemas/DateTime" + } + } + }, + "BlockGroup": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/Int32" + }, + "name": { + "$ref": "#/components/schemas/String" + }, + "blocks": { + "$ref": "#/components/schemas/ICollection`1" + } + } + }, + "BlockGroupViewModel": { + "required": [ + "id", + "name" + ], + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/Int32" + }, + "name": { + "$ref": "#/components/schemas/String" + } + } + }, + "BlockItem": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/Int32" + }, + "index": { + "$ref": "#/components/schemas/Int32" + }, + "blockId": { + "$ref": "#/components/schemas/Int32" + }, + "block": { + "$ref": "#/components/schemas/Block" + }, + "collectionType": { + "$ref": "#/components/schemas/CollectionType" + }, + "collectionId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "collection": { + "$ref": "#/components/schemas/Collection" + }, + "mediaItemId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "mediaItem": { + "$ref": "#/components/schemas/MediaItem" + }, + "multiCollectionId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "multiCollection": { + "$ref": "#/components/schemas/MultiCollection" + }, + "smartCollectionId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "smartCollection": { + "$ref": "#/components/schemas/SmartCollection" + }, + "searchTitle": { + "$ref": "#/components/schemas/String" + }, + "searchQuery": { + "$ref": "#/components/schemas/String" + }, + "playbackOrder": { + "$ref": "#/components/schemas/PlaybackOrder" + }, + "includeInProgramGuide": { + "$ref": "#/components/schemas/Boolean" + }, + "disableWatermarks": { + "$ref": "#/components/schemas/Boolean" + }, + "watermarks": { + "$ref": "#/components/schemas/List`1" + }, + "blockItemWatermarks": { + "$ref": "#/components/schemas/List`1" + }, + "graphicsElements": { + "$ref": "#/components/schemas/List`1" + }, + "blockItemGraphicsElements": { + "$ref": "#/components/schemas/List`1" + } + } + }, + "BlockItemApiResponse": { + "required": [ + "id", + "index", + "collectionType", + "collection", + "multiCollection", + "smartCollection", + "mediaItem", + "searchTitle", + "searchQuery", + "playbackOrder", + "includeInProgramGuide", + "disableWatermarks", + "watermarks", + "graphicsElements" + ], + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/Int32" + }, + "index": { + "$ref": "#/components/schemas/Int32" + }, + "collectionType": { + "$ref": "#/components/schemas/CollectionType" + }, + "collection": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/CollectionApiResponse" + } + ] + }, + "multiCollection": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/MultiCollectionApiResponse" + } + ] + }, + "smartCollection": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/SmartCollectionApiResponse" + } + ] + }, + "mediaItem": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/MediaItemApiResponse" + } + ] + }, + "searchTitle": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/String" + } + ] + }, + "searchQuery": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/String" + } + ] + }, + "playbackOrder": { + "$ref": "#/components/schemas/PlaybackOrder" + }, + "includeInProgramGuide": { + "$ref": "#/components/schemas/Boolean" + }, + "disableWatermarks": { + "$ref": "#/components/schemas/Boolean" + }, + "watermarks": { + "$ref": "#/components/schemas/List`1" + }, + "graphicsElements": { + "$ref": "#/components/schemas/List`1" + } + } + }, + "BlockItemGraphicsElement": { + "type": "object", + "properties": { + "blockItemId": { + "$ref": "#/components/schemas/Int32" + }, + "blockItem": { + "$ref": "#/components/schemas/BlockItem" + }, + "graphicsElementId": { + "$ref": "#/components/schemas/Int32" + }, + "graphicsElement": { + "$ref": "#/components/schemas/GraphicsElement" + } + } + }, + "BlockItemWatermark": { + "type": "object", + "properties": { + "blockItemId": { + "$ref": "#/components/schemas/Int32" + }, + "blockItem": { + "$ref": "#/components/schemas/BlockItem" + }, + "watermarkId": { + "$ref": "#/components/schemas/Int32" + }, + "watermark": { + "$ref": "#/components/schemas/ChannelWatermark" + } + } + }, + "BlockStopScheduling": { + "type": "integer" + }, + "BlockViewModel": { + "required": [ + "id", + "groupId", + "groupName", + "name", + "minutes", + "stopScheduling" + ], + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/Int32" + }, + "groupId": { + "$ref": "#/components/schemas/Int32" + }, + "groupName": { + "$ref": "#/components/schemas/String" + }, + "name": { + "$ref": "#/components/schemas/String" + }, + "minutes": { + "$ref": "#/components/schemas/Int32" + }, + "stopScheduling": { + "$ref": "#/components/schemas/BlockStopScheduling" + } + } + }, + "Boolean": { + "type": "boolean" + }, + "Channel": { + "required": [ + "uniqueId" + ], + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/Int32" + }, + "uniqueId": { + "$ref": "#/components/schemas/Guid" + }, + "number": { + "$ref": "#/components/schemas/String" + }, + "sortNumber": { + "$ref": "#/components/schemas/Double" + }, + "name": { + "$ref": "#/components/schemas/String" + }, + "group": { + "$ref": "#/components/schemas/String" + }, + "categories": { + "$ref": "#/components/schemas/String" + }, + "fFmpegProfileId": { + "$ref": "#/components/schemas/Int32" + }, + "fFmpegProfile": { + "$ref": "#/components/schemas/FFmpegProfile" + }, + "watermarkId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "watermark": { + "$ref": "#/components/schemas/ChannelWatermark" + }, + "fallbackFillerId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "fallbackFiller": { + "$ref": "#/components/schemas/FillerPreset" + }, + "streamingMode": { + "$ref": "#/components/schemas/StreamingMode" + }, + "playouts": { + "$ref": "#/components/schemas/List`1" + }, + "artwork": { + "$ref": "#/components/schemas/List`1" + }, + "streamSelectorMode": { + "$ref": "#/components/schemas/ChannelStreamSelectorMode" + }, + "streamSelector": { + "$ref": "#/components/schemas/String" + }, + "preferredAudioLanguageCode": { + "$ref": "#/components/schemas/String" + }, + "preferredAudioTitle": { + "$ref": "#/components/schemas/String" + }, + "preferredSubtitleLanguageCode": { + "$ref": "#/components/schemas/String" + }, + "subtitleMode": { + "$ref": "#/components/schemas/ChannelSubtitleMode" + }, + "musicVideoCreditsMode": { + "$ref": "#/components/schemas/ChannelMusicVideoCreditsMode" + }, + "musicVideoCreditsTemplate": { + "$ref": "#/components/schemas/String" + }, + "songVideoMode": { + "$ref": "#/components/schemas/ChannelSongVideoMode" + }, + "playoutSource": { + "$ref": "#/components/schemas/ChannelPlayoutSource" + }, + "playoutMode": { + "$ref": "#/components/schemas/ChannelPlayoutMode" + }, + "mirrorSourceChannelId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "mirrorSourceChannel": { + "$ref": "#/components/schemas/Channel" + }, + "playoutOffset": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "transcodeMode": { + "$ref": "#/components/schemas/ChannelTranscodeMode" + }, + "idleBehavior": { + "$ref": "#/components/schemas/ChannelIdleBehavior" + }, + "isEnabled": { + "$ref": "#/components/schemas/Boolean" + }, + "showInEpg": { + "$ref": "#/components/schemas/Boolean" + }, + "webEncodedName": { + "$ref": "#/components/schemas/String" + } + } + }, + "ChannelIdleBehavior": { + "type": "integer" + }, + "ChannelMusicVideoCreditsMode": { + "type": "integer" + }, + "ChannelPlayoutMode": { + "type": "integer" + }, + "ChannelPlayoutSource": { + "type": "integer" + }, "ChannelResponseModel": { "required": [ "id", - "number", + "number", + "name", + "fFmpegProfile", + "language", + "streamingMode" + ], + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/Int32" + }, + "number": { + "$ref": "#/components/schemas/String" + }, + "name": { + "$ref": "#/components/schemas/String" + }, + "fFmpegProfile": { + "$ref": "#/components/schemas/String" + }, + "language": { + "$ref": "#/components/schemas/String" + }, + "streamingMode": { + "$ref": "#/components/schemas/String" + } + } + }, + "ChannelSongVideoMode": { + "type": "integer" + }, + "ChannelStreamSelectorMode": { + "type": "integer" + }, + "ChannelSubtitleMode": { + "type": "integer" + }, + "ChannelTranscodeMode": { + "type": "integer" + }, + "ChannelWatermark": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/Int32" + }, + "name": { + "$ref": "#/components/schemas/String" + }, + "mode": { + "$ref": "#/components/schemas/ChannelWatermarkMode" + }, + "imageSource": { + "$ref": "#/components/schemas/ChannelWatermarkImageSource" + }, + "image": { + "$ref": "#/components/schemas/String" + }, + "originalContentType": { + "$ref": "#/components/schemas/String" + }, + "location": { + "$ref": "#/components/schemas/WatermarkLocation" + }, + "size": { + "$ref": "#/components/schemas/WatermarkSize" + }, + "widthPercent": { + "$ref": "#/components/schemas/Double" + }, + "horizontalMarginPercent": { + "$ref": "#/components/schemas/Double" + }, + "verticalMarginPercent": { + "$ref": "#/components/schemas/Double" + }, + "frequencyMinutes": { + "$ref": "#/components/schemas/Int32" + }, + "durationSeconds": { + "$ref": "#/components/schemas/Int32" + }, + "opacity": { + "$ref": "#/components/schemas/Int32" + }, + "placeWithinSourceContent": { + "$ref": "#/components/schemas/Boolean" + }, + "opacityExpression": { + "$ref": "#/components/schemas/String" + }, + "playoutItems": { + "$ref": "#/components/schemas/List`1" + }, + "playoutItemWatermarks": { + "$ref": "#/components/schemas/List`1" + }, + "programScheduleItems": { + "$ref": "#/components/schemas/List`1" + }, + "programScheduleItemWatermarks": { + "$ref": "#/components/schemas/List`1" + }, + "blockItems": { + "$ref": "#/components/schemas/List`1" + }, + "blockItemWatermarks": { + "$ref": "#/components/schemas/List`1" + }, + "decos": { + "$ref": "#/components/schemas/List`1" + }, + "decoWatermarks": { + "$ref": "#/components/schemas/List`1" + }, + "zIndex": { + "$ref": "#/components/schemas/Int32" + } + } + }, + "ChannelWatermarkImageSource": { + "type": "integer" + }, + "ChannelWatermarkMode": { + "type": "integer" + }, + "Collection": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/Int32" + }, + "name": { + "$ref": "#/components/schemas/String" + }, + "useCustomPlaybackOrder": { + "$ref": "#/components/schemas/Boolean" + }, + "mediaItems": { + "$ref": "#/components/schemas/List`1" + }, + "collectionItems": { + "$ref": "#/components/schemas/List`1" + }, + "multiCollections": { + "$ref": "#/components/schemas/List`1" + }, + "multiCollectionItems": { + "$ref": "#/components/schemas/List`1" + } + } + }, + "CollectionApiResponse": { + "required": [ + "id", + "name", + "collectionType", + "useCustomPlaybackOrder", + "state" + ], + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/Int32" + }, + "name": { + "$ref": "#/components/schemas/String" + }, + "collectionType": { + "$ref": "#/components/schemas/CollectionType" + }, + "useCustomPlaybackOrder": { + "$ref": "#/components/schemas/Boolean" + }, + "state": { + "$ref": "#/components/schemas/MediaItemState" + } + } + }, + "CollectionEnumeratorState": { + "type": "object", + "properties": { + "seed": { + "$ref": "#/components/schemas/Int32" + }, + "index": { + "$ref": "#/components/schemas/Int32" + } + } + }, + "CollectionItem": { + "type": "object", + "properties": { + "collectionId": { + "$ref": "#/components/schemas/Int32" + }, + "collection": { + "$ref": "#/components/schemas/Collection" + }, + "mediaItemId": { + "$ref": "#/components/schemas/Int32" + }, + "mediaItem": { + "$ref": "#/components/schemas/MediaItem" + }, + "customIndex": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + } + } + }, + "CollectionType": { + "type": "integer" + }, + "CombinedVersion": { + "required": [ + "apiVersion", + "appVersion" + ], + "type": "object", + "properties": { + "apiVersion": { + "$ref": "#/components/schemas/Int32" + }, + "appVersion": { + "$ref": "#/components/schemas/String" + } + } + }, + "ContentAll": { + "required": [ + "content" + ], + "type": "object", + "properties": { + "content": { + "description": "The 'key' for the content that should be added", + "$ref": "#/components/schemas/String" + }, + "fillerKind": { + "oneOf": [ + { + "type": "null" + }, + { + "description": "Flags this content as filler, which influences EPG grouping", + "$ref": "#/components/schemas/String" + } + ] + }, + "customTitle": { + "oneOf": [ + { + "type": "null" + }, + { + "description": "Overrides the title used in the EPG", + "$ref": "#/components/schemas/String" + } + ] + }, + "disableWatermarks": { + "$ref": "#/components/schemas/Boolean" + } + } + }, + "ContentCollection": { + "required": [ + "key", + "collection" + ], + "type": "object", + "properties": { + "key": { + "description": "Unique name used to reference this content throughout the scripted schedule", + "$ref": "#/components/schemas/String" + }, + "collection": { + "description": "The name of the existing manual collection", + "$ref": "#/components/schemas/String" + }, + "order": { + "description": "The playback order; only chronological and shuffle are currently supported", + "$ref": "#/components/schemas/String" + } + } + }, + "ContentCreatePlaylist": { + "required": [ + "key", + "items" + ], + "type": "object", + "properties": { + "key": { + "description": "Unique name used to reference this content throughout the scripted schedule", + "$ref": "#/components/schemas/String" + }, + "items": { + "description": "List of playlist items", + "$ref": "#/components/schemas/List`1" + } + } + }, + "ContentMarathon": { + "required": [ + "key", + "groupBy" + ], + "type": "object", + "properties": { + "key": { + "description": "Unique name used to reference this content throughout the scripted schedule", + "$ref": "#/components/schemas/String" + }, + "groupBy": { + "description": "Tells the scheduler how to group the combined content (returned from all guids and searches). Valid values are show, season, artist and album.", + "$ref": "#/components/schemas/String" + }, + "itemOrder": { + "description": "Playback order within each group; only chronological and shuffle are currently supported", + "$ref": "#/components/schemas/String" + }, + "guids": { + "description": "List of external content identifiers", + "$ref": "#/components/schemas/Dictionary`2" + }, + "searches": { + "description": "List of search queries", + "$ref": "#/components/schemas/List`1" + }, + "playAllItems": { + "description": "When true, will add every item from a group before moving to the next group. When false, will play one item from a group before moving to the next group.", + "$ref": "#/components/schemas/Boolean" + }, + "shuffleGroups": { + "description": "When true, will randomize the order of groups. When false, will cycle through groups in a fixed order.", + "$ref": "#/components/schemas/Boolean" + } + } + }, + "ContentMultiCollection": { + "required": [ + "key", + "multiCollection" + ], + "type": "object", + "properties": { + "key": { + "description": "Unique name used to reference this content throughout the scripted schedule", + "$ref": "#/components/schemas/String" + }, + "multiCollection": { + "description": "The name of the existing multi-collection", + "$ref": "#/components/schemas/String" + }, + "order": { + "description": "The playback order; only chronological and shuffle are currently supported", + "$ref": "#/components/schemas/String" + } + } + }, + "ContentPlaylist": { + "required": [ + "key", + "playlist", + "playlistGroup" + ], + "type": "object", + "properties": { + "key": { + "description": "Unique name used to reference this content throughout the scripted schedule", + "$ref": "#/components/schemas/String" + }, + "playlist": { + "description": "The name of the existing playlist", + "$ref": "#/components/schemas/String" + }, + "playlistGroup": { + "description": "The name of the existing playlist group that contains the named playlist", + "$ref": "#/components/schemas/String" + } + } + }, + "ContentSearch": { + "required": [ + "key", + "query" + ], + "type": "object", + "properties": { + "key": { + "description": "Unique name used to reference this content throughout the scripted schedule", + "$ref": "#/components/schemas/String" + }, + "query": { + "description": "The search query", + "$ref": "#/components/schemas/String" + }, + "order": { + "description": "The playback order; only chronological and shuffle are currently supported", + "$ref": "#/components/schemas/String" + } + } + }, + "ContentShow": { + "required": [ + "key", + "guids" + ], + "type": "object", + "properties": { + "key": { + "description": "Unique name used to reference this content throughout the scripted schedule", + "$ref": "#/components/schemas/String" + }, + "guids": { + "description": "List of show identifiers", + "$ref": "#/components/schemas/Dictionary`2" + }, + "order": { + "description": "The playback order; only chronological and shuffle are currently supported", + "$ref": "#/components/schemas/String" + } + } + }, + "ContentSmartCollection": { + "required": [ + "key", + "smartCollection" + ], + "type": "object", + "properties": { + "key": { + "description": "Unique name used to reference this content throughout the scripted schedule", + "$ref": "#/components/schemas/String" + }, + "smartCollection": { + "description": "The name of the existing smart collection", + "$ref": "#/components/schemas/String" + }, + "order": { + "description": "The playback order; only chronological and shuffle are currently supported", + "$ref": "#/components/schemas/String" + } + } + }, + "ControlGraphicsOff": { + "type": "object", + "properties": { + "graphics": { + "description": "A list of graphics elements to turn off. All graphics elements will be turned off if this list is null or empty", + "$ref": "#/components/schemas/List`1" + } + } + }, + "ControlGraphicsOn": { + "required": [ + "graphics" + ], + "type": "object", + "properties": { + "graphics": { + "description": "A list of graphics elements to turn on.", + "$ref": "#/components/schemas/List`1" + }, + "variables": { + "$ref": "#/components/schemas/Dictionary`2" + } + } + }, + "ControlPreRollOn": { + "required": [ + "playlist" + ], + "type": "object", + "properties": { + "playlist": { + "description": "The 'key' for the scripted playlist", + "$ref": "#/components/schemas/String" + } + } + }, + "ControlSkipItems": { + "required": [ + "content", + "count" + ], + "type": "object", + "properties": { + "content": { + "description": "The 'key' for the content", + "$ref": "#/components/schemas/String" + }, + "count": { + "description": "The number of items to skip", + "$ref": "#/components/schemas/Int32" + } + } + }, + "ControlSkipToItem": { + "required": [ + "content", + "season", + "episode" + ], + "type": "object", + "properties": { + "content": { + "description": "The 'key' for the content", + "$ref": "#/components/schemas/String" + }, + "season": { + "description": "The season number", + "$ref": "#/components/schemas/Int32" + }, + "episode": { + "description": "The episode number", + "$ref": "#/components/schemas/Int32" + } + } + }, + "ControlStartEpgGroup": { + "type": "object", + "properties": { + "advance": { + "description": "When true, will make a new EPG group. When false, will continue the existing EPG group.", + "$ref": "#/components/schemas/Boolean" + }, + "customTitle": { + "oneOf": [ + { + "type": "null" + }, + { + "description": "Custom title to apply to all items in the EPG group.", + "$ref": "#/components/schemas/String" + } + ] + } + } + }, + "ControlWaitUntil": { + "required": [ + "when" + ], + "type": "object", + "properties": { + "when": { + "description": "The time of day to wait (insert unscheduled time) until", + "$ref": "#/components/schemas/String" + }, + "tomorrow": { + "description": "When true, will wait until the specified time tomorrow if it has already passed today.", + "$ref": "#/components/schemas/Boolean" + }, + "rewindOnReset": { + "description": "When true, the current time of the playout build is allowed to move backward when the playout is reset.", + "$ref": "#/components/schemas/Boolean" + } + } + }, + "ControlWaitUntilExact": { + "required": [ + "when" + ], + "type": "object", + "properties": { + "when": { + "description": "The time to wait (insert unscheduled time) until", + "$ref": "#/components/schemas/DateTimeOffset" + }, + "rewindOnReset": { + "description": "When true, the current time of the playout build is allowed to move backward when the playout is reset.", + "$ref": "#/components/schemas/Boolean" + } + } + }, + "ControlWatermarkOff": { + "type": "object", + "properties": { + "watermark": { + "description": "A list of existing watermark names to turn off. All (scripted) watermarks will be turned off if this list is null or empty.", + "$ref": "#/components/schemas/List`1" + } + } + }, + "ControlWatermarkOn": { + "required": [ + "watermark" + ], + "type": "object", + "properties": { + "watermark": { + "description": "A list of existing watermark names to turn on", + "$ref": "#/components/schemas/List`1" + } + } + }, + "CopyBlockRequest": { + "required": [ + "newBlockGroupId", + "newBlockName" + ], + "type": "object", + "properties": { + "newBlockGroupId": { + "$ref": "#/components/schemas/Int32" + }, + "newBlockName": { + "$ref": "#/components/schemas/String" + } + } + }, + "CopyFFmpegProfileRequest": { + "required": [ + "name" + ], + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/String" + } + } + }, + "CopyScheduleRequest": { + "required": [ + "name" + ], + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/String" + } + } + }, + "CopyTemplateRequest": { + "required": [ + "newTemplateGroupId", + "newTemplateName" + ], + "type": "object", + "properties": { + "newTemplateGroupId": { + "$ref": "#/components/schemas/Int32" + }, + "newTemplateName": { + "$ref": "#/components/schemas/String" + } + } + }, + "CopyWatermarkRequest": { + "required": [ + "name" + ], + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/String" + } + } + }, + "CreateBlockGroupRequest": { + "required": [ + "name" + ], + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/String" + } + } + }, + "CreateBlockPlayoutRequest": { + "required": [ + "channelId" + ], + "type": "object", + "properties": { + "channelId": { + "$ref": "#/components/schemas/Int32" + } + } + }, + "CreateBlockRequest": { + "required": [ + "blockGroupId", + "name" + ], + "type": "object", + "properties": { + "blockGroupId": { + "$ref": "#/components/schemas/Int32" + }, + "name": { + "$ref": "#/components/schemas/String" + } + } + }, + "CreateChannelRequest": { + "required": [ + "name", + "number", + "group", + "categories", + "fFmpegProfileId", + "logoPath", + "logoContentType", + "streamSelectorMode", + "streamSelector", + "preferredAudioLanguageCode", + "preferredAudioTitle", + "playoutSource", + "playoutMode", + "mirrorSourceChannelId", + "playoutOffset", + "streamingMode", + "watermarkId", + "fallbackFillerId", + "preferredSubtitleLanguageCode", + "subtitleMode", + "musicVideoCreditsMode", + "musicVideoCreditsTemplate", + "songVideoMode", + "transcodeMode", + "idleBehavior", + "isEnabled", + "showInEpg" + ], + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/String" + }, + "number": { + "$ref": "#/components/schemas/String" + }, + "group": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/String" + } + ] + }, + "categories": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/String" + } + ] + }, + "fFmpegProfileId": { + "$ref": "#/components/schemas/Int32" + }, + "logoPath": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/String" + } + ] + }, + "logoContentType": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/String" + } + ] + }, + "streamSelectorMode": { + "$ref": "#/components/schemas/ChannelStreamSelectorMode" + }, + "streamSelector": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/String" + } + ] + }, + "preferredAudioLanguageCode": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/String" + } + ] + }, + "preferredAudioTitle": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/String" + } + ] + }, + "playoutSource": { + "$ref": "#/components/schemas/ChannelPlayoutSource" + }, + "playoutMode": { + "$ref": "#/components/schemas/ChannelPlayoutMode" + }, + "mirrorSourceChannelId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "playoutOffset": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "streamingMode": { + "$ref": "#/components/schemas/StreamingMode" + }, + "watermarkId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "fallbackFillerId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "preferredSubtitleLanguageCode": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/String" + } + ] + }, + "subtitleMode": { + "$ref": "#/components/schemas/ChannelSubtitleMode" + }, + "musicVideoCreditsMode": { + "$ref": "#/components/schemas/ChannelMusicVideoCreditsMode" + }, + "musicVideoCreditsTemplate": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/String" + } + ] + }, + "songVideoMode": { + "$ref": "#/components/schemas/ChannelSongVideoMode" + }, + "transcodeMode": { + "$ref": "#/components/schemas/ChannelTranscodeMode" + }, + "idleBehavior": { + "$ref": "#/components/schemas/ChannelIdleBehavior" + }, + "isEnabled": { + "$ref": "#/components/schemas/Boolean" + }, + "showInEpg": { + "$ref": "#/components/schemas/Boolean" + } + } + }, + "CreateClassicPlayoutRequest": { + "required": [ + "channelId", + "programScheduleId" + ], + "type": "object", + "properties": { + "channelId": { + "$ref": "#/components/schemas/Int32" + }, + "programScheduleId": { + "$ref": "#/components/schemas/Int32" + } + } + }, + "CreateCollectionRequest": { + "required": [ + "name" + ], + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/String" + } + } + }, + "CreateCustomResolutionRequest": { + "required": [ + "width", + "height" + ], + "type": "object", + "properties": { + "width": { + "$ref": "#/components/schemas/Int32" + }, + "height": { + "$ref": "#/components/schemas/Int32" + } + } + }, + "CreateDecoGroupRequest": { + "required": [ + "name" + ], + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/String" + } + } + }, + "CreateDecoRequest": { + "required": [ + "decoGroupId", + "name" + ], + "type": "object", + "properties": { + "decoGroupId": { + "$ref": "#/components/schemas/Int32" + }, + "name": { + "$ref": "#/components/schemas/String" + } + } + }, + "CreateDecoTemplateGroupRequest": { + "required": [ + "name" + ], + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/String" + } + } + }, + "CreateDecoTemplateRequest": { + "required": [ + "decoTemplateGroupId", + "name" + ], + "type": "object", + "properties": { + "decoTemplateGroupId": { + "$ref": "#/components/schemas/Int32" + }, + "name": { + "$ref": "#/components/schemas/String" + } + } + }, + "CreateExternalJsonPlayoutRequest": { + "required": [ + "channelId", + "scheduleFile" + ], + "type": "object", + "properties": { + "channelId": { + "$ref": "#/components/schemas/Int32" + }, + "scheduleFile": { + "$ref": "#/components/schemas/String" + } + } + }, + "CreateFFmpegProfile": { + "required": [ + "name", + "threadCount", + "hardwareAcceleration", + "vaapiDisplay", + "vaapiDriver", + "vaapiDevice", + "qsvExtraHardwareFrames", + "resolutionId", + "scalingBehavior", + "videoFormat", + "videoProfile", + "videoPreset", + "allowBFrames", + "bitDepth", + "videoBitrate", + "videoBufferSize", + "tonemapAlgorithm", + "audioFormat", + "audioBitrate", + "audioBufferSize", + "normalizeLoudnessMode", + "targetLoudness", + "audioChannels", + "audioSampleRate", + "normalizeFramerate", + "deinterlaceVideo" + ], + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/String" + }, + "threadCount": { + "$ref": "#/components/schemas/Int32" + }, + "hardwareAcceleration": { + "$ref": "#/components/schemas/HardwareAccelerationKind" + }, + "vaapiDisplay": { + "$ref": "#/components/schemas/String" + }, + "vaapiDriver": { + "$ref": "#/components/schemas/VaapiDriver" + }, + "vaapiDevice": { + "$ref": "#/components/schemas/String" + }, + "qsvExtraHardwareFrames": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "resolutionId": { + "$ref": "#/components/schemas/Int32" + }, + "scalingBehavior": { + "$ref": "#/components/schemas/ScalingBehavior" + }, + "videoFormat": { + "$ref": "#/components/schemas/FFmpegProfileVideoFormat" + }, + "videoProfile": { + "$ref": "#/components/schemas/String" + }, + "videoPreset": { + "$ref": "#/components/schemas/String" + }, + "allowBFrames": { + "$ref": "#/components/schemas/Boolean" + }, + "bitDepth": { + "$ref": "#/components/schemas/FFmpegProfileBitDepth" + }, + "videoBitrate": { + "$ref": "#/components/schemas/Int32" + }, + "videoBufferSize": { + "$ref": "#/components/schemas/Int32" + }, + "tonemapAlgorithm": { + "$ref": "#/components/schemas/FFmpegProfileTonemapAlgorithm" + }, + "audioFormat": { + "$ref": "#/components/schemas/FFmpegProfileAudioFormat" + }, + "audioBitrate": { + "$ref": "#/components/schemas/Int32" + }, + "audioBufferSize": { + "$ref": "#/components/schemas/Int32" + }, + "normalizeLoudnessMode": { + "$ref": "#/components/schemas/NormalizeLoudnessMode" + }, + "targetLoudness": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "audioChannels": { + "$ref": "#/components/schemas/Int32" + }, + "audioSampleRate": { + "$ref": "#/components/schemas/Int32" + }, + "normalizeFramerate": { + "$ref": "#/components/schemas/Boolean" + }, + "deinterlaceVideo": { + "$ref": "#/components/schemas/Boolean" + } + } + }, + "CreateFillerPresetRequest": { + "required": [ + "name", + "fillerKind", + "fillerMode", + "duration", + "count", + "padToNearestMinute", + "allowWatermarks", + "collectionType", + "collectionId", + "mediaItemId", + "multiCollectionId", + "smartCollectionId", + "playlistId", + "expression", + "useChaptersAsMediaItems" + ], + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/String" + }, + "fillerKind": { + "$ref": "#/components/schemas/FillerKind" + }, + "fillerMode": { + "$ref": "#/components/schemas/FillerMode" + }, + "duration": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "count": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "padToNearestMinute": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "allowWatermarks": { + "$ref": "#/components/schemas/Boolean" + }, + "collectionType": { + "$ref": "#/components/schemas/CollectionType" + }, + "collectionId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "mediaItemId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "multiCollectionId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "smartCollectionId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "playlistId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "expression": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/String" + } + ] + }, + "useChaptersAsMediaItems": { + "$ref": "#/components/schemas/Boolean" + } + } + }, + "CreateLocalLibraryRequest": { + "required": [ + "name", + "mediaKind", + "paths" + ], + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/String" + }, + "mediaKind": { + "$ref": "#/components/schemas/LibraryMediaKind" + }, + "paths": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/List`1" + } + ] + } + } + }, + "CreateMultiCollectionItemRequest": { + "required": [ + "collectionId", + "smartCollectionId", + "scheduleAsGroup", + "playbackOrder" + ], + "type": "object", + "properties": { + "collectionId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "smartCollectionId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "scheduleAsGroup": { + "$ref": "#/components/schemas/Boolean" + }, + "playbackOrder": { + "$ref": "#/components/schemas/PlaybackOrder" + } + } + }, + "CreateMultiCollectionRequest": { + "required": [ + "name", + "items" + ], + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/String" + }, + "items": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/List`1" + } + ] + } + } + }, + "CreatePlaylistGroupRequest": { + "required": [ + "name" + ], + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/String" + } + } + }, + "CreatePlaylistRequest": { + "required": [ + "playlistGroupId", + "name" + ], + "type": "object", + "properties": { + "playlistGroupId": { + "$ref": "#/components/schemas/Int32" + }, + "name": { + "$ref": "#/components/schemas/String" + } + } + }, + "CreateScheduleRequest": { + "required": [ + "name", + "keepMultiPartEpisodesTogether", + "treatCollectionsAsShows", + "shuffleScheduleItems", + "randomStartPoint", + "fixedStartTimeBehavior" + ], + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/String" + }, + "keepMultiPartEpisodesTogether": { + "$ref": "#/components/schemas/Boolean" + }, + "treatCollectionsAsShows": { + "$ref": "#/components/schemas/Boolean" + }, + "shuffleScheduleItems": { + "$ref": "#/components/schemas/Boolean" + }, + "randomStartPoint": { + "$ref": "#/components/schemas/Boolean" + }, + "fixedStartTimeBehavior": { + "$ref": "#/components/schemas/FixedStartTimeBehavior" + } + } + }, + "CreateScriptedPlayoutRequest": { + "required": [ + "channelId", + "scheduleFile" + ], + "type": "object", + "properties": { + "channelId": { + "$ref": "#/components/schemas/Int32" + }, + "scheduleFile": { + "$ref": "#/components/schemas/String" + } + } + }, + "CreateSequentialPlayoutRequest": { + "required": [ + "channelId", + "scheduleFile" + ], + "type": "object", + "properties": { + "channelId": { + "$ref": "#/components/schemas/Int32" + }, + "scheduleFile": { + "$ref": "#/components/schemas/String" + } + } + }, + "CreateSmartCollection": { + "required": [ + "query", + "name" + ], + "type": "object", + "properties": { + "query": { + "$ref": "#/components/schemas/String" + }, + "name": { + "$ref": "#/components/schemas/String" + } + } + }, + "CreateTemplateGroupRequest": { + "required": [ + "name" + ], + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/String" + } + } + }, + "CreateTemplateRequest": { + "required": [ + "templateGroupId", + "name" + ], + "type": "object", + "properties": { + "templateGroupId": { + "$ref": "#/components/schemas/Int32" + }, + "name": { + "$ref": "#/components/schemas/String" + } + } + }, + "CreateWatermarkRequest": { + "required": [ + "name", + "imagePath", + "imageContentType", + "mode", + "imageSource", + "location", + "size", + "width", + "horizontalMargin", + "verticalMargin", + "frequencyMinutes", + "durationSeconds", + "opacity", + "placeWithinSourceContent", + "opacityExpression", + "zIndex" + ], + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/String" + }, + "imagePath": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/String" + } + ] + }, + "imageContentType": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/String" + } + ] + }, + "mode": { + "$ref": "#/components/schemas/ChannelWatermarkMode" + }, + "imageSource": { + "$ref": "#/components/schemas/ChannelWatermarkImageSource" + }, + "location": { + "$ref": "#/components/schemas/WatermarkLocation" + }, + "size": { + "$ref": "#/components/schemas/WatermarkSize" + }, + "width": { + "$ref": "#/components/schemas/Double" + }, + "horizontalMargin": { + "$ref": "#/components/schemas/Double" + }, + "verticalMargin": { + "$ref": "#/components/schemas/Double" + }, + "frequencyMinutes": { + "$ref": "#/components/schemas/Int32" + }, + "durationSeconds": { + "$ref": "#/components/schemas/Int32" + }, + "opacity": { + "$ref": "#/components/schemas/Int32" + }, + "placeWithinSourceContent": { + "$ref": "#/components/schemas/Boolean" + }, + "opacityExpression": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/String" + } + ] + }, + "zIndex": { + "$ref": "#/components/schemas/Int32" + } + } + }, + "DateTime": { + "type": "string", + "format": "date-time" + }, + "DateTimeOffset": { + "type": "string", + "format": "date-time" + }, + "DayOfWeek": { + "type": "integer" + }, + "Deco": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/Int32" + }, + "decoGroupId": { + "$ref": "#/components/schemas/Int32" + }, + "decoGroup": { + "$ref": "#/components/schemas/DecoGroup" + }, + "name": { + "$ref": "#/components/schemas/String" + }, + "watermarkMode": { + "$ref": "#/components/schemas/DecoMode" + }, + "watermarks": { + "$ref": "#/components/schemas/List`1" + }, + "decoWatermarks": { + "$ref": "#/components/schemas/List`1" + }, + "useWatermarkDuringFiller": { + "$ref": "#/components/schemas/Boolean" + }, + "graphicsElementsMode": { + "$ref": "#/components/schemas/DecoMode" + }, + "graphicsElements": { + "$ref": "#/components/schemas/List`1" + }, + "decoGraphicsElements": { + "$ref": "#/components/schemas/List`1" + }, + "useGraphicsElementsDuringFiller": { + "$ref": "#/components/schemas/Boolean" + }, + "defaultFillerMode": { + "$ref": "#/components/schemas/DecoMode" + }, + "defaultFillerCollectionType": { + "$ref": "#/components/schemas/CollectionType" + }, + "defaultFillerCollectionId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "defaultFillerCollection": { + "$ref": "#/components/schemas/Collection" + }, + "defaultFillerMediaItemId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "defaultFillerMediaItem": { + "$ref": "#/components/schemas/MediaItem" + }, + "defaultFillerMultiCollectionId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "defaultFillerMultiCollection": { + "$ref": "#/components/schemas/MultiCollection" + }, + "defaultFillerSmartCollectionId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "defaultFillerSmartCollection": { + "$ref": "#/components/schemas/SmartCollection" + }, + "defaultFillerTrimToFit": { + "$ref": "#/components/schemas/Boolean" + }, + "deadAirFallbackMode": { + "$ref": "#/components/schemas/DecoMode" + }, + "deadAirFallbackCollectionType": { + "$ref": "#/components/schemas/CollectionType" + }, + "deadAirFallbackCollectionId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "deadAirFallbackCollection": { + "$ref": "#/components/schemas/Collection" + }, + "deadAirFallbackMediaItemId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "deadAirFallbackMediaItem": { + "$ref": "#/components/schemas/MediaItem" + }, + "deadAirFallbackMultiCollectionId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "deadAirFallbackMultiCollection": { + "$ref": "#/components/schemas/MultiCollection" + }, + "deadAirFallbackSmartCollectionId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "deadAirFallbackSmartCollection": { + "$ref": "#/components/schemas/SmartCollection" + }, + "breakContentMode": { + "$ref": "#/components/schemas/DecoMode" + }, + "breakContent": { + "$ref": "#/components/schemas/List`1" + }, + "playouts": { + "$ref": "#/components/schemas/ICollection`1" + } + } + }, + "DecoApiResponse": { + "required": [ + "id", + "decoGroupId", + "decoGroupName", + "name", + "watermarkMode", + "watermarks", + "useWatermarkDuringFiller", + "graphicsElementsMode", + "graphicsElements", + "useGraphicsElementsDuringFiller", + "breakContentMode", + "breakContent", + "defaultFillerMode", + "defaultFillerCollectionType", + "defaultFillerCollection", + "defaultFillerMediaItem", + "defaultFillerMultiCollection", + "defaultFillerSmartCollection", + "defaultFillerTrimToFit", + "deadAirFallbackMode", + "deadAirFallbackCollectionType", + "deadAirFallbackCollection", + "deadAirFallbackMediaItem", + "deadAirFallbackMultiCollection", + "deadAirFallbackSmartCollection" + ], + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/Int32" + }, + "decoGroupId": { + "$ref": "#/components/schemas/Int32" + }, + "decoGroupName": { + "$ref": "#/components/schemas/String" + }, + "name": { + "$ref": "#/components/schemas/String" + }, + "watermarkMode": { + "$ref": "#/components/schemas/DecoMode" + }, + "watermarks": { + "$ref": "#/components/schemas/List`1" + }, + "useWatermarkDuringFiller": { + "$ref": "#/components/schemas/Boolean" + }, + "graphicsElementsMode": { + "$ref": "#/components/schemas/DecoMode" + }, + "graphicsElements": { + "$ref": "#/components/schemas/List`1" + }, + "useGraphicsElementsDuringFiller": { + "$ref": "#/components/schemas/Boolean" + }, + "breakContentMode": { + "$ref": "#/components/schemas/DecoMode" + }, + "breakContent": { + "$ref": "#/components/schemas/List`1" + }, + "defaultFillerMode": { + "$ref": "#/components/schemas/DecoMode" + }, + "defaultFillerCollectionType": { + "$ref": "#/components/schemas/CollectionType" + }, + "defaultFillerCollection": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/CollectionApiResponse" + } + ] + }, + "defaultFillerMediaItem": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/MediaItemApiResponse" + } + ] + }, + "defaultFillerMultiCollection": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/MultiCollectionApiResponse" + } + ] + }, + "defaultFillerSmartCollection": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/SmartCollectionApiResponse" + } + ] + }, + "defaultFillerTrimToFit": { + "$ref": "#/components/schemas/Boolean" + }, + "deadAirFallbackMode": { + "$ref": "#/components/schemas/DecoMode" + }, + "deadAirFallbackCollectionType": { + "$ref": "#/components/schemas/CollectionType" + }, + "deadAirFallbackCollection": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/CollectionApiResponse" + } + ] + }, + "deadAirFallbackMediaItem": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/MediaItemApiResponse" + } + ] + }, + "deadAirFallbackMultiCollection": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/MultiCollectionApiResponse" + } + ] + }, + "deadAirFallbackSmartCollection": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/SmartCollectionApiResponse" + } + ] + } + } + }, + "DecoBreakContent": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/Int32" + }, + "decoId": { + "$ref": "#/components/schemas/Int32" + }, + "deco": { + "$ref": "#/components/schemas/Deco" + }, + "collectionType": { + "$ref": "#/components/schemas/CollectionType" + }, + "collectionId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "collection": { + "$ref": "#/components/schemas/Collection" + }, + "mediaItemId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "mediaItem": { + "$ref": "#/components/schemas/MediaItem" + }, + "multiCollectionId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "multiCollection": { + "$ref": "#/components/schemas/MultiCollection" + }, + "smartCollectionId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "smartCollection": { + "$ref": "#/components/schemas/SmartCollection" + }, + "playlistId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "playlist": { + "$ref": "#/components/schemas/Playlist" + }, + "placement": { + "$ref": "#/components/schemas/DecoBreakPlacement" + } + } + }, + "DecoBreakContentApiResponse": { + "required": [ + "id", + "collectionType", + "collection", + "mediaItem", + "multiCollection", + "smartCollection", + "playlist", + "placement" + ], + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/Int32" + }, + "collectionType": { + "$ref": "#/components/schemas/CollectionType" + }, + "collection": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/CollectionApiResponse" + } + ] + }, + "mediaItem": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/MediaItemApiResponse" + } + ] + }, + "multiCollection": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/MultiCollectionApiResponse" + } + ] + }, + "smartCollection": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/SmartCollectionApiResponse" + } + ] + }, + "playlist": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/PlaylistApiResponse" + } + ] + }, + "placement": { + "$ref": "#/components/schemas/DecoBreakPlacement" + } + } + }, + "DecoBreakPlacement": { + "type": "integer" + }, + "DecoGraphicsElement": { + "type": "object", + "properties": { + "decoId": { + "$ref": "#/components/schemas/Int32" + }, + "deco": { + "$ref": "#/components/schemas/Deco" + }, + "graphicsElementId": { + "$ref": "#/components/schemas/Int32" + }, + "graphicsElement": { + "$ref": "#/components/schemas/GraphicsElement" + } + } + }, + "DecoGroup": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/Int32" + }, + "name": { + "$ref": "#/components/schemas/String" + }, + "decos": { + "$ref": "#/components/schemas/ICollection`1" + } + } + }, + "DecoGroupViewModel": { + "required": [ + "id", + "name", + "decoCount" + ], + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/Int32" + }, + "name": { + "$ref": "#/components/schemas/String" + }, + "decoCount": { + "$ref": "#/components/schemas/Int32" + } + } + }, + "DecoMode": { + "type": "integer" + }, + "DecoTemplate": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/Int32" + }, + "decoTemplateGroupId": { + "$ref": "#/components/schemas/Int32" + }, + "decoTemplateGroup": { + "$ref": "#/components/schemas/DecoTemplateGroup" + }, + "name": { + "$ref": "#/components/schemas/String" + }, + "items": { + "$ref": "#/components/schemas/ICollection`1" + }, + "playoutTemplates": { + "$ref": "#/components/schemas/ICollection`1" + }, + "dateUpdated": { + "$ref": "#/components/schemas/DateTime" + } + } + }, + "DecoTemplateGroup": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/Int32" + }, + "name": { + "$ref": "#/components/schemas/String" + }, + "decoTemplates": { + "$ref": "#/components/schemas/ICollection`1" + } + } + }, + "DecoTemplateGroupViewModel": { + "required": [ + "id", + "name", + "decoTemplateCount" + ], + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/Int32" + }, + "name": { + "$ref": "#/components/schemas/String" + }, + "decoTemplateCount": { + "$ref": "#/components/schemas/Int32" + } + } + }, + "DecoTemplateItem": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/Int32" + }, + "decoTemplateId": { + "$ref": "#/components/schemas/Int32" + }, + "decoTemplate": { + "$ref": "#/components/schemas/DecoTemplate" + }, + "decoId": { + "$ref": "#/components/schemas/Int32" + }, + "deco": { + "$ref": "#/components/schemas/Deco" + }, + "startTime": { + "$ref": "#/components/schemas/TimeSpan" + }, + "endTime": { + "$ref": "#/components/schemas/TimeSpan" + } + } + }, + "DecoTemplateItemViewModel": { + "required": [ + "decoId", + "decoName", + "startTime", + "endTime" + ], + "type": "object", + "properties": { + "decoId": { + "$ref": "#/components/schemas/Int32" + }, + "decoName": { + "$ref": "#/components/schemas/String" + }, + "startTime": { + "$ref": "#/components/schemas/DateTime" + }, + "endTime": { + "$ref": "#/components/schemas/DateTime" + } + } + }, + "DecoTemplateViewModel": { + "required": [ + "id", + "decoTemplateGroupId", + "groupName", + "name" + ], + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/Int32" + }, + "decoTemplateGroupId": { + "$ref": "#/components/schemas/Int32" + }, + "groupName": { + "$ref": "#/components/schemas/String" + }, + "name": { + "$ref": "#/components/schemas/String" + } + } + }, + "DecoWatermark": { + "type": "object", + "properties": { + "decoId": { + "$ref": "#/components/schemas/Int32" + }, + "deco": { + "$ref": "#/components/schemas/Deco" + }, + "watermarkId": { + "$ref": "#/components/schemas/Int32" + }, + "watermark": { + "$ref": "#/components/schemas/ChannelWatermark" + } + } + }, + "Dictionary`2": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/Int32" + } + }, + "Double": { + "type": "number", + "format": "double" + }, + "EmbyLibraryPreferenceRequest": { + "required": [ + "id", + "shouldSyncItems" + ], + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/Int32" + }, + "shouldSyncItems": { + "$ref": "#/components/schemas/Boolean" + } + } + }, + "EmbyLibraryViewModel": { + "required": [ + "shouldSyncItems", + "id", + "name", + "mediaKind", + "mediaSourceId" + ], + "type": "object", + "properties": { + "shouldSyncItems": { + "$ref": "#/components/schemas/Boolean" + }, + "libraryKind": { + "$ref": "#/components/schemas/String" + }, + "id": { + "$ref": "#/components/schemas/Int32" + }, + "name": { + "$ref": "#/components/schemas/String" + }, + "mediaKind": { + "$ref": "#/components/schemas/LibraryMediaKind" + }, + "mediaSourceId": { + "$ref": "#/components/schemas/Int32" + }, + "mediaSourceName": { + "$ref": "#/components/schemas/String" + } + } + }, + "EmbyMediaSourceViewModel": { + "required": [ + "address", + "id", + "name" + ], + "type": "object", + "properties": { + "address": { + "$ref": "#/components/schemas/String" + }, + "id": { + "$ref": "#/components/schemas/Int32" + }, + "name": { + "$ref": "#/components/schemas/String" + } + } + }, + "EmbyPathReplacementRequest": { + "required": [ + "id", + "embyPath", + "localPath" + ], + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/Int32" + }, + "embyPath": { + "$ref": "#/components/schemas/String" + }, + "localPath": { + "$ref": "#/components/schemas/String" + } + } + }, + "EmbyPathReplacementViewModel": { + "required": [ + "id", + "embyPath", + "localPath" + ], + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/Int32" + }, + "embyPath": { + "$ref": "#/components/schemas/String" + }, + "localPath": { + "$ref": "#/components/schemas/String" + } + } + }, + "EmbySecrets": { + "type": "object", + "properties": { + "address": { + "$ref": "#/components/schemas/String" + }, + "apiKey": { + "$ref": "#/components/schemas/String" + } + } + }, + "FFmpegFullProfileResponseModel": { + "required": [ + "id", + "name", + "threadCount", + "hardwareAcceleration", + "vaapiDisplay", + "vaapiDriver", + "vaapiDevice", + "qsvExtraHardwareFrames", + "resolution", + "scalingBehavior", + "videoFormat", + "videoProfile", + "videoPreset", + "allowBFrames", + "bitDepth", + "videoBitrate", + "videoBufferSize", + "tonemapAlgorithm", + "audioFormat", + "audioBitrate", + "audioBufferSize", + "normalizeLoudnessMode", + "audioChannels", + "audioSampleRate", + "normalizeFramerate", + "deinterlaceVideo" + ], + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/Int32" + }, + "name": { + "$ref": "#/components/schemas/String" + }, + "threadCount": { + "$ref": "#/components/schemas/Int32" + }, + "hardwareAcceleration": { + "$ref": "#/components/schemas/HardwareAccelerationKind" + }, + "vaapiDisplay": { + "$ref": "#/components/schemas/String" + }, + "vaapiDriver": { + "$ref": "#/components/schemas/VaapiDriver" + }, + "vaapiDevice": { + "$ref": "#/components/schemas/String" + }, + "qsvExtraHardwareFrames": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "resolution": { + "$ref": "#/components/schemas/String" + }, + "scalingBehavior": { + "$ref": "#/components/schemas/ScalingBehavior" + }, + "videoFormat": { + "$ref": "#/components/schemas/FFmpegProfileVideoFormat" + }, + "videoProfile": { + "$ref": "#/components/schemas/String" + }, + "videoPreset": { + "$ref": "#/components/schemas/String" + }, + "allowBFrames": { + "$ref": "#/components/schemas/Boolean" + }, + "bitDepth": { + "$ref": "#/components/schemas/FFmpegProfileBitDepth" + }, + "videoBitrate": { + "$ref": "#/components/schemas/Int32" + }, + "videoBufferSize": { + "$ref": "#/components/schemas/Int32" + }, + "tonemapAlgorithm": { + "$ref": "#/components/schemas/FFmpegProfileTonemapAlgorithm" + }, + "audioFormat": { + "$ref": "#/components/schemas/FFmpegProfileAudioFormat" + }, + "audioBitrate": { + "$ref": "#/components/schemas/Int32" + }, + "audioBufferSize": { + "$ref": "#/components/schemas/Int32" + }, + "normalizeLoudnessMode": { + "$ref": "#/components/schemas/NormalizeLoudnessMode" + }, + "audioChannels": { + "$ref": "#/components/schemas/Int32" + }, + "audioSampleRate": { + "$ref": "#/components/schemas/Int32" + }, + "normalizeFramerate": { + "$ref": "#/components/schemas/Boolean" + }, + "deinterlaceVideo": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + } + } + }, + "FFmpegProfile": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/Int32" + }, + "name": { + "$ref": "#/components/schemas/String" + }, + "threadCount": { + "$ref": "#/components/schemas/Int32" + }, + "hardwareAcceleration": { + "$ref": "#/components/schemas/HardwareAccelerationKind" + }, + "vaapiDisplay": { + "$ref": "#/components/schemas/String" + }, + "vaapiDriver": { + "$ref": "#/components/schemas/VaapiDriver" + }, + "vaapiDevice": { + "$ref": "#/components/schemas/String" + }, + "qsvExtraHardwareFrames": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "resolutionId": { + "$ref": "#/components/schemas/Int32" + }, + "resolution": { + "$ref": "#/components/schemas/Resolution" + }, + "scalingBehavior": { + "$ref": "#/components/schemas/ScalingBehavior" + }, + "videoFormat": { + "$ref": "#/components/schemas/FFmpegProfileVideoFormat" + }, + "videoProfile": { + "$ref": "#/components/schemas/String" + }, + "videoPreset": { + "$ref": "#/components/schemas/String" + }, + "allowBFrames": { + "$ref": "#/components/schemas/Boolean" + }, + "bitDepth": { + "$ref": "#/components/schemas/FFmpegProfileBitDepth" + }, + "videoBitrate": { + "$ref": "#/components/schemas/Int32" + }, + "videoBufferSize": { + "$ref": "#/components/schemas/Int32" + }, + "tonemapAlgorithm": { + "$ref": "#/components/schemas/FFmpegProfileTonemapAlgorithm" + }, + "audioFormat": { + "$ref": "#/components/schemas/FFmpegProfileAudioFormat" + }, + "audioBitrate": { + "$ref": "#/components/schemas/Int32" + }, + "audioBufferSize": { + "$ref": "#/components/schemas/Int32" + }, + "normalizeLoudnessMode": { + "$ref": "#/components/schemas/NormalizeLoudnessMode" + }, + "targetLoudness": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "audioChannels": { + "$ref": "#/components/schemas/Int32" + }, + "audioSampleRate": { + "$ref": "#/components/schemas/Int32" + }, + "normalizeFramerate": { + "$ref": "#/components/schemas/Boolean" + }, + "deinterlaceVideo": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + } + } + }, + "FFmpegProfileAudioFormat": { + "enum": [ + "None", + "Aac", + "Ac3", + "AacLatm", + "Copy" + ] + }, + "FFmpegProfileBitDepth": { + "enum": [ + "EightBit", + "TenBit" + ] + }, + "FFmpegProfileTonemapAlgorithm": { + "enum": [ + "Linear", + "Clip", + "Gamma", + "Reinhard", + "Mobius", + "Hable" + ] + }, + "FFmpegProfileVideoFormat": { + "enum": [ + "None", + "H264", + "Hevc", + "Mpeg2Video", + "Av1", + "Copy" + ] + }, + "FFmpegSettingsViewModel": { + "type": "object", + "properties": { + "fFmpegPath": { + "$ref": "#/components/schemas/String" + }, + "fFprobePath": { + "$ref": "#/components/schemas/String" + }, + "defaultFFmpegProfileId": { + "$ref": "#/components/schemas/Int32" + }, + "preferredAudioLanguageCode": { + "$ref": "#/components/schemas/String" + }, + "useEmbeddedSubtitles": { + "$ref": "#/components/schemas/Boolean" + }, + "extractEmbeddedSubtitles": { + "$ref": "#/components/schemas/Boolean" + }, + "probeForInterlacedFrames": { + "$ref": "#/components/schemas/Boolean" + }, + "saveReports": { + "$ref": "#/components/schemas/Boolean" + }, + "globalWatermarkId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "globalFallbackFillerId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "hlsSegmenterIdleTimeout": { + "$ref": "#/components/schemas/Int32" + }, + "workAheadSegmenterLimit": { + "$ref": "#/components/schemas/Int32" + }, + "initialSegmentCount": { + "$ref": "#/components/schemas/Int32" + }, + "hlsDirectOutputFormat": { + "$ref": "#/components/schemas/OutputFormatKind" + }, + "defaultMpegTsScript": { + "$ref": "#/components/schemas/String" + } + } + }, + "FillerKind": { + "type": "integer" + }, + "FillerMode": { + "type": "integer" + }, + "FillerPreset": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/Int32" + }, + "name": { + "$ref": "#/components/schemas/String" + }, + "fillerKind": { + "$ref": "#/components/schemas/FillerKind" + }, + "fillerMode": { + "$ref": "#/components/schemas/FillerMode" + }, + "duration": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "count": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "padToNearestMinute": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "allowWatermarks": { + "$ref": "#/components/schemas/Boolean" + }, + "collectionType": { + "$ref": "#/components/schemas/CollectionType" + }, + "collectionId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "collection": { + "$ref": "#/components/schemas/Collection" + }, + "mediaItemId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "mediaItem": { + "$ref": "#/components/schemas/MediaItem" + }, + "multiCollectionId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "multiCollection": { + "$ref": "#/components/schemas/MultiCollection" + }, + "smartCollectionId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "smartCollection": { + "$ref": "#/components/schemas/SmartCollection" + }, + "playlistId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "playlist": { + "$ref": "#/components/schemas/Playlist" + }, + "expression": { + "$ref": "#/components/schemas/String" + }, + "useChaptersAsMediaItems": { + "$ref": "#/components/schemas/Boolean" + } + } + }, + "FillerPresetApiResponse": { + "required": [ + "id", + "name" + ], + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/Int32" + }, + "name": { + "$ref": "#/components/schemas/String" + } + } + }, + "FillerPresetViewModel": { + "required": [ + "id", + "name", + "fillerKind", + "fillerMode", + "duration", + "count", + "padToNearestMinute", + "allowWatermarks", + "collectionType", + "collectionId", + "mediaItemId", + "multiCollectionId", + "smartCollectionId", + "playlist", + "expression", + "useChaptersAsMediaItems" + ], + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/Int32" + }, + "name": { + "$ref": "#/components/schemas/String" + }, + "fillerKind": { + "$ref": "#/components/schemas/FillerKind" + }, + "fillerMode": { + "$ref": "#/components/schemas/FillerMode" + }, + "duration": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "count": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "padToNearestMinute": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "allowWatermarks": { + "$ref": "#/components/schemas/Boolean" + }, + "collectionType": { + "$ref": "#/components/schemas/CollectionType" + }, + "collectionId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "mediaItemId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "multiCollectionId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "smartCollectionId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "playlist": { + "$ref": "#/components/schemas/PlaylistViewModel" + }, + "expression": { + "$ref": "#/components/schemas/String" + }, + "useChaptersAsMediaItems": { + "$ref": "#/components/schemas/Boolean" + } + } + }, + "FillWithGroupMode": { + "type": "integer" + }, + "FixedStartTimeBehavior": { + "type": "integer" + }, + "GraphicsElement": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/Int32" + }, + "path": { + "$ref": "#/components/schemas/String" + }, + "name": { + "$ref": "#/components/schemas/String" + }, + "kind": { + "$ref": "#/components/schemas/GraphicsElementKind" + }, + "playoutItems": { + "$ref": "#/components/schemas/List`1" + }, + "playoutItemGraphicsElements": { + "$ref": "#/components/schemas/List`1" + }, + "programScheduleItems": { + "$ref": "#/components/schemas/List`1" + }, + "programScheduleItemGraphicsElements": { + "$ref": "#/components/schemas/List`1" + }, + "blockItems": { + "$ref": "#/components/schemas/List`1" + }, + "blockItemGraphicsElements": { + "$ref": "#/components/schemas/List`1" + }, + "decos": { + "$ref": "#/components/schemas/List`1" + }, + "decoGraphicsElements": { + "$ref": "#/components/schemas/List`1" + } + } + }, + "GraphicsElementApiResponse": { + "required": [ + "id", + "name", + "fileName" + ], + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/Int32" + }, + "name": { + "$ref": "#/components/schemas/String" + }, + "fileName": { + "$ref": "#/components/schemas/String" + } + } + }, + "GraphicsElementKind": { + "type": "integer" + }, + "Guid": { + "type": "string", + "format": "uuid" + }, + "GuideMode": { + "type": "integer" + }, + "HardwareAccelerationKind": { + "enum": [ + "None", + "Qsv", + "Nvenc", + "Vaapi", + "VideoToolbox", + "Amf", + "V4l2m2m", + "Rkmpp" + ] + }, + "HlsSessionModel": { + "required": [ + "channelNumber", + "state", + "transcodedUntil", + "lastAccess" + ], + "type": "object", + "properties": { + "channelNumber": { + "$ref": "#/components/schemas/String" + }, + "state": { + "$ref": "#/components/schemas/String" + }, + "transcodedUntil": { + "$ref": "#/components/schemas/DateTimeOffset" + }, + "lastAccess": { + "$ref": "#/components/schemas/DateTimeOffset" + } + } + }, + "ICollection`1": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Deco" + } + }, + "ImageCardResultsViewModel": { + "required": [ + "count", + "cards", + "pageMap" + ], + "type": "object", + "properties": { + "count": { + "$ref": "#/components/schemas/Int32" + }, + "cards": { + "$ref": "#/components/schemas/List`1" + }, + "pageMap": { + "$ref": "#/components/schemas/SearchPageMap" + } + } + }, + "ImageCardViewModel": { + "required": [ + "imageId", + "title", + "subtitle", + "sortTitle", + "poster", + "state" + ], + "type": "object", + "properties": { + "imageId": { + "$ref": "#/components/schemas/Int32" + }, + "customIndex": { + "$ref": "#/components/schemas/Int32" + }, + "mediaItemId": { + "$ref": "#/components/schemas/Int32" + }, + "title": { + "$ref": "#/components/schemas/String" + }, + "subtitle": { + "$ref": "#/components/schemas/String" + }, + "sortTitle": { + "$ref": "#/components/schemas/String" + }, + "poster": { + "$ref": "#/components/schemas/String" + }, + "state": { + "$ref": "#/components/schemas/MediaItemState" + }, + "hasMediaInfo": { + "$ref": "#/components/schemas/Boolean" + } + } + }, + "ImageFolderDuration": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/Int32" + }, + "libraryFolderId": { + "$ref": "#/components/schemas/Int32" + }, + "libraryFolder": { + "$ref": "#/components/schemas/LibraryFolder" + }, + "durationSeconds": { + "$ref": "#/components/schemas/Double" + } + } + }, + "Int32": { + "type": "integer", + "format": "int32" + }, + "Int64": { + "type": "integer", + "format": "int64" + }, + "JellyfinLibraryPreferenceRequest": { + "required": [ + "id", + "shouldSyncItems" + ], + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/Int32" + }, + "shouldSyncItems": { + "$ref": "#/components/schemas/Boolean" + } + } + }, + "JellyfinLibraryViewModel": { + "required": [ + "shouldSyncItems", + "id", + "name", + "mediaKind", + "mediaSourceId" + ], + "type": "object", + "properties": { + "shouldSyncItems": { + "$ref": "#/components/schemas/Boolean" + }, + "libraryKind": { + "$ref": "#/components/schemas/String" + }, + "id": { + "$ref": "#/components/schemas/Int32" + }, + "name": { + "$ref": "#/components/schemas/String" + }, + "mediaKind": { + "$ref": "#/components/schemas/LibraryMediaKind" + }, + "mediaSourceId": { + "$ref": "#/components/schemas/Int32" + }, + "mediaSourceName": { + "$ref": "#/components/schemas/String" + } + } + }, + "JellyfinMediaSourceViewModel": { + "required": [ + "address", + "id", + "name" + ], + "type": "object", + "properties": { + "address": { + "$ref": "#/components/schemas/String" + }, + "id": { + "$ref": "#/components/schemas/Int32" + }, + "name": { + "$ref": "#/components/schemas/String" + } + } + }, + "JellyfinPathReplacementRequest": { + "required": [ + "id", + "jellyfinPath", + "localPath" + ], + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/Int32" + }, + "jellyfinPath": { + "$ref": "#/components/schemas/String" + }, + "localPath": { + "$ref": "#/components/schemas/String" + } + } + }, + "JellyfinPathReplacementViewModel": { + "required": [ + "id", + "jellyfinPath", + "localPath" + ], + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/Int32" + }, + "jellyfinPath": { + "$ref": "#/components/schemas/String" + }, + "localPath": { + "$ref": "#/components/schemas/String" + } + } + }, + "JellyfinSecrets": { + "type": "object", + "properties": { + "address": { + "$ref": "#/components/schemas/String" + }, + "apiKey": { + "$ref": "#/components/schemas/String" + } + } + }, + "Library": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/Int32" + }, + "name": { + "$ref": "#/components/schemas/String" + }, + "mediaKind": { + "$ref": "#/components/schemas/LibraryMediaKind" + }, + "lastScan": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "mediaSourceId": { + "$ref": "#/components/schemas/Int32" + }, + "mediaSource": { + "$ref": "#/components/schemas/MediaSource" + }, + "paths": { + "$ref": "#/components/schemas/List`1" + } + } + }, + "LibraryFolder": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/Int32" + }, + "path": { + "$ref": "#/components/schemas/String" + }, + "libraryPathId": { + "$ref": "#/components/schemas/Int32" + }, + "libraryPath": { + "$ref": "#/components/schemas/LibraryPath" + }, + "parentId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "parent": { + "$ref": "#/components/schemas/LibraryFolder" + }, + "children": { + "$ref": "#/components/schemas/ICollection`1" + }, + "mediaFiles": { + "$ref": "#/components/schemas/ICollection`1" + }, + "imageFolderDuration": { + "$ref": "#/components/schemas/ImageFolderDuration" + }, + "etag": { + "$ref": "#/components/schemas/String" + } + } + }, + "LibraryMediaKind": { + "type": "integer" + }, + "LibraryPath": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/Int32" + }, + "path": { + "$ref": "#/components/schemas/String" + }, + "lastScan": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "libraryId": { + "$ref": "#/components/schemas/Int32" + }, + "library": { + "$ref": "#/components/schemas/Library" + }, + "mediaItems": { + "$ref": "#/components/schemas/List`1" + }, + "libraryFolders": { + "$ref": "#/components/schemas/List`1" + } + } + }, + "LibraryViewModel": { + "required": [ + "libraryKind", + "id", + "name", + "mediaKind", + "mediaSourceId", + "mediaSourceName" + ], + "type": "object", + "properties": { + "libraryKind": { + "$ref": "#/components/schemas/String" + }, + "id": { + "$ref": "#/components/schemas/Int32" + }, + "name": { + "$ref": "#/components/schemas/String" + }, + "mediaKind": { + "$ref": "#/components/schemas/LibraryMediaKind" + }, + "mediaSourceId": { + "$ref": "#/components/schemas/Int32" + }, + "mediaSourceName": { + "$ref": "#/components/schemas/String" + } + } + }, + "List`1": { + "type": "array", + "items": { + "$ref": "#/components/schemas/WatermarkViewModel" + } + }, + "LocalLibraryPathViewModel": { + "required": [ + "id", + "libraryId", + "path" + ], + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/Int32" + }, + "libraryId": { + "$ref": "#/components/schemas/Int32" + }, + "path": { + "$ref": "#/components/schemas/String" + } + } + }, + "LocalLibraryViewModel": { + "required": [ + "id", + "name", + "mediaKind", + "mediaSourceId" + ], + "type": "object", + "properties": { + "libraryKind": { + "$ref": "#/components/schemas/String" + }, + "id": { + "$ref": "#/components/schemas/Int32" + }, + "name": { + "$ref": "#/components/schemas/String" + }, + "mediaKind": { + "$ref": "#/components/schemas/LibraryMediaKind" + }, + "mediaSourceId": { + "$ref": "#/components/schemas/Int32" + }, + "mediaSourceName": { + "$ref": "#/components/schemas/String" + } + } + }, + "LogEventLevel": { + "type": "integer" + }, + "LoggingSettingsViewModel": { + "type": "object", + "properties": { + "defaultMinimumLogLevel": { + "$ref": "#/components/schemas/LogEventLevel" + }, + "scanningMinimumLogLevel": { + "$ref": "#/components/schemas/LogEventLevel" + }, + "schedulingMinimumLogLevel": { + "$ref": "#/components/schemas/LogEventLevel" + }, + "searchingMinimumLogLevel": { + "$ref": "#/components/schemas/LogEventLevel" + }, + "streamingMinimumLogLevel": { + "$ref": "#/components/schemas/LogEventLevel" + }, + "httpMinimumLogLevel": { + "$ref": "#/components/schemas/LogEventLevel" + } + } + }, + "MarathonGroupBy": { + "type": "integer" + }, + "MediaChapter": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/Int32" + }, + "mediaVersionId": { + "$ref": "#/components/schemas/Int32" + }, + "mediaVersion": { + "$ref": "#/components/schemas/MediaVersion" + }, + "chapterId": { + "$ref": "#/components/schemas/Int64" + }, + "startTime": { + "$ref": "#/components/schemas/TimeSpan" + }, + "endTime": { + "$ref": "#/components/schemas/TimeSpan" + }, + "title": { + "$ref": "#/components/schemas/String" + } + } + }, + "MediaFile": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/Int32" + }, + "path": { + "$ref": "#/components/schemas/String" + }, + "pathHash": { + "$ref": "#/components/schemas/String" + }, + "mediaVersionId": { + "$ref": "#/components/schemas/Int32" + }, + "mediaVersion": { + "$ref": "#/components/schemas/MediaVersion" + }, + "libraryFolderId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "libraryFolder": { + "$ref": "#/components/schemas/LibraryFolder" + } + } + }, + "MediaItem": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/Int32" + }, + "libraryPathId": { + "$ref": "#/components/schemas/Int32" + }, + "libraryPath": { + "$ref": "#/components/schemas/LibraryPath" + }, + "collections": { + "$ref": "#/components/schemas/List`1" + }, + "collectionItems": { + "$ref": "#/components/schemas/List`1" + }, + "traktListItems": { + "$ref": "#/components/schemas/List`1" + }, + "state": { + "$ref": "#/components/schemas/MediaItemState" + } + } + }, + "MediaItemApiResponse": { + "required": [ + "mediaItemId", + "name" + ], + "type": "object", + "properties": { + "mediaItemId": { + "$ref": "#/components/schemas/Int32" + }, + "name": { + "$ref": "#/components/schemas/String" + } + } + }, + "MediaItemState": { + "type": "integer" + }, + "MediaSource": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/Int32" + }, + "libraries": { + "$ref": "#/components/schemas/List`1" + } + } + }, + "MediaStream": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/Int32" + }, + "index": { + "$ref": "#/components/schemas/Int32" + }, + "codec": { + "$ref": "#/components/schemas/String" + }, + "profile": { + "$ref": "#/components/schemas/String" + }, + "mediaStreamKind": { + "$ref": "#/components/schemas/MediaStreamKind" + }, + "language": { + "$ref": "#/components/schemas/String" + }, + "channels": { + "$ref": "#/components/schemas/Int32" + }, + "title": { + "$ref": "#/components/schemas/String" + }, + "default": { + "$ref": "#/components/schemas/Boolean" + }, + "forced": { + "$ref": "#/components/schemas/Boolean" + }, + "attachedPic": { + "$ref": "#/components/schemas/Boolean" + }, + "pixelFormat": { + "$ref": "#/components/schemas/String" + }, + "colorRange": { + "$ref": "#/components/schemas/String" + }, + "colorSpace": { + "$ref": "#/components/schemas/String" + }, + "colorTransfer": { + "$ref": "#/components/schemas/String" + }, + "colorPrimaries": { + "$ref": "#/components/schemas/String" + }, + "bitsPerRawSample": { + "$ref": "#/components/schemas/Int32" + }, + "fileName": { + "$ref": "#/components/schemas/String" + }, + "mimeType": { + "$ref": "#/components/schemas/String" + }, + "mediaVersionId": { + "$ref": "#/components/schemas/Int32" + }, + "mediaVersion": { + "$ref": "#/components/schemas/MediaVersion" + } + } + }, + "MediaStreamKind": { + "type": "integer" + }, + "MediaVersion": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/Int32" + }, + "name": { + "$ref": "#/components/schemas/String" + }, + "mediaFiles": { + "$ref": "#/components/schemas/List`1" + }, + "streams": { + "$ref": "#/components/schemas/List`1" + }, + "chapters": { + "$ref": "#/components/schemas/List`1" + }, + "duration": { + "$ref": "#/components/schemas/TimeSpan" + }, + "sampleAspectRatio": { + "$ref": "#/components/schemas/String" + }, + "displayAspectRatio": { + "$ref": "#/components/schemas/String" + }, + "rFrameRate": { + "$ref": "#/components/schemas/String" + }, + "videoScanKind": { + "$ref": "#/components/schemas/VideoScanKind" + }, + "interlacedRatio": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "dateAdded": { + "$ref": "#/components/schemas/DateTime" + }, + "dateUpdated": { + "$ref": "#/components/schemas/DateTime" + }, + "width": { + "$ref": "#/components/schemas/Int32" + }, + "height": { + "$ref": "#/components/schemas/Int32" + } + } + }, + "MovieCardResultsViewModel": { + "required": [ + "count", + "cards", + "pageMap" + ], + "type": "object", + "properties": { + "count": { + "$ref": "#/components/schemas/Int32" + }, + "cards": { + "$ref": "#/components/schemas/List`1" + }, + "pageMap": { + "$ref": "#/components/schemas/SearchPageMap" + } + } + }, + "MovieCardViewModel": { + "required": [ + "movieId", + "title", + "subtitle", + "sortTitle", + "poster", + "state" + ], + "type": "object", + "properties": { + "movieId": { + "$ref": "#/components/schemas/Int32" + }, + "customIndex": { + "$ref": "#/components/schemas/Int32" + }, + "mediaItemId": { + "$ref": "#/components/schemas/Int32" + }, + "title": { + "$ref": "#/components/schemas/String" + }, + "subtitle": { + "$ref": "#/components/schemas/String" + }, + "sortTitle": { + "$ref": "#/components/schemas/String" + }, + "poster": { + "$ref": "#/components/schemas/String" + }, + "state": { + "$ref": "#/components/schemas/MediaItemState" + }, + "hasMediaInfo": { + "$ref": "#/components/schemas/Boolean" + } + } + }, + "MultiCollection": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/Int32" + }, + "name": { + "$ref": "#/components/schemas/String" + }, + "collections": { + "$ref": "#/components/schemas/List`1" + }, + "smartCollections": { + "$ref": "#/components/schemas/List`1" + }, + "multiCollectionItems": { + "$ref": "#/components/schemas/List`1" + }, + "multiCollectionSmartItems": { + "$ref": "#/components/schemas/List`1" + } + } + }, + "MultiCollectionApiResponse": { + "required": [ + "id", + "name", + "items", + "smartItems" + ], + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/Int32" + }, + "name": { + "$ref": "#/components/schemas/String" + }, + "items": { + "$ref": "#/components/schemas/List`1" + }, + "smartItems": { + "$ref": "#/components/schemas/List`1" + } + } + }, + "MultiCollectionItem": { + "type": "object", + "properties": { + "multiCollectionId": { + "$ref": "#/components/schemas/Int32" + }, + "multiCollection": { + "$ref": "#/components/schemas/MultiCollection" + }, + "collectionId": { + "$ref": "#/components/schemas/Int32" + }, + "collection": { + "$ref": "#/components/schemas/Collection" + }, + "scheduleAsGroup": { + "$ref": "#/components/schemas/Boolean" + }, + "playbackOrder": { + "$ref": "#/components/schemas/PlaybackOrder" + } + } + }, + "MultiCollectionItemApiResponse": { + "required": [ + "multiCollectionId", + "collectionId", + "collectionName", + "collectionType", + "useCustomPlaybackOrder", + "state", + "scheduleAsGroup", + "playbackOrder" + ], + "type": "object", + "properties": { + "multiCollectionId": { + "$ref": "#/components/schemas/Int32" + }, + "collectionId": { + "$ref": "#/components/schemas/Int32" + }, + "collectionName": { + "$ref": "#/components/schemas/String" + }, + "collectionType": { + "$ref": "#/components/schemas/CollectionType" + }, + "useCustomPlaybackOrder": { + "$ref": "#/components/schemas/Boolean" + }, + "state": { + "$ref": "#/components/schemas/MediaItemState" + }, + "scheduleAsGroup": { + "$ref": "#/components/schemas/Boolean" + }, + "playbackOrder": { + "$ref": "#/components/schemas/PlaybackOrder" + } + } + }, + "MultiCollectionSmartItem": { + "type": "object", + "properties": { + "multiCollectionId": { + "$ref": "#/components/schemas/Int32" + }, + "multiCollection": { + "$ref": "#/components/schemas/MultiCollection" + }, + "smartCollectionId": { + "$ref": "#/components/schemas/Int32" + }, + "smartCollection": { + "$ref": "#/components/schemas/SmartCollection" + }, + "scheduleAsGroup": { + "$ref": "#/components/schemas/Boolean" + }, + "playbackOrder": { + "$ref": "#/components/schemas/PlaybackOrder" + } + } + }, + "MultiCollectionSmartItemApiResponse": { + "required": [ + "multiCollectionId", + "smartCollectionId", + "smartCollectionName", + "query", + "scheduleAsGroup", + "playbackOrder" + ], + "type": "object", + "properties": { + "multiCollectionId": { + "$ref": "#/components/schemas/Int32" + }, + "smartCollectionId": { + "$ref": "#/components/schemas/Int32" + }, + "smartCollectionName": { + "$ref": "#/components/schemas/String" + }, + "query": { + "$ref": "#/components/schemas/String" + }, + "scheduleAsGroup": { + "$ref": "#/components/schemas/Boolean" + }, + "playbackOrder": { + "$ref": "#/components/schemas/PlaybackOrder" + } + } + }, + "MusicVideoCardResultsViewModel": { + "required": [ + "count", + "cards", + "pageMap" + ], + "type": "object", + "properties": { + "count": { + "$ref": "#/components/schemas/Int32" + }, + "cards": { + "$ref": "#/components/schemas/List`1" + }, + "pageMap": { + "$ref": "#/components/schemas/SearchPageMap" + } + } + }, + "MusicVideoCardViewModel": { + "required": [ + "musicVideoId", + "plot", + "album", + "path", + "localPath", + "title", + "subtitle", + "sortTitle", + "poster", + "state" + ], + "type": "object", + "properties": { + "musicVideoId": { + "$ref": "#/components/schemas/Int32" + }, + "plot": { + "$ref": "#/components/schemas/String" + }, + "album": { + "$ref": "#/components/schemas/String" + }, + "path": { + "$ref": "#/components/schemas/String" + }, + "localPath": { + "$ref": "#/components/schemas/String" + }, + "customIndex": { + "$ref": "#/components/schemas/Int32" + }, + "mediaItemId": { + "$ref": "#/components/schemas/Int32" + }, + "title": { + "$ref": "#/components/schemas/String" + }, + "subtitle": { + "$ref": "#/components/schemas/String" + }, + "sortTitle": { + "$ref": "#/components/schemas/String" + }, + "poster": { + "$ref": "#/components/schemas/String" + }, + "state": { + "$ref": "#/components/schemas/MediaItemState" + }, + "hasMediaInfo": { + "$ref": "#/components/schemas/Boolean" + } + } + }, + "NormalizeLoudnessMode": { + "enum": [ + "Off", + "LoudNorm" + ] + }, + "Nullable`1": { + "pattern": "^-?(\\d+\\.)?\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,7})?$", + "type": "string" + }, + "Option`1": { + "type": "array", + "items": { + "$ref": "#/components/schemas/FillerKind" + } + }, + "OutputFormatKind": { + "type": "integer" + }, + "PagedCollectionsApiResponse": { + "required": [ + "totalCount", + "page" + ], + "type": "object", + "properties": { + "totalCount": { + "$ref": "#/components/schemas/Int32" + }, + "page": { + "$ref": "#/components/schemas/List`1" + } + } + }, + "PagedFillerPresetsViewModel": { + "required": [ + "totalCount", + "page" + ], + "type": "object", + "properties": { + "totalCount": { + "$ref": "#/components/schemas/Int32" + }, + "page": { + "$ref": "#/components/schemas/List`1" + } + } + }, + "PagedPlayoutItemsViewModel": { + "required": [ + "totalCount", + "page" + ], + "type": "object", + "properties": { + "totalCount": { + "$ref": "#/components/schemas/Int32" + }, + "page": { + "$ref": "#/components/schemas/List`1" + } + } + }, + "PagedPlayoutsViewModel": { + "required": [ + "totalCount", + "page" + ], + "type": "object", + "properties": { + "totalCount": { + "$ref": "#/components/schemas/Int32" + }, + "page": { + "$ref": "#/components/schemas/List`1" + } + } + }, + "PagedProgramSchedulesViewModel": { + "required": [ + "totalCount", + "page" + ], + "type": "object", + "properties": { + "totalCount": { + "$ref": "#/components/schemas/Int32" + }, + "page": { + "$ref": "#/components/schemas/List`1" + } + } + }, + "PagedTraktListsViewModel": { + "required": [ + "totalCount", + "page" + ], + "type": "object", + "properties": { + "totalCount": { + "$ref": "#/components/schemas/Int32" + }, + "page": { + "$ref": "#/components/schemas/List`1" + } + } + }, + "PeekItemDuration": { + "required": [ + "content", + "milliseconds" + ], + "type": "object", + "properties": { + "content": { + "$ref": "#/components/schemas/String" + }, + "milliseconds": { + "description": "Duration in milliseconds", + "$ref": "#/components/schemas/Int64" + } + } + }, + "PlaybackOrder": { + "type": "integer" + }, + "Playlist": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/Int32" + }, + "playlistGroupId": { + "$ref": "#/components/schemas/Int32" + }, + "playlistGroup": { + "$ref": "#/components/schemas/PlaylistGroup" + }, + "name": { + "$ref": "#/components/schemas/String" + }, + "isSystem": { + "$ref": "#/components/schemas/Boolean" + }, + "items": { + "$ref": "#/components/schemas/ICollection`1" + } + } + }, + "PlaylistApiResponse": { + "required": [ + "id", + "playlistGroupId", + "name", + "isSystem" + ], + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/Int32" + }, + "playlistGroupId": { + "$ref": "#/components/schemas/Int32" + }, + "name": { + "$ref": "#/components/schemas/String" + }, + "isSystem": { + "$ref": "#/components/schemas/Boolean" + } + } + }, + "PlaylistGroup": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/Int32" + }, + "name": { + "$ref": "#/components/schemas/String" + }, + "isSystem": { + "$ref": "#/components/schemas/Boolean" + }, + "playlists": { + "$ref": "#/components/schemas/ICollection`1" + } + } + }, + "PlaylistGroupViewModel": { + "required": [ + "id", + "name", + "playlistCount", + "isSystem" + ], + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/Int32" + }, + "name": { + "$ref": "#/components/schemas/String" + }, + "playlistCount": { + "$ref": "#/components/schemas/Int32" + }, + "isSystem": { + "$ref": "#/components/schemas/Boolean" + } + } + }, + "PlaylistItem": { + "required": [ + "content", + "count" + ], + "type": "object", + "properties": { + "content": { + "description": "The 'key' for the content", + "$ref": "#/components/schemas/String" + }, + "count": { + "$ref": "#/components/schemas/Int32" + } + } + }, + "PlaylistItemApiResponse": { + "required": [ + "id", + "index", + "collectionType", + "collection", + "multiCollection", + "smartCollection", + "mediaItem", + "playbackOrder", + "count", + "playAll", + "includeInProgramGuide" + ], + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/Int32" + }, + "index": { + "$ref": "#/components/schemas/Int32" + }, + "collectionType": { + "$ref": "#/components/schemas/CollectionType" + }, + "collection": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/CollectionApiResponse" + } + ] + }, + "multiCollection": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/MultiCollectionApiResponse" + } + ] + }, + "smartCollection": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/SmartCollectionApiResponse" + } + ] + }, + "mediaItem": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/MediaItemApiResponse" + } + ] + }, + "playbackOrder": { + "$ref": "#/components/schemas/PlaybackOrder" + }, + "count": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "playAll": { + "$ref": "#/components/schemas/Boolean" + }, + "includeInProgramGuide": { + "$ref": "#/components/schemas/Boolean" + } + } + }, + "PlaylistViewModel": { + "required": [ + "id", + "playlistGroupId", + "name", + "isSystem" + ], + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/Int32" + }, + "playlistGroupId": { + "$ref": "#/components/schemas/Int32" + }, + "name": { + "$ref": "#/components/schemas/String" + }, + "isSystem": { + "$ref": "#/components/schemas/Boolean" + } + } + }, + "Playout": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/Int32" + }, + "channelId": { + "$ref": "#/components/schemas/Int32" + }, + "channel": { + "$ref": "#/components/schemas/Channel" + }, + "programScheduleId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "programSchedule": { + "$ref": "#/components/schemas/ProgramSchedule" + }, + "scheduleFile": { + "$ref": "#/components/schemas/String" + }, + "programScheduleAlternates": { + "$ref": "#/components/schemas/List`1" + }, + "scheduleKind": { + "$ref": "#/components/schemas/PlayoutScheduleKind" + }, + "items": { + "$ref": "#/components/schemas/List`1" + }, + "gaps": { + "$ref": "#/components/schemas/List`1" + }, + "anchor": { + "$ref": "#/components/schemas/PlayoutAnchor" + }, + "programScheduleAnchors": { + "$ref": "#/components/schemas/List`1" + }, + "fillGroupIndices": { + "$ref": "#/components/schemas/List`1" + }, + "templates": { + "$ref": "#/components/schemas/ICollection`1" + }, + "playoutHistory": { + "$ref": "#/components/schemas/ICollection`1" + }, + "seed": { + "$ref": "#/components/schemas/Int32" + }, + "dailyRebuildTime": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "decoId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "deco": { + "$ref": "#/components/schemas/Deco" + }, + "onDemandCheckpoint": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "buildStatus": { + "$ref": "#/components/schemas/PlayoutBuildStatus" + } + } + }, + "PlayoutAnchor": { + "type": "object", + "properties": { + "scheduleItemsEnumeratorState": { + "$ref": "#/components/schemas/CollectionEnumeratorState" + }, + "nextStart": { + "$ref": "#/components/schemas/DateTime" + }, + "multipleRemaining": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "durationFinish": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "inFlood": { + "$ref": "#/components/schemas/Boolean" + }, + "inDurationFiller": { + "$ref": "#/components/schemas/Boolean" + }, + "nextGuideGroup": { + "$ref": "#/components/schemas/Int32" + }, + "nextInstructionIndex": { + "$ref": "#/components/schemas/Int32" + }, + "context": { + "$ref": "#/components/schemas/String" + }, + "nextStartOffset": { + "$ref": "#/components/schemas/DateTimeOffset" + }, + "durationFinishOffset": { + "$ref": "#/components/schemas/Option`1" + } + } + }, + "PlayoutBuildStatus": { + "type": "object", + "properties": { + "playoutId": { + "$ref": "#/components/schemas/Int32" + }, + "playout": { + "$ref": "#/components/schemas/Playout" + }, + "lastBuild": { + "$ref": "#/components/schemas/DateTimeOffset" + }, + "success": { + "$ref": "#/components/schemas/Boolean" + }, + "message": { + "$ref": "#/components/schemas/String" + } + } + }, + "PlayoutContext": { + "required": [ + "currentTime", + "startTime", + "finishTime", + "isDone" + ], + "type": "object", + "properties": { + "currentTime": { + "description": "The current time of the playout build", + "$ref": "#/components/schemas/DateTimeOffset" + }, + "startTime": { + "description": "The start time of the playout build", + "$ref": "#/components/schemas/DateTimeOffset" + }, + "finishTime": { + "description": "The finish time of the playout build", + "$ref": "#/components/schemas/DateTimeOffset" + }, + "isDone": { + "description": "Indicates whether the current playout build is complete", + "$ref": "#/components/schemas/Boolean" + } + } + }, + "PlayoutCount": { + "required": [ + "content", + "count" + ], + "type": "object", + "properties": { + "content": { + "description": "The 'key' for the content that should be added", + "$ref": "#/components/schemas/String" + }, + "count": { + "$ref": "#/components/schemas/Int32" + }, + "fillerKind": { + "oneOf": [ + { + "type": "null" + }, + { + "description": "Flags this content as filler, which influences EPG grouping", + "$ref": "#/components/schemas/String" + } + ] + }, + "customTitle": { + "oneOf": [ + { + "type": "null" + }, + { + "description": "Overrides the title used in the EPG", + "$ref": "#/components/schemas/String" + } + ] + }, + "disableWatermarks": { + "$ref": "#/components/schemas/Boolean" + } + } + }, + "PlayoutDuration": { + "required": [ + "content", + "duration" + ], + "type": "object", + "properties": { + "content": { + "description": "The 'key' for the content that should be added", + "$ref": "#/components/schemas/String" + }, + "duration": { + "description": "The amount of time to add using the referenced content", + "$ref": "#/components/schemas/String" + }, + "fallback": { + "oneOf": [ + { + "type": "null" + }, + { + "description": "The 'key' for the content that should be used to fill any remaining unscheduled time. One item will be selected to be looped and trimmed to exactly fit.", + "$ref": "#/components/schemas/String" + } + ] + }, + "trim": { + "description": "Controls whether content will be trimmed to exactly fit the specified duration", + "$ref": "#/components/schemas/Boolean" + }, + "discardAttempts": { + "description": "When trim is false, this is the number of times to discard items from the collection to find something that fits in the remaining duration", + "$ref": "#/components/schemas/Int32" + }, + "stopBeforeEnd": { + "description": "When false, allows content to run over the specified duration before completing this request", + "$ref": "#/components/schemas/Boolean" + }, + "offlineTail": { + "description": "When true, afer scheduling everything that will fit, any remaining time from the specified duration will be unscheduled (offline)", + "$ref": "#/components/schemas/Boolean" + }, + "fillerKind": { + "oneOf": [ + { + "type": "null" + }, + { + "description": "Flags this content as filler, which influences EPG grouping", + "$ref": "#/components/schemas/String" + } + ] + }, + "customTitle": { + "oneOf": [ + { + "type": "null" + }, + { + "description": "Overrides the title used in the EPG", + "$ref": "#/components/schemas/String" + } + ] + }, + "disableWatermarks": { + "$ref": "#/components/schemas/Boolean" + } + } + }, + "PlayoutGap": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/Int32" + }, + "playoutId": { + "$ref": "#/components/schemas/Int32" + }, + "playout": { + "$ref": "#/components/schemas/Playout" + }, + "start": { + "$ref": "#/components/schemas/DateTime" + }, + "finish": { + "$ref": "#/components/schemas/DateTime" + }, + "startOffset": { + "$ref": "#/components/schemas/DateTimeOffset" + }, + "finishOffset": { + "$ref": "#/components/schemas/DateTimeOffset" + } + } + }, + "PlayoutHistory": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/Int32" + }, + "playoutId": { + "$ref": "#/components/schemas/Int32" + }, + "playout": { + "$ref": "#/components/schemas/Playout" + }, + "blockId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "block": { + "$ref": "#/components/schemas/Block" + }, + "playbackOrder": { + "$ref": "#/components/schemas/PlaybackOrder" + }, + "index": { + "$ref": "#/components/schemas/Int32" + }, + "key": { + "$ref": "#/components/schemas/String" + }, + "childKey": { + "$ref": "#/components/schemas/String" + }, + "isCurrentChild": { + "$ref": "#/components/schemas/Boolean" + }, + "when": { + "$ref": "#/components/schemas/DateTime" + }, + "finish": { + "$ref": "#/components/schemas/DateTime" + }, + "details": { + "$ref": "#/components/schemas/String" + } + } + }, + "PlayoutItem": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/Int32" + }, + "mediaItemId": { + "$ref": "#/components/schemas/Int32" + }, + "mediaItem": { + "$ref": "#/components/schemas/MediaItem" + }, + "start": { + "$ref": "#/components/schemas/DateTime" + }, + "finish": { + "$ref": "#/components/schemas/DateTime" + }, + "guideStart": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "guideFinish": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "customTitle": { + "$ref": "#/components/schemas/String" + }, + "guideGroup": { + "$ref": "#/components/schemas/Int32" + }, + "fillerKind": { + "$ref": "#/components/schemas/FillerKind" + }, + "playoutId": { + "$ref": "#/components/schemas/Int32" + }, + "playout": { + "$ref": "#/components/schemas/Playout" + }, + "inPoint": { + "$ref": "#/components/schemas/TimeSpan" + }, + "outPoint": { + "$ref": "#/components/schemas/TimeSpan" + }, + "chapterTitle": { + "$ref": "#/components/schemas/String" + }, + "watermarks": { + "$ref": "#/components/schemas/List`1" + }, + "disableWatermarks": { + "$ref": "#/components/schemas/Boolean" + }, + "preferredAudioLanguageCode": { + "$ref": "#/components/schemas/String" + }, + "preferredAudioTitle": { + "$ref": "#/components/schemas/String" + }, + "preferredSubtitleLanguageCode": { + "$ref": "#/components/schemas/String" + }, + "subtitleMode": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "blockKey": { + "$ref": "#/components/schemas/String" + }, + "collectionKey": { + "$ref": "#/components/schemas/String" + }, + "collectionEtag": { + "$ref": "#/components/schemas/String" + }, + "playoutItemWatermarks": { + "$ref": "#/components/schemas/List`1" + }, + "graphicsElements": { + "$ref": "#/components/schemas/List`1" + }, + "playoutItemGraphicsElements": { + "$ref": "#/components/schemas/List`1" + }, + "startOffset": { + "$ref": "#/components/schemas/DateTimeOffset" + }, + "finishOffset": { + "$ref": "#/components/schemas/DateTimeOffset" + }, + "guideFinishOffset": { + "$ref": "#/components/schemas/Nullable`1" + } + } + }, + "PlayoutItemGraphicsElement": { + "type": "object", + "properties": { + "playoutItemId": { + "$ref": "#/components/schemas/Int32" + }, + "playoutItem": { + "$ref": "#/components/schemas/PlayoutItem" + }, + "graphicsElementId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "graphicsElement": { + "$ref": "#/components/schemas/GraphicsElement" + }, + "variables": { + "$ref": "#/components/schemas/String" + } + } + }, + "PlayoutItemViewModel": { + "required": [ + "title", + "start", + "finish", + "duration", + "fillerKind" + ], + "type": "object", + "properties": { + "title": { + "$ref": "#/components/schemas/String" + }, + "start": { + "$ref": "#/components/schemas/DateTimeOffset" + }, + "finish": { + "$ref": "#/components/schemas/DateTimeOffset" + }, + "duration": { + "$ref": "#/components/schemas/String" + }, + "fillerKind": { + "$ref": "#/components/schemas/Option`1" + } + } + }, + "PlayoutItemWatermark": { + "type": "object", + "properties": { + "playoutItemId": { + "$ref": "#/components/schemas/Int32" + }, + "playoutItem": { + "$ref": "#/components/schemas/PlayoutItem" + }, + "watermarkId": { + "$ref": "#/components/schemas/Int32" + }, + "watermark": { + "$ref": "#/components/schemas/ChannelWatermark" + } + } + }, + "PlayoutMode": { + "type": "integer" + }, + "PlayoutNameViewModel": { + "required": [ + "playoutId", + "scheduleKind", + "channelName", + "channelNumber", + "playoutMode", + "scheduleName", + "dbDailyRebuildTime", + "buildStatus", + "scheduleFile" + ], + "type": "object", + "properties": { + "playoutId": { + "$ref": "#/components/schemas/Int32" + }, + "scheduleKind": { + "$ref": "#/components/schemas/PlayoutScheduleKind" + }, + "channelName": { + "$ref": "#/components/schemas/String" + }, + "channelNumber": { + "$ref": "#/components/schemas/String" + }, + "playoutMode": { + "$ref": "#/components/schemas/ChannelPlayoutMode" + }, + "scheduleName": { + "$ref": "#/components/schemas/String" + }, + "dbDailyRebuildTime": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "buildStatus": { + "$ref": "#/components/schemas/PlayoutBuildStatus" + }, + "dailyRebuildTime": { + "$ref": "#/components/schemas/Option`1" + }, + "scheduleFile": { + "$ref": "#/components/schemas/String" + } + } + }, + "PlayoutPadToNext": { + "required": [ + "content", + "minutes" + ], + "type": "object", + "properties": { + "content": { + "description": "The 'key' for the content that should be added", + "$ref": "#/components/schemas/String" + }, + "minutes": { + "description": "The minutes interval", + "$ref": "#/components/schemas/Int32" + }, + "fallback": { + "oneOf": [ + { + "type": "null" + }, + { + "description": "The 'key' for the content that should be used to fill any remaining unscheduled time. One item will be selected to be looped and trimmed to exactly fit.", + "$ref": "#/components/schemas/String" + } + ] + }, + "trim": { + "description": "Controls whether content will be trimmed to exactly fit the specified interval", + "$ref": "#/components/schemas/Boolean" + }, + "discardAttempts": { + "description": "When trim is false, this is the number of times to discard items from the collection to find something that fits in the remaining interval", + "$ref": "#/components/schemas/Int32" + }, + "stopBeforeEnd": { + "description": "When false, allows content to run over the specified interval before completing this request", + "$ref": "#/components/schemas/Boolean" + }, + "offlineTail": { + "description": "When true, afer scheduling everything that will fit, any remaining time from the specified interval will be unscheduled (offline)", + "$ref": "#/components/schemas/Boolean" + }, + "fillerKind": { + "oneOf": [ + { + "type": "null" + }, + { + "description": "Flags this content as filler, which influences EPG grouping", + "$ref": "#/components/schemas/String" + } + ] + }, + "customTitle": { + "oneOf": [ + { + "type": "null" + }, + { + "description": "Overrides the title used in the EPG", + "$ref": "#/components/schemas/String" + } + ] + }, + "disableWatermarks": { + "$ref": "#/components/schemas/Boolean" + } + } + }, + "PlayoutPadUntil": { + "required": [ + "content", + "when" + ], + "type": "object", + "properties": { + "content": { + "description": "The 'key' for the content that should be added", + "$ref": "#/components/schemas/String" + }, + "when": { + "description": "The time of day that content should be added until", + "$ref": "#/components/schemas/String" + }, + "tomorrow": { + "description": "Only used when the current playout time is already after the specified pad until time. When true, content will be scheduled until the specified time of day (the next day). When false, no content will be scheduled by this request.", + "$ref": "#/components/schemas/Boolean" + }, + "fallback": { + "oneOf": [ + { + "type": "null" + }, + { + "description": "The 'key' for the content that should be used to fill any remaining unscheduled time. One item will be selected to be looped and trimmed to exactly fit.", + "$ref": "#/components/schemas/String" + } + ] + }, + "trim": { + "description": "Controls whether content will be trimmed to exactly fit until the specified time", + "$ref": "#/components/schemas/Boolean" + }, + "discardAttempts": { + "description": "When trim is false, this is the number of times to discard items from the collection to find something that fits until the specified time", + "$ref": "#/components/schemas/Int32" + }, + "stopBeforeEnd": { + "description": "When false, allows content to run over the specified the specified time before completing this request", + "$ref": "#/components/schemas/Boolean" + }, + "offlineTail": { + "description": "When true, afer scheduling everything that will fit, any remaining time from the specified interval will be unscheduled (offline)", + "$ref": "#/components/schemas/Boolean" + }, + "fillerKind": { + "oneOf": [ + { + "type": "null" + }, + { + "description": "Flags this content as filler, which influences EPG grouping", + "$ref": "#/components/schemas/String" + } + ] + }, + "customTitle": { + "oneOf": [ + { + "type": "null" + }, + { + "description": "Overrides the title used in the EPG", + "$ref": "#/components/schemas/String" + } + ] + }, + "disableWatermarks": { + "$ref": "#/components/schemas/Boolean" + } + } + }, + "PlayoutPadUntilExact": { + "required": [ + "content", + "when" + ], + "type": "object", + "properties": { + "content": { + "description": "The 'key' for the content that should be added", + "$ref": "#/components/schemas/String" + }, + "when": { + "description": "The time content should be added until", + "$ref": "#/components/schemas/DateTimeOffset" + }, + "fallback": { + "oneOf": [ + { + "type": "null" + }, + { + "description": "The 'key' for the content that should be used to fill any remaining unscheduled time. One item will be selected to be looped and trimmed to exactly fit.", + "$ref": "#/components/schemas/String" + } + ] + }, + "trim": { + "description": "Controls whether content will be trimmed to exactly fit until the specified time", + "$ref": "#/components/schemas/Boolean" + }, + "discardAttempts": { + "description": "When trim is false, this is the number of times to discard items from the collection to find something that fits until the specified time", + "$ref": "#/components/schemas/Int32" + }, + "stopBeforeEnd": { + "description": "When false, allows content to run over the specified the specified time before completing this request", + "$ref": "#/components/schemas/Boolean" + }, + "offlineTail": { + "description": "When true, afer scheduling everything that will fit, any remaining time from the specified interval will be unscheduled (offline)", + "$ref": "#/components/schemas/Boolean" + }, + "fillerKind": { + "oneOf": [ + { + "type": "null" + }, + { + "description": "Flags this content as filler, which influences EPG grouping", + "$ref": "#/components/schemas/String" + } + ] + }, + "customTitle": { + "oneOf": [ + { + "type": "null" + }, + { + "description": "Overrides the title used in the EPG", + "$ref": "#/components/schemas/String" + } + ] + }, + "disableWatermarks": { + "$ref": "#/components/schemas/Boolean" + } + } + }, + "PlayoutProgramScheduleAnchor": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/Int32" + }, + "playoutId": { + "$ref": "#/components/schemas/Int32" + }, + "playout": { + "$ref": "#/components/schemas/Playout" + }, + "anchorDate": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "anchorDateOffset": { + "$ref": "#/components/schemas/Nullable`1" + }, + "collectionType": { + "$ref": "#/components/schemas/CollectionType" + }, + "collectionId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "collection": { + "$ref": "#/components/schemas/Collection" + }, + "multiCollectionId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "multiCollection": { + "$ref": "#/components/schemas/MultiCollection" + }, + "smartCollectionId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "smartCollection": { + "$ref": "#/components/schemas/SmartCollection" + }, + "rerunCollectionId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "rerunCollection": { + "$ref": "#/components/schemas/RerunCollection" + }, + "mediaItemId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "mediaItem": { + "$ref": "#/components/schemas/MediaItem" + }, + "playlistId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "playlist": { + "$ref": "#/components/schemas/Playlist" + }, + "searchQuery": { + "$ref": "#/components/schemas/String" + }, + "fakeCollectionKey": { + "$ref": "#/components/schemas/String" + }, + "enumeratorState": { + "$ref": "#/components/schemas/CollectionEnumeratorState" + } + } + }, + "PlayoutScheduleItemFillGroupIndex": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/Int32" + }, + "playoutId": { + "$ref": "#/components/schemas/Int32" + }, + "playout": { + "$ref": "#/components/schemas/Playout" + }, + "programScheduleItemId": { + "$ref": "#/components/schemas/Int32" + }, + "programScheduleItem": { + "$ref": "#/components/schemas/ProgramScheduleItem" + }, + "enumeratorState": { + "$ref": "#/components/schemas/CollectionEnumeratorState" + } + } + }, + "PlayoutScheduleKind": { + "type": "integer" + }, + "PlayoutSettingsViewModel": { + "type": "object", + "properties": { + "daysToBuild": { + "$ref": "#/components/schemas/Int32" + }, + "skipMissingItems": { + "$ref": "#/components/schemas/Boolean" + }, + "scriptedScheduleTimeoutSeconds": { + "$ref": "#/components/schemas/Int32" + } + } + }, + "PlayoutTemplate": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/Int32" + }, + "playoutId": { + "$ref": "#/components/schemas/Int32" + }, + "playout": { + "$ref": "#/components/schemas/Playout" + }, + "templateId": { + "$ref": "#/components/schemas/Int32" + }, + "template": { + "$ref": "#/components/schemas/Template" + }, + "decoTemplateId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "decoTemplate": { + "$ref": "#/components/schemas/DecoTemplate" + }, + "index": { + "$ref": "#/components/schemas/Int32" + }, + "daysOfWeek": { + "$ref": "#/components/schemas/ICollection`1" + }, + "daysOfMonth": { + "$ref": "#/components/schemas/ICollection`1" + }, + "monthsOfYear": { + "$ref": "#/components/schemas/ICollection`1" + }, + "limitToDateRange": { + "$ref": "#/components/schemas/Boolean" + }, + "startMonth": { + "$ref": "#/components/schemas/Int32" + }, + "startDay": { + "$ref": "#/components/schemas/Int32" + }, + "endMonth": { + "$ref": "#/components/schemas/Int32" + }, + "endDay": { + "$ref": "#/components/schemas/Int32" + }, + "dateUpdated": { + "$ref": "#/components/schemas/DateTime" + } + } + }, + "PlexLibraryPreferenceRequest": { + "required": [ + "id", + "shouldSyncItems" + ], + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/Int32" + }, + "shouldSyncItems": { + "$ref": "#/components/schemas/Boolean" + } + } + }, + "PlexLibraryViewModel": { + "required": [ + "id", + "name", + "mediaKind", + "shouldSyncItems" + ], + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/Int32" + }, + "name": { + "$ref": "#/components/schemas/String" + }, + "mediaKind": { + "$ref": "#/components/schemas/LibraryMediaKind" + }, + "shouldSyncItems": { + "$ref": "#/components/schemas/Boolean" + } + } + }, + "PlexMediaSourceViewModel": { + "required": [ + "address", + "id", + "name" + ], + "type": "object", + "properties": { + "address": { + "$ref": "#/components/schemas/String" + }, + "id": { + "$ref": "#/components/schemas/Int32" + }, + "name": { + "$ref": "#/components/schemas/String" + } + } + }, + "PlexPathReplacementRequest": { + "required": [ + "id", + "plexPath", + "localPath" + ], + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/Int32" + }, + "plexPath": { + "$ref": "#/components/schemas/String" + }, + "localPath": { + "$ref": "#/components/schemas/String" + } + } + }, + "PlexPathReplacementViewModel": { + "required": [ + "id", + "plexPath", + "localPath" + ], + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/Int32" + }, + "plexPath": { + "$ref": "#/components/schemas/String" + }, + "localPath": { + "$ref": "#/components/schemas/String" + } + } + }, + "ProgramSchedule": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/Int32" + }, + "name": { + "$ref": "#/components/schemas/String" + }, + "keepMultiPartEpisodesTogether": { + "$ref": "#/components/schemas/Boolean" + }, + "treatCollectionsAsShows": { + "$ref": "#/components/schemas/Boolean" + }, + "shuffleScheduleItems": { + "$ref": "#/components/schemas/Boolean" + }, + "randomStartPoint": { + "$ref": "#/components/schemas/Boolean" + }, + "fixedStartTimeBehavior": { + "$ref": "#/components/schemas/FixedStartTimeBehavior" + }, + "items": { + "$ref": "#/components/schemas/List`1" + }, + "playouts": { + "$ref": "#/components/schemas/List`1" + }, + "programScheduleAlternates": { + "$ref": "#/components/schemas/List`1" + } + } + }, + "ProgramScheduleAlternate": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/Int32" + }, + "playoutId": { + "$ref": "#/components/schemas/Int32" + }, + "playout": { + "$ref": "#/components/schemas/Playout" + }, + "programScheduleId": { + "$ref": "#/components/schemas/Int32" + }, + "programSchedule": { + "$ref": "#/components/schemas/ProgramSchedule" + }, + "index": { + "$ref": "#/components/schemas/Int32" + }, + "daysOfWeek": { + "$ref": "#/components/schemas/ICollection`1" + }, + "daysOfMonth": { + "$ref": "#/components/schemas/ICollection`1" + }, + "monthsOfYear": { + "$ref": "#/components/schemas/ICollection`1" + } + } + }, + "ProgramScheduleItem": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/Int32" + }, + "index": { + "$ref": "#/components/schemas/Int32" + }, + "startType": { + "$ref": "#/components/schemas/StartType" + }, + "startTime": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "fixedStartTimeBehavior": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "collectionType": { + "$ref": "#/components/schemas/CollectionType" + }, + "guideMode": { + "$ref": "#/components/schemas/GuideMode" + }, + "customTitle": { + "$ref": "#/components/schemas/String" + }, + "programScheduleId": { + "$ref": "#/components/schemas/Int32" + }, + "programSchedule": { + "$ref": "#/components/schemas/ProgramSchedule" + }, + "collectionId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "collection": { + "$ref": "#/components/schemas/Collection" + }, + "mediaItemId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "mediaItem": { + "$ref": "#/components/schemas/MediaItem" + }, + "multiCollectionId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "multiCollection": { + "$ref": "#/components/schemas/MultiCollection" + }, + "smartCollectionId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "smartCollection": { + "$ref": "#/components/schemas/SmartCollection" + }, + "searchTitle": { + "$ref": "#/components/schemas/String" + }, + "searchQuery": { + "$ref": "#/components/schemas/String" + }, + "rerunCollectionId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "rerunCollection": { + "$ref": "#/components/schemas/RerunCollection" + }, + "playlistId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "playlist": { + "$ref": "#/components/schemas/Playlist" + }, + "fakeCollectionKey": { + "$ref": "#/components/schemas/String" + }, + "playbackOrder": { + "$ref": "#/components/schemas/PlaybackOrder" + }, + "marathonGroupBy": { + "$ref": "#/components/schemas/MarathonGroupBy" + }, + "marathonShuffleGroups": { + "$ref": "#/components/schemas/Boolean" + }, + "marathonShuffleItems": { + "$ref": "#/components/schemas/Boolean" + }, + "marathonBatchSize": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "preRollFillerId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "preRollFiller": { + "$ref": "#/components/schemas/FillerPreset" + }, + "midRollFillerId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "midRollFiller": { + "$ref": "#/components/schemas/FillerPreset" + }, + "postRollFillerId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "postRollFiller": { + "$ref": "#/components/schemas/FillerPreset" + }, + "tailFillerId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "tailFiller": { + "$ref": "#/components/schemas/FillerPreset" + }, + "fallbackFillerId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "fallbackFiller": { + "$ref": "#/components/schemas/FillerPreset" + }, + "watermarks": { + "$ref": "#/components/schemas/List`1" + }, + "programScheduleItemWatermarks": { + "$ref": "#/components/schemas/List`1" + }, + "graphicsElements": { + "$ref": "#/components/schemas/List`1" + }, + "programScheduleItemGraphicsElements": { + "$ref": "#/components/schemas/List`1" + }, + "preferredAudioLanguageCode": { + "$ref": "#/components/schemas/String" + }, + "preferredAudioTitle": { + "$ref": "#/components/schemas/String" + }, + "preferredSubtitleLanguageCode": { + "$ref": "#/components/schemas/String" + }, + "subtitleMode": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "fillWithGroupMode": { + "$ref": "#/components/schemas/FillWithGroupMode" + } + } + }, + "ProgramScheduleItemGraphicsElement": { + "type": "object", + "properties": { + "programScheduleItemId": { + "$ref": "#/components/schemas/Int32" + }, + "programScheduleItem": { + "$ref": "#/components/schemas/ProgramScheduleItem" + }, + "graphicsElementId": { + "$ref": "#/components/schemas/Int32" + }, + "graphicsElement": { + "$ref": "#/components/schemas/GraphicsElement" + } + } + }, + "ProgramScheduleItemWatermark": { + "type": "object", + "properties": { + "programScheduleItemId": { + "$ref": "#/components/schemas/Int32" + }, + "programScheduleItem": { + "$ref": "#/components/schemas/ProgramScheduleItem" + }, + "watermarkId": { + "$ref": "#/components/schemas/Int32" + }, + "watermark": { + "$ref": "#/components/schemas/ChannelWatermark" + } + } + }, + "ProgramScheduleViewModel": { + "required": [ + "id", + "name", + "keepMultiPartEpisodesTogether", + "treatCollectionsAsShows", + "shuffleScheduleItems", + "randomStartPoint", + "fixedStartTimeBehavior" + ], + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/Int32" + }, + "name": { + "$ref": "#/components/schemas/String" + }, + "keepMultiPartEpisodesTogether": { + "$ref": "#/components/schemas/Boolean" + }, + "treatCollectionsAsShows": { + "$ref": "#/components/schemas/Boolean" + }, + "shuffleScheduleItems": { + "$ref": "#/components/schemas/Boolean" + }, + "randomStartPoint": { + "$ref": "#/components/schemas/Boolean" + }, + "fixedStartTimeBehavior": { + "$ref": "#/components/schemas/FixedStartTimeBehavior" + } + } + }, + "RemoveItemsFromCollectionRequest": { + "required": [ + "mediaItemIds" + ], + "type": "object", + "properties": { + "mediaItemIds": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/List`1" + } + ] + } + } + }, + "ReplaceBlockItemRequest": { + "required": [ + "index", + "collectionType", + "collectionId", + "multiCollectionId", + "smartCollectionId", + "mediaItemId", + "searchTitle", + "searchQuery", + "playbackOrder", + "includeInProgramGuide", + "disableWatermarks", + "watermarkIds", + "graphicsElementIds" + ], + "type": "object", + "properties": { + "index": { + "$ref": "#/components/schemas/Int32" + }, + "collectionType": { + "$ref": "#/components/schemas/CollectionType" + }, + "collectionId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "multiCollectionId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "smartCollectionId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "mediaItemId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "searchTitle": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/String" + } + ] + }, + "searchQuery": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/String" + } + ] + }, + "playbackOrder": { + "$ref": "#/components/schemas/PlaybackOrder" + }, + "includeInProgramGuide": { + "$ref": "#/components/schemas/Boolean" + }, + "disableWatermarks": { + "$ref": "#/components/schemas/Boolean" + }, + "watermarkIds": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/List`1" + } + ] + }, + "graphicsElementIds": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/List`1" + } + ] + } + } + }, + "ReplaceBlockItemsRequest": { + "required": [ + "blockGroupId", + "name", + "minutes", + "stopScheduling", + "items" + ], + "type": "object", + "properties": { + "blockGroupId": { + "$ref": "#/components/schemas/Int32" + }, + "name": { + "$ref": "#/components/schemas/String" + }, + "minutes": { + "$ref": "#/components/schemas/Int32" + }, + "stopScheduling": { + "$ref": "#/components/schemas/BlockStopScheduling" + }, + "items": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/List`1" + } + ] + } + } + }, + "ReplacePlaylistItemRequest": { + "required": [ + "index", + "collectionType", + "collectionId", + "multiCollectionId", + "smartCollectionId", + "mediaItemId", + "playbackOrder", + "count", + "playAll", + "includeInProgramGuide" + ], + "type": "object", + "properties": { + "index": { + "$ref": "#/components/schemas/Int32" + }, + "collectionType": { + "$ref": "#/components/schemas/CollectionType" + }, + "collectionId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "multiCollectionId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "smartCollectionId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "mediaItemId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "playbackOrder": { + "$ref": "#/components/schemas/PlaybackOrder" + }, + "count": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "playAll": { + "$ref": "#/components/schemas/Boolean" + }, + "includeInProgramGuide": { + "$ref": "#/components/schemas/Boolean" + } + } + }, + "ReplacePlaylistItemsRequest": { + "required": [ + "name", + "items" + ], + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/String" + }, + "items": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/List`1" + } + ] + } + } + }, + "ReplaceTemplateItemRequest": { + "required": [ + "blockId", + "startTime" + ], + "type": "object", + "properties": { + "blockId": { + "$ref": "#/components/schemas/Int32" + }, + "startTime": { + "$ref": "#/components/schemas/TimeSpan" + } + } + }, + "ReplaceTemplateItemsRequest": { + "required": [ + "templateGroupId", + "name", + "items" + ], + "type": "object", + "properties": { + "templateGroupId": { + "$ref": "#/components/schemas/Int32" + }, + "name": { + "$ref": "#/components/schemas/String" + }, + "items": { + "$ref": "#/components/schemas/List`1" + } + } + }, + "RerunCollection": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/Int32" + }, + "name": { + "$ref": "#/components/schemas/String" + }, + "collectionType": { + "$ref": "#/components/schemas/CollectionType" + }, + "collectionId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "collection": { + "$ref": "#/components/schemas/Collection" + }, + "mediaItemId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "mediaItem": { + "$ref": "#/components/schemas/MediaItem" + }, + "multiCollectionId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "multiCollection": { + "$ref": "#/components/schemas/MultiCollection" + }, + "smartCollectionId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "smartCollection": { + "$ref": "#/components/schemas/SmartCollection" + }, + "firstRunPlaybackOrder": { + "$ref": "#/components/schemas/PlaybackOrder" + }, + "rerunPlaybackOrder": { + "$ref": "#/components/schemas/PlaybackOrder" + } + } + }, + "RerunCollectionApiResponse": { + "required": [ + "id", + "name" + ], + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/Int32" + }, + "name": { + "$ref": "#/components/schemas/String" + } + } + }, + "Resolution": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/Int32" + }, + "name": { + "$ref": "#/components/schemas/String" + }, + "isCustom": { + "$ref": "#/components/schemas/Boolean" + }, + "height": { + "$ref": "#/components/schemas/Int32" + }, + "width": { + "$ref": "#/components/schemas/Int32" + } + } + }, + "ResolutionViewModel": { + "required": [ + "id", + "name", + "width", + "height", + "isCustom" + ], + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/Int32" + }, + "name": { + "$ref": "#/components/schemas/String" + }, + "width": { + "$ref": "#/components/schemas/Int32" + }, + "height": { + "$ref": "#/components/schemas/Int32" + }, + "isCustom": { + "$ref": "#/components/schemas/Boolean" + } + } + }, + "ScalingBehavior": { + "enum": [ + "ScaleAndPad", + "Stretch", + "Crop" + ] + }, + "ScanShowRequest": { + "required": [ + "showTitle" + ], + "type": "object", + "properties": { + "showTitle": { + "$ref": "#/components/schemas/String" + }, + "deepScan": { + "$ref": "#/components/schemas/Boolean" + } + } + }, + "ScheduleItemApiResponse": { + "required": [ + "id", + "index", + "startType", + "startTime", + "fixedStartTimeBehavior", + "playoutMode", + "collectionType", + "collection", + "multiCollection", + "smartCollection", + "rerunCollection", + "playlist", + "mediaItem", + "searchTitle", + "searchQuery", + "playbackOrder", + "marathonGroupBy", + "marathonShuffleGroups", + "marathonShuffleItems", + "marathonBatchSize", + "fillWithGroupMode", + "customTitle", + "guideMode", + "preRollFiller", + "midRollFiller", + "postRollFiller", + "tailFiller", + "fallbackFiller", + "watermarks", + "graphicsElements", + "preferredAudioLanguageCode", + "preferredAudioTitle", + "preferredSubtitleLanguageCode", + "subtitleMode", + "count", + "playoutDuration" + ], + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/Int32" + }, + "index": { + "$ref": "#/components/schemas/Int32" + }, + "startType": { + "$ref": "#/components/schemas/StartType" + }, + "startTime": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "fixedStartTimeBehavior": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "playoutMode": { + "$ref": "#/components/schemas/PlayoutMode" + }, + "collectionType": { + "$ref": "#/components/schemas/CollectionType" + }, + "collection": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/CollectionApiResponse" + } + ] + }, + "multiCollection": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/MultiCollectionApiResponse" + } + ] + }, + "smartCollection": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/SmartCollectionApiResponse" + } + ] + }, + "rerunCollection": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/RerunCollectionApiResponse" + } + ] + }, + "playlist": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/PlaylistApiResponse" + } + ] + }, + "mediaItem": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/MediaItemApiResponse" + } + ] + }, + "searchTitle": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/String" + } + ] + }, + "searchQuery": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/String" + } + ] + }, + "playbackOrder": { + "$ref": "#/components/schemas/PlaybackOrder" + }, + "marathonGroupBy": { + "$ref": "#/components/schemas/MarathonGroupBy" + }, + "marathonShuffleGroups": { + "$ref": "#/components/schemas/Boolean" + }, + "marathonShuffleItems": { + "$ref": "#/components/schemas/Boolean" + }, + "marathonBatchSize": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "fillWithGroupMode": { + "$ref": "#/components/schemas/FillWithGroupMode" + }, + "customTitle": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/String" + } + ] + }, + "guideMode": { + "$ref": "#/components/schemas/GuideMode" + }, + "preRollFiller": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/FillerPresetApiResponse" + } + ] + }, + "midRollFiller": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/FillerPresetApiResponse" + } + ] + }, + "postRollFiller": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/FillerPresetApiResponse" + } + ] + }, + "tailFiller": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/FillerPresetApiResponse" + } + ] + }, + "fallbackFiller": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/FillerPresetApiResponse" + } + ] + }, + "watermarks": { + "$ref": "#/components/schemas/List`1" + }, + "graphicsElements": { + "$ref": "#/components/schemas/List`1" + }, + "preferredAudioLanguageCode": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/String" + } + ] + }, + "preferredAudioTitle": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/String" + } + ] + }, + "preferredSubtitleLanguageCode": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/String" + } + ] + }, + "subtitleMode": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "count": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "playoutDuration": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + } + } + }, + "SearchPageMap": { + "required": [ + "pageMap" + ], + "type": "object", + "properties": { + "pageMap": { + "$ref": "#/components/schemas/Dictionary`2" + } + } + }, + "SearchResultAllItemsViewModel": { + "required": [ + "movieIds", + "showIds", + "seasonIds", + "episodeIds", + "artistIds", + "musicVideoIds", + "otherVideoIds", + "songIds", + "imageIds", + "remoteStreamIds" + ], + "type": "object", + "properties": { + "movieIds": { + "$ref": "#/components/schemas/List`1" + }, + "showIds": { + "$ref": "#/components/schemas/List`1" + }, + "seasonIds": { + "$ref": "#/components/schemas/List`1" + }, + "episodeIds": { + "$ref": "#/components/schemas/List`1" + }, + "artistIds": { + "$ref": "#/components/schemas/List`1" + }, + "musicVideoIds": { + "$ref": "#/components/schemas/List`1" + }, + "otherVideoIds": { + "$ref": "#/components/schemas/List`1" + }, + "songIds": { + "$ref": "#/components/schemas/List`1" + }, + "imageIds": { + "$ref": "#/components/schemas/List`1" + }, + "remoteStreamIds": { + "$ref": "#/components/schemas/List`1" + } + } + }, + "SmartCollection": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/Int32" + }, + "name": { + "$ref": "#/components/schemas/String" + }, + "query": { + "$ref": "#/components/schemas/String" + }, + "multiCollections": { + "$ref": "#/components/schemas/List`1" + }, + "multiCollectionSmartItems": { + "$ref": "#/components/schemas/List`1" + } + } + }, + "SmartCollectionApiResponse": { + "required": [ + "id", + "name", + "query" + ], + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/Int32" + }, + "name": { + "$ref": "#/components/schemas/String" + }, + "query": { + "$ref": "#/components/schemas/String" + } + } + }, + "SmartCollectionResponseModel": { + "required": [ + "id", + "name", + "query" + ], + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/Int32" + }, + "name": { + "$ref": "#/components/schemas/String" + }, + "query": { + "$ref": "#/components/schemas/String" + } + } + }, + "SongCardResultsViewModel": { + "required": [ + "count", + "cards", + "pageMap" + ], + "type": "object", + "properties": { + "count": { + "$ref": "#/components/schemas/Int32" + }, + "cards": { + "$ref": "#/components/schemas/List`1" + }, + "pageMap": { + "$ref": "#/components/schemas/SearchPageMap" + } + } + }, + "SongCardViewModel": { + "required": [ + "songId", + "title", + "subtitle", + "sortTitle", + "poster", + "state" + ], + "type": "object", + "properties": { + "songId": { + "$ref": "#/components/schemas/Int32" + }, + "customIndex": { + "$ref": "#/components/schemas/Int32" + }, + "mediaItemId": { + "$ref": "#/components/schemas/Int32" + }, + "title": { + "$ref": "#/components/schemas/String" + }, + "subtitle": { + "$ref": "#/components/schemas/String" + }, + "sortTitle": { + "$ref": "#/components/schemas/String" + }, + "poster": { + "$ref": "#/components/schemas/String" + }, + "state": { + "$ref": "#/components/schemas/MediaItemState" + }, + "hasMediaInfo": { + "$ref": "#/components/schemas/Boolean" + } + } + }, + "StartType": { + "type": "integer" + }, + "StreamingMode": { + "type": "integer" + }, + "String": { + "type": "string" + }, + "TelevisionEpisodeCardResultsViewModel": { + "required": [ + "count", + "cards", + "pageMap" + ], + "type": "object", + "properties": { + "count": { + "$ref": "#/components/schemas/Int32" + }, + "cards": { + "$ref": "#/components/schemas/List`1" + }, + "pageMap": { + "$ref": "#/components/schemas/SearchPageMap" + } + } + }, + "TelevisionEpisodeCardViewModel": { + "required": [ + "episodeId", + "aired", + "showTitle", + "showId", + "seasonId", + "season", + "episode", + "plot", + "directors", + "writers", + "path", + "localPath", + "title", + "sortTitle", + "poster", + "state" + ], + "type": "object", + "properties": { + "episodeId": { + "$ref": "#/components/schemas/Int32" + }, + "aired": { + "$ref": "#/components/schemas/DateTime" + }, + "showTitle": { + "$ref": "#/components/schemas/String" + }, + "showId": { + "$ref": "#/components/schemas/Int32" + }, + "seasonId": { + "$ref": "#/components/schemas/Int32" + }, + "season": { + "$ref": "#/components/schemas/Int32" + }, + "episode": { + "$ref": "#/components/schemas/Int32" + }, + "plot": { + "$ref": "#/components/schemas/String" + }, + "directors": { + "$ref": "#/components/schemas/List`1" + }, + "writers": { + "$ref": "#/components/schemas/List`1" + }, + "path": { + "$ref": "#/components/schemas/String" + }, + "localPath": { + "$ref": "#/components/schemas/String" + }, + "mediaItemId": { + "$ref": "#/components/schemas/Int32" + }, + "title": { + "$ref": "#/components/schemas/String" + }, + "subtitle": { + "$ref": "#/components/schemas/String" + }, + "sortTitle": { + "$ref": "#/components/schemas/String" + }, + "poster": { + "$ref": "#/components/schemas/String" + }, + "state": { + "$ref": "#/components/schemas/MediaItemState" + }, + "hasMediaInfo": { + "$ref": "#/components/schemas/Boolean" + } + } + }, + "TelevisionSeasonCardResultsViewModel": { + "required": [ + "count", + "cards", + "pageMap" + ], + "type": "object", + "properties": { + "count": { + "$ref": "#/components/schemas/Int32" + }, + "cards": { + "$ref": "#/components/schemas/List`1" + }, + "pageMap": { + "$ref": "#/components/schemas/SearchPageMap" + } + } + }, + "TelevisionSeasonCardViewModel": { + "required": [ + "showTitle", + "televisionSeasonId", + "televisionSeasonNumber", + "placeholder", + "title", + "subtitle", + "sortTitle", + "poster", + "state" + ], + "type": "object", + "properties": { + "showTitle": { + "$ref": "#/components/schemas/String" + }, + "televisionSeasonId": { + "$ref": "#/components/schemas/Int32" + }, + "televisionSeasonNumber": { + "$ref": "#/components/schemas/Int32" + }, + "placeholder": { + "$ref": "#/components/schemas/String" + }, + "mediaItemId": { + "$ref": "#/components/schemas/Int32" + }, + "title": { + "$ref": "#/components/schemas/String" + }, + "subtitle": { + "$ref": "#/components/schemas/String" + }, + "sortTitle": { + "$ref": "#/components/schemas/String" + }, + "poster": { + "$ref": "#/components/schemas/String" + }, + "state": { + "$ref": "#/components/schemas/MediaItemState" + }, + "hasMediaInfo": { + "$ref": "#/components/schemas/Boolean" + } + } + }, + "TelevisionShowCardResultsViewModel": { + "required": [ + "count", + "cards", + "pageMap" + ], + "type": "object", + "properties": { + "count": { + "$ref": "#/components/schemas/Int32" + }, + "cards": { + "$ref": "#/components/schemas/List`1" + }, + "pageMap": { + "$ref": "#/components/schemas/SearchPageMap" + } + } + }, + "TelevisionShowCardViewModel": { + "required": [ + "televisionShowId", + "title", + "subtitle", + "sortTitle", + "poster", + "state" + ], + "type": "object", + "properties": { + "televisionShowId": { + "$ref": "#/components/schemas/Int32" + }, + "mediaItemId": { + "$ref": "#/components/schemas/Int32" + }, + "title": { + "$ref": "#/components/schemas/String" + }, + "subtitle": { + "$ref": "#/components/schemas/String" + }, + "sortTitle": { + "$ref": "#/components/schemas/String" + }, + "poster": { + "$ref": "#/components/schemas/String" + }, + "state": { + "$ref": "#/components/schemas/MediaItemState" + }, + "hasMediaInfo": { + "$ref": "#/components/schemas/Boolean" + } + } + }, + "Template": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/Int32" + }, + "templateGroupId": { + "$ref": "#/components/schemas/Int32" + }, + "templateGroup": { + "$ref": "#/components/schemas/TemplateGroup" + }, + "name": { + "$ref": "#/components/schemas/String" + }, + "items": { + "$ref": "#/components/schemas/ICollection`1" + }, + "playoutTemplates": { + "$ref": "#/components/schemas/ICollection`1" + }, + "dateUpdated": { + "$ref": "#/components/schemas/DateTime" + } + } + }, + "TemplateGroup": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/Int32" + }, + "name": { + "$ref": "#/components/schemas/String" + }, + "templates": { + "$ref": "#/components/schemas/ICollection`1" + } + } + }, + "TemplateGroupViewModel": { + "required": [ + "id", + "name", + "templateCount" + ], + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/Int32" + }, + "name": { + "$ref": "#/components/schemas/String" + }, + "templateCount": { + "$ref": "#/components/schemas/Int32" + } + } + }, + "TemplateItem": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/Int32" + }, + "templateId": { + "$ref": "#/components/schemas/Int32" + }, + "template": { + "$ref": "#/components/schemas/Template" + }, + "blockId": { + "$ref": "#/components/schemas/Int32" + }, + "block": { + "$ref": "#/components/schemas/Block" + }, + "startTime": { + "$ref": "#/components/schemas/TimeSpan" + } + } + }, + "TemplateItemViewModel": { + "required": [ + "blockId", + "blockName", + "startTime", + "endTime" + ], + "type": "object", + "properties": { + "blockId": { + "$ref": "#/components/schemas/Int32" + }, + "blockName": { + "$ref": "#/components/schemas/String" + }, + "startTime": { + "$ref": "#/components/schemas/DateTime" + }, + "endTime": { + "$ref": "#/components/schemas/DateTime" + } + } + }, + "TemplateViewModel": { + "required": [ + "id", + "templateGroupId", + "groupName", + "name" + ], + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/Int32" + }, + "templateGroupId": { + "$ref": "#/components/schemas/Int32" + }, + "groupName": { + "$ref": "#/components/schemas/String" + }, + "name": { + "$ref": "#/components/schemas/String" + } + } + }, + "TimeSpan": { + "pattern": "^-?(\\d+\\.)?\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,7})?$", + "type": "string" + }, + "TraktList": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/Int32" + }, + "traktId": { + "$ref": "#/components/schemas/Int32" + }, + "user": { + "$ref": "#/components/schemas/String" + }, + "list": { + "$ref": "#/components/schemas/String" + }, + "name": { + "$ref": "#/components/schemas/String" + }, + "description": { + "$ref": "#/components/schemas/String" + }, + "itemCount": { + "$ref": "#/components/schemas/Int32" + }, + "autoRefresh": { + "$ref": "#/components/schemas/Boolean" + }, + "generatePlaylist": { + "$ref": "#/components/schemas/Boolean" + }, + "playlistId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "playlist": { + "$ref": "#/components/schemas/Playlist" + }, + "lastUpdate": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "lastMatch": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "items": { + "$ref": "#/components/schemas/List`1" + } + } + }, + "TraktListItem": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/Int32" + }, + "traktListId": { + "$ref": "#/components/schemas/Int32" + }, + "traktList": { + "$ref": "#/components/schemas/TraktList" + }, + "kind": { + "$ref": "#/components/schemas/TraktListItemKind" + }, + "traktId": { + "$ref": "#/components/schemas/Int32" + }, + "rank": { + "$ref": "#/components/schemas/Int32" + }, + "title": { + "$ref": "#/components/schemas/String" + }, + "year": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "season": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "episode": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "guids": { + "$ref": "#/components/schemas/List`1" + }, + "mediaItemId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "mediaItem": { + "$ref": "#/components/schemas/MediaItem" + }, + "displayTitle": { + "$ref": "#/components/schemas/String" + } + } + }, + "TraktListItemGuid": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/Int32" + }, + "guid": { + "$ref": "#/components/schemas/String" + }, + "traktListItemId": { + "$ref": "#/components/schemas/Int32" + }, + "traktListItem": { + "$ref": "#/components/schemas/TraktListItem" + } + } + }, + "TraktListItemKind": { + "type": "integer" + }, + "TraktListViewModel": { + "required": [ + "id", + "traktId", + "slug", "name", - "fFmpegProfile", - "language", - "streamingMode" + "itemCount", + "matchCount", + "autoRefresh", + "generatePlaylist" + ], + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/Int32" + }, + "traktId": { + "$ref": "#/components/schemas/Int32" + }, + "slug": { + "$ref": "#/components/schemas/String" + }, + "name": { + "$ref": "#/components/schemas/String" + }, + "itemCount": { + "$ref": "#/components/schemas/Int32" + }, + "matchCount": { + "$ref": "#/components/schemas/Int32" + }, + "autoRefresh": { + "$ref": "#/components/schemas/Boolean" + }, + "generatePlaylist": { + "$ref": "#/components/schemas/Boolean" + } + } + }, + "TreeGroupViewModel": { + "required": [ + "id", + "name", + "children" + ], + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/Int32" + }, + "name": { + "$ref": "#/components/schemas/String" + }, + "children": { + "$ref": "#/components/schemas/List`1" + }, + "isSystem": { + "$ref": "#/components/schemas/Boolean" + } + } + }, + "TreeItemViewModel": { + "required": [ + "id", + "name" + ], + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/Int32" + }, + "name": { + "$ref": "#/components/schemas/String" + }, + "isSystem": { + "$ref": "#/components/schemas/Boolean" + } + } + }, + "TreeViewModel": { + "required": [ + "groups" + ], + "type": "object", + "properties": { + "groups": { + "$ref": "#/components/schemas/List`1" + } + } + }, + "UpdateChannelRequest": { + "required": [ + "name", + "number", + "group", + "categories", + "fFmpegProfileId", + "logoPath", + "logoContentType", + "streamSelectorMode", + "streamSelector", + "preferredAudioLanguageCode", + "preferredAudioTitle", + "playoutSource", + "playoutMode", + "mirrorSourceChannelId", + "playoutOffset", + "streamingMode", + "watermarkId", + "fallbackFillerId", + "preferredSubtitleLanguageCode", + "subtitleMode", + "musicVideoCreditsMode", + "musicVideoCreditsTemplate", + "songVideoMode", + "transcodeMode", + "idleBehavior", + "isEnabled", + "showInEpg" + ], + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/String" + }, + "number": { + "$ref": "#/components/schemas/String" + }, + "group": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/String" + } + ] + }, + "categories": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/String" + } + ] + }, + "fFmpegProfileId": { + "$ref": "#/components/schemas/Int32" + }, + "logoPath": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/String" + } + ] + }, + "logoContentType": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/String" + } + ] + }, + "streamSelectorMode": { + "$ref": "#/components/schemas/ChannelStreamSelectorMode" + }, + "streamSelector": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/String" + } + ] + }, + "preferredAudioLanguageCode": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/String" + } + ] + }, + "preferredAudioTitle": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/String" + } + ] + }, + "playoutSource": { + "$ref": "#/components/schemas/ChannelPlayoutSource" + }, + "playoutMode": { + "$ref": "#/components/schemas/ChannelPlayoutMode" + }, + "mirrorSourceChannelId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "playoutOffset": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "streamingMode": { + "$ref": "#/components/schemas/StreamingMode" + }, + "watermarkId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "fallbackFillerId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "preferredSubtitleLanguageCode": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/String" + } + ] + }, + "subtitleMode": { + "$ref": "#/components/schemas/ChannelSubtitleMode" + }, + "musicVideoCreditsMode": { + "$ref": "#/components/schemas/ChannelMusicVideoCreditsMode" + }, + "musicVideoCreditsTemplate": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/String" + } + ] + }, + "songVideoMode": { + "$ref": "#/components/schemas/ChannelSongVideoMode" + }, + "transcodeMode": { + "$ref": "#/components/schemas/ChannelTranscodeMode" + }, + "idleBehavior": { + "$ref": "#/components/schemas/ChannelIdleBehavior" + }, + "isEnabled": { + "$ref": "#/components/schemas/Boolean" + }, + "showInEpg": { + "$ref": "#/components/schemas/Boolean" + } + } + }, + "UpdateCollectionRequest": { + "required": [ + "name" + ], + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/String" + } + } + }, + "UpdateDecoBreakContentRequest": { + "required": [ + "id", + "collectionType", + "collectionId", + "mediaItemId", + "multiCollectionId", + "smartCollectionId", + "playlistId", + "placement" ], "type": "object", "properties": { "id": { - "type": "integer", - "format": "int32" + "$ref": "#/components/schemas/Int32" + }, + "collectionType": { + "$ref": "#/components/schemas/CollectionType" + }, + "collectionId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "mediaItemId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "multiCollectionId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "smartCollectionId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "playlistId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "placement": { + "$ref": "#/components/schemas/DecoBreakPlacement" + } + } + }, + "UpdateDecoRequest": { + "required": [ + "decoGroupId", + "name", + "watermarkMode", + "watermarkIds", + "useWatermarkDuringFiller", + "graphicsElementsMode", + "graphicsElementIds", + "useGraphicsElementsDuringFiller", + "breakContentMode", + "breakContent", + "defaultFillerMode", + "defaultFillerCollectionType", + "defaultFillerCollectionId", + "defaultFillerMediaItemId", + "defaultFillerMultiCollectionId", + "defaultFillerSmartCollectionId", + "defaultFillerTrimToFit", + "deadAirFallbackMode", + "deadAirFallbackCollectionType", + "deadAirFallbackCollectionId", + "deadAirFallbackMediaItemId", + "deadAirFallbackMultiCollectionId", + "deadAirFallbackSmartCollectionId" + ], + "type": "object", + "properties": { + "decoGroupId": { + "$ref": "#/components/schemas/Int32" + }, + "name": { + "$ref": "#/components/schemas/String" + }, + "watermarkMode": { + "$ref": "#/components/schemas/DecoMode" + }, + "watermarkIds": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/List`1" + } + ] + }, + "useWatermarkDuringFiller": { + "$ref": "#/components/schemas/Boolean" + }, + "graphicsElementsMode": { + "$ref": "#/components/schemas/DecoMode" + }, + "graphicsElementIds": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/List`1" + } + ] + }, + "useGraphicsElementsDuringFiller": { + "$ref": "#/components/schemas/Boolean" + }, + "breakContentMode": { + "$ref": "#/components/schemas/DecoMode" + }, + "breakContent": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/List`1" + } + ] + }, + "defaultFillerMode": { + "$ref": "#/components/schemas/DecoMode" + }, + "defaultFillerCollectionType": { + "$ref": "#/components/schemas/CollectionType" + }, + "defaultFillerCollectionId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "defaultFillerMediaItemId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, + "defaultFillerMultiCollectionId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] }, - "number": { - "type": [ - "null", - "string" + "defaultFillerSmartCollectionId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } ] }, - "name": { - "type": [ - "null", - "string" + "defaultFillerTrimToFit": { + "$ref": "#/components/schemas/Boolean" + }, + "deadAirFallbackMode": { + "$ref": "#/components/schemas/DecoMode" + }, + "deadAirFallbackCollectionType": { + "$ref": "#/components/schemas/CollectionType" + }, + "deadAirFallbackCollectionId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } ] }, - "fFmpegProfile": { - "type": [ - "null", - "string" + "deadAirFallbackMediaItemId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } ] }, - "language": { - "type": [ - "null", - "string" + "deadAirFallbackMultiCollectionId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } ] }, - "streamingMode": { - "type": [ - "null", - "string" + "deadAirFallbackSmartCollectionId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } ] } } }, - "CombinedVersion": { + "UpdateDefaultDecoRequest": { "required": [ - "apiVersion", - "appVersion" + "decoId" ], "type": "object", "properties": { - "apiVersion": { - "type": "integer", - "format": "int32" - }, - "appVersion": { - "type": [ - "null", - "string" + "decoId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } ] } } }, - "CreateFFmpegProfile": { + "UpdateEmbyLibraryPreferencesRequest": { + "required": [ + "preferences" + ], + "type": "object", + "properties": { + "preferences": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/List`1" + } + ] + } + } + }, + "UpdateEmbyPathReplacementsRequest": { + "required": [ + "pathReplacements" + ], + "type": "object", + "properties": { + "pathReplacements": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/List`1" + } + ] + } + } + }, + "UpdateFFmpegProfile": { "required": [ + "fFmpegProfileId", "name", "threadCount", "hardwareAcceleration", @@ -678,6 +16707,7 @@ "audioBitrate", "audioBufferSize", "normalizeLoudnessMode", + "targetLoudness", "audioChannels", "audioSampleRate", "normalizeFramerate", @@ -685,44 +16715,39 @@ ], "type": "object", "properties": { + "fFmpegProfileId": { + "$ref": "#/components/schemas/Int32" + }, "name": { - "type": [ - "null", - "string" - ] + "$ref": "#/components/schemas/String" }, "threadCount": { - "type": "integer", - "format": "int32" + "$ref": "#/components/schemas/Int32" }, "hardwareAcceleration": { "$ref": "#/components/schemas/HardwareAccelerationKind" }, "vaapiDisplay": { - "type": [ - "null", - "string" - ] + "$ref": "#/components/schemas/String" }, "vaapiDriver": { "$ref": "#/components/schemas/VaapiDriver" }, "vaapiDevice": { - "type": [ - "null", - "string" - ] + "$ref": "#/components/schemas/String" }, "qsvExtraHardwareFrames": { - "type": [ - "null", - "integer" - ], - "format": "int32" + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] }, "resolutionId": { - "type": "integer", - "format": "int32" + "$ref": "#/components/schemas/Int32" }, "scalingBehavior": { "$ref": "#/components/schemas/ScalingBehavior" @@ -731,30 +16756,22 @@ "$ref": "#/components/schemas/FFmpegProfileVideoFormat" }, "videoProfile": { - "type": [ - "null", - "string" - ] + "$ref": "#/components/schemas/String" }, "videoPreset": { - "type": [ - "null", - "string" - ] + "$ref": "#/components/schemas/String" }, "allowBFrames": { - "type": "boolean" + "$ref": "#/components/schemas/Boolean" }, "bitDepth": { "$ref": "#/components/schemas/FFmpegProfileBitDepth" }, "videoBitrate": { - "type": "integer", - "format": "int32" + "$ref": "#/components/schemas/Int32" }, "videoBufferSize": { - "type": "integer", - "format": "int32" + "$ref": "#/components/schemas/Int32" }, "tonemapAlgorithm": { "$ref": "#/components/schemas/FFmpegProfileTonemapAlgorithm" @@ -763,340 +16780,348 @@ "$ref": "#/components/schemas/FFmpegProfileAudioFormat" }, "audioBitrate": { - "type": "integer", - "format": "int32" + "$ref": "#/components/schemas/Int32" }, "audioBufferSize": { - "type": "integer", - "format": "int32" + "$ref": "#/components/schemas/Int32" }, "normalizeLoudnessMode": { "$ref": "#/components/schemas/NormalizeLoudnessMode" }, + "targetLoudness": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] + }, "audioChannels": { - "type": "integer", - "format": "int32" + "$ref": "#/components/schemas/Int32" }, "audioSampleRate": { - "type": "integer", - "format": "int32" + "$ref": "#/components/schemas/Int32" }, "normalizeFramerate": { - "type": "boolean" + "$ref": "#/components/schemas/Boolean" }, "deinterlaceVideo": { - "type": "boolean" - } - } - }, - "CreateSmartCollection": { - "required": [ - "query", - "name" - ], - "type": "object", - "properties": { - "query": { - "type": [ - "null", - "string" - ] - }, - "name": { - "type": [ - "null", - "string" - ] + "$ref": "#/components/schemas/Boolean" } } }, - "FFmpegFullProfileResponseModel": { + "UpdateFillerPresetRequest": { "required": [ - "id", "name", - "threadCount", - "hardwareAcceleration", - "vaapiDisplay", - "vaapiDriver", - "vaapiDevice", - "qsvExtraHardwareFrames", - "resolution", - "scalingBehavior", - "videoFormat", - "videoProfile", - "videoPreset", - "allowBFrames", - "bitDepth", - "videoBitrate", - "videoBufferSize", - "tonemapAlgorithm", - "audioFormat", - "audioBitrate", - "audioBufferSize", - "normalizeLoudnessMode", - "audioChannels", - "audioSampleRate", - "normalizeFramerate", - "deinterlaceVideo" + "fillerKind", + "fillerMode", + "duration", + "count", + "padToNearestMinute", + "allowWatermarks", + "collectionType", + "collectionId", + "mediaItemId", + "multiCollectionId", + "smartCollectionId", + "playlistId", + "expression", + "useChaptersAsMediaItems" ], "type": "object", "properties": { - "id": { - "type": "integer", - "format": "int32" - }, "name": { - "type": [ - "null", - "string" - ] + "$ref": "#/components/schemas/String" }, - "threadCount": { - "type": "integer", - "format": "int32" + "fillerKind": { + "$ref": "#/components/schemas/FillerKind" }, - "hardwareAcceleration": { - "$ref": "#/components/schemas/HardwareAccelerationKind" + "fillerMode": { + "$ref": "#/components/schemas/FillerMode" }, - "vaapiDisplay": { - "type": [ - "null", - "string" + "duration": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } ] }, - "vaapiDriver": { - "$ref": "#/components/schemas/VaapiDriver" - }, - "vaapiDevice": { - "type": [ - "null", - "string" + "count": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } ] }, - "qsvExtraHardwareFrames": { - "type": [ - "null", - "integer" - ], - "format": "int32" - }, - "resolution": { - "type": [ - "null", - "string" + "padToNearestMinute": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } ] }, - "scalingBehavior": { - "$ref": "#/components/schemas/ScalingBehavior" + "allowWatermarks": { + "$ref": "#/components/schemas/Boolean" }, - "videoFormat": { - "$ref": "#/components/schemas/FFmpegProfileVideoFormat" + "collectionType": { + "$ref": "#/components/schemas/CollectionType" }, - "videoProfile": { - "type": [ - "null", - "string" + "collectionId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } ] }, - "videoPreset": { - "type": [ - "null", - "string" + "mediaItemId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } ] }, - "allowBFrames": { - "type": "boolean" - }, - "bitDepth": { - "$ref": "#/components/schemas/FFmpegProfileBitDepth" - }, - "videoBitrate": { - "type": "integer", - "format": "int32" - }, - "videoBufferSize": { - "type": "integer", - "format": "int32" - }, - "tonemapAlgorithm": { - "$ref": "#/components/schemas/FFmpegProfileTonemapAlgorithm" - }, - "audioFormat": { - "$ref": "#/components/schemas/FFmpegProfileAudioFormat" - }, - "audioBitrate": { - "type": "integer", - "format": "int32" - }, - "audioBufferSize": { - "type": "integer", - "format": "int32" - }, - "normalizeLoudnessMode": { - "$ref": "#/components/schemas/NormalizeLoudnessMode" - }, - "audioChannels": { - "type": "integer", - "format": "int32" + "multiCollectionId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] }, - "audioSampleRate": { - "type": "integer", - "format": "int32" + "smartCollectionId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] }, - "normalizeFramerate": { - "type": "boolean" + "playlistId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } + ] }, - "deinterlaceVideo": { - "type": [ - "null", - "boolean" + "expression": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/String" + } ] + }, + "useChaptersAsMediaItems": { + "$ref": "#/components/schemas/Boolean" } } }, - "FFmpegProfileAudioFormat": { - "enum": [ - "None", - "Aac", - "Ac3", - "AacLatm", - "Copy" - ] + "UpdateJellyfinLibraryPreferencesRequest": { + "required": [ + "preferences" + ], + "type": "object", + "properties": { + "preferences": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/List`1" + } + ] + } + } }, - "FFmpegProfileBitDepth": { - "enum": [ - "EightBit", - "TenBit" - ] + "UpdateJellyfinPathReplacementsRequest": { + "required": [ + "pathReplacements" + ], + "type": "object", + "properties": { + "pathReplacements": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/List`1" + } + ] + } + } }, - "FFmpegProfileTonemapAlgorithm": { - "enum": [ - "Linear", - "Clip", - "Gamma", - "Reinhard", - "Mobius", - "Hable" - ] + "UpdateLibraryRefreshIntervalRequest": { + "required": [ + "interval" + ], + "type": "object", + "properties": { + "interval": { + "$ref": "#/components/schemas/Int32" + } + } }, - "FFmpegProfileVideoFormat": { - "enum": [ - "None", - "H264", - "Hevc", - "Mpeg2Video", - "Av1", - "Copy" - ] + "UpdateLocalLibraryPathRequest": { + "required": [ + "id", + "path" + ], + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/Int32" + }, + "path": { + "$ref": "#/components/schemas/String" + } + } }, - "HardwareAccelerationKind": { - "enum": [ - "None", - "Qsv", - "Nvenc", - "Vaapi", - "VideoToolbox", - "Amf", - "V4l2m2m", - "Rkmpp" - ] + "UpdateLocalLibraryRequest": { + "required": [ + "name", + "paths" + ], + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/String" + }, + "paths": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/List`1" + } + ] + } + } }, - "HlsSessionModel": { + "UpdateMultiCollectionItemRequest": { "required": [ - "channelNumber", - "state", - "transcodedUntil", - "lastAccess" + "collectionId", + "smartCollectionId", + "scheduleAsGroup", + "playbackOrder" ], "type": "object", "properties": { - "channelNumber": { - "type": [ - "null", - "string" + "collectionId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } ] }, - "state": { - "type": [ - "null", - "string" + "smartCollectionId": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Nullable`1" + } ] }, - "transcodedUntil": { - "type": "string", - "format": "date-time" + "scheduleAsGroup": { + "$ref": "#/components/schemas/Boolean" }, - "lastAccess": { - "type": "string", - "format": "date-time" + "playbackOrder": { + "$ref": "#/components/schemas/PlaybackOrder" } } }, - "NormalizeLoudnessMode": { - "enum": [ - "Off", - "LoudNorm" - ] - }, - "ResolutionViewModel": { + "UpdateMultiCollectionRequest": { "required": [ - "id", "name", - "width", - "height", - "isCustom" + "items" ], "type": "object", "properties": { - "id": { - "type": "integer", - "format": "int32" - }, "name": { - "type": [ - "null", - "string" - ] - }, - "width": { - "type": "integer", - "format": "int32" - }, - "height": { - "type": "integer", - "format": "int32" + "$ref": "#/components/schemas/String" }, - "isCustom": { - "type": "boolean" + "items": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/List`1" + } + ] } } }, - "ScalingBehavior": { - "enum": [ - "ScaleAndPad", - "Stretch", - "Crop" - ] + "UpdatePlexLibraryPreferencesRequest": { + "required": [ + "preferences" + ], + "type": "object", + "properties": { + "preferences": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/List`1" + } + ] + } + } }, - "ScanShowRequest": { + "UpdatePlexPathReplacementsRequest": { "required": [ - "showTitle" + "pathReplacements" ], "type": "object", "properties": { - "showTitle": { - "type": [ - "null", - "string" + "pathReplacements": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/List`1" + } ] - }, - "deepScan": { - "type": "boolean", - "default": false } } }, - "SmartCollectionResponseModel": { + "UpdateSmartCollection": { "required": [ "id", "name", @@ -1105,208 +17130,346 @@ "type": "object", "properties": { "id": { - "type": "integer", - "format": "int32" + "$ref": "#/components/schemas/Int32" }, "name": { - "type": [ - "null", - "string" - ] + "$ref": "#/components/schemas/String" }, "query": { - "type": [ - "null", - "string" - ] + "$ref": "#/components/schemas/String" } } }, - "UpdateFFmpegProfile": { + "UpdateTraktListRequest": { "required": [ - "fFmpegProfileId", - "name", - "threadCount", - "hardwareAcceleration", - "vaapiDisplay", - "vaapiDriver", - "vaapiDevice", - "qsvExtraHardwareFrames", - "resolutionId", - "scalingBehavior", - "videoFormat", - "videoProfile", - "videoPreset", - "allowBFrames", - "bitDepth", - "videoBitrate", - "videoBufferSize", - "tonemapAlgorithm", - "audioFormat", - "audioBitrate", - "audioBufferSize", - "normalizeLoudnessMode", - "audioChannels", - "audioSampleRate", - "normalizeFramerate", - "deinterlaceVideo" + "autoRefresh", + "generatePlaylist" ], "type": "object", "properties": { - "fFmpegProfileId": { - "type": "integer", - "format": "int32" + "autoRefresh": { + "$ref": "#/components/schemas/Boolean" }, + "generatePlaylist": { + "$ref": "#/components/schemas/Boolean" + } + } + }, + "UpdateWatermarkRequest": { + "required": [ + "name", + "imagePath", + "imageContentType", + "mode", + "imageSource", + "location", + "size", + "width", + "horizontalMargin", + "verticalMargin", + "frequencyMinutes", + "durationSeconds", + "opacity", + "placeWithinSourceContent", + "opacityExpression", + "zIndex" + ], + "type": "object", + "properties": { "name": { - "type": [ - "null", - "string" + "$ref": "#/components/schemas/String" + }, + "imagePath": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/String" + } ] }, - "threadCount": { - "type": "integer", - "format": "int32" + "imageContentType": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/String" + } + ] }, - "hardwareAcceleration": { - "$ref": "#/components/schemas/HardwareAccelerationKind" + "mode": { + "$ref": "#/components/schemas/ChannelWatermarkMode" }, - "vaapiDisplay": { - "type": [ - "null", - "string" - ] + "imageSource": { + "$ref": "#/components/schemas/ChannelWatermarkImageSource" }, - "vaapiDriver": { - "$ref": "#/components/schemas/VaapiDriver" + "location": { + "$ref": "#/components/schemas/WatermarkLocation" }, - "vaapiDevice": { - "type": [ - "null", - "string" - ] + "size": { + "$ref": "#/components/schemas/WatermarkSize" }, - "qsvExtraHardwareFrames": { - "type": [ - "null", - "integer" - ], - "format": "int32" + "width": { + "$ref": "#/components/schemas/Double" }, - "resolutionId": { - "type": "integer", - "format": "int32" + "horizontalMargin": { + "$ref": "#/components/schemas/Double" }, - "scalingBehavior": { - "$ref": "#/components/schemas/ScalingBehavior" + "verticalMargin": { + "$ref": "#/components/schemas/Double" }, - "videoFormat": { - "$ref": "#/components/schemas/FFmpegProfileVideoFormat" + "frequencyMinutes": { + "$ref": "#/components/schemas/Int32" }, - "videoProfile": { - "type": [ - "null", - "string" + "durationSeconds": { + "$ref": "#/components/schemas/Int32" + }, + "opacity": { + "$ref": "#/components/schemas/Int32" + }, + "placeWithinSourceContent": { + "$ref": "#/components/schemas/Boolean" + }, + "opacityExpression": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/String" + } ] }, - "videoPreset": { - "type": [ - "null", - "string" + "zIndex": { + "$ref": "#/components/schemas/Int32" + } + } + }, + "VaapiDriver": { + "enum": [ + "Default", + "iHD", + "i965", + "RadeonSI", + "Nouveau" + ] + }, + "VideoScanKind": { + "type": "integer" + }, + "WatermarkApiResponse": { + "required": [ + "id", + "name", + "imagePath", + "mode", + "imageSource", + "location", + "size", + "width", + "horizontalMargin", + "verticalMargin", + "frequencyMinutes", + "durationSeconds", + "opacity", + "placeWithinSourceContent", + "opacityExpression", + "zIndex" + ], + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/Int32" + }, + "name": { + "$ref": "#/components/schemas/String" + }, + "imagePath": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/String" + } ] }, - "allowBFrames": { - "type": "boolean" + "mode": { + "$ref": "#/components/schemas/ChannelWatermarkMode" }, - "bitDepth": { - "$ref": "#/components/schemas/FFmpegProfileBitDepth" + "imageSource": { + "$ref": "#/components/schemas/ChannelWatermarkImageSource" }, - "videoBitrate": { - "type": "integer", - "format": "int32" + "location": { + "$ref": "#/components/schemas/WatermarkLocation" }, - "videoBufferSize": { - "type": "integer", - "format": "int32" + "size": { + "$ref": "#/components/schemas/WatermarkSize" }, - "tonemapAlgorithm": { - "$ref": "#/components/schemas/FFmpegProfileTonemapAlgorithm" + "width": { + "$ref": "#/components/schemas/Double" }, - "audioFormat": { - "$ref": "#/components/schemas/FFmpegProfileAudioFormat" + "horizontalMargin": { + "$ref": "#/components/schemas/Double" }, - "audioBitrate": { - "type": "integer", - "format": "int32" + "verticalMargin": { + "$ref": "#/components/schemas/Double" }, - "audioBufferSize": { - "type": "integer", - "format": "int32" + "frequencyMinutes": { + "$ref": "#/components/schemas/Int32" }, - "normalizeLoudnessMode": { - "$ref": "#/components/schemas/NormalizeLoudnessMode" + "durationSeconds": { + "$ref": "#/components/schemas/Int32" }, - "audioChannels": { - "type": "integer", - "format": "int32" + "opacity": { + "$ref": "#/components/schemas/Int32" }, - "audioSampleRate": { - "type": "integer", - "format": "int32" + "placeWithinSourceContent": { + "$ref": "#/components/schemas/Boolean" }, - "normalizeFramerate": { - "type": "boolean" + "opacityExpression": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/String" + } + ] }, - "deinterlaceVideo": { - "type": "boolean" + "zIndex": { + "$ref": "#/components/schemas/Int32" } } }, - "UpdateSmartCollection": { + "WatermarkLocation": { + "type": "integer" + }, + "WatermarkSize": { + "type": "integer" + }, + "WatermarkViewModel": { "required": [ "id", + "image", "name", - "query" + "mode", + "imageSource", + "location", + "size", + "width", + "horizontalMargin", + "verticalMargin", + "frequencyMinutes", + "durationSeconds", + "opacity", + "placeWithinSourceContent", + "opacityExpression", + "zIndex" ], "type": "object", "properties": { "id": { - "type": "integer", - "format": "int32" + "$ref": "#/components/schemas/Int32" + }, + "image": { + "$ref": "#/components/schemas/ArtworkContentTypeModel" }, "name": { - "type": [ - "null", - "string" - ] + "$ref": "#/components/schemas/String" }, - "query": { - "type": [ - "null", - "string" - ] + "mode": { + "$ref": "#/components/schemas/ChannelWatermarkMode" + }, + "imageSource": { + "$ref": "#/components/schemas/ChannelWatermarkImageSource" + }, + "location": { + "$ref": "#/components/schemas/WatermarkLocation" + }, + "size": { + "$ref": "#/components/schemas/WatermarkSize" + }, + "width": { + "$ref": "#/components/schemas/Double" + }, + "horizontalMargin": { + "$ref": "#/components/schemas/Double" + }, + "verticalMargin": { + "$ref": "#/components/schemas/Double" + }, + "frequencyMinutes": { + "$ref": "#/components/schemas/Int32" + }, + "durationSeconds": { + "$ref": "#/components/schemas/Int32" + }, + "opacity": { + "$ref": "#/components/schemas/Int32" + }, + "placeWithinSourceContent": { + "$ref": "#/components/schemas/Boolean" + }, + "opacityExpression": { + "$ref": "#/components/schemas/String" + }, + "zIndex": { + "$ref": "#/components/schemas/Int32" } } }, - "VaapiDriver": { - "enum": [ - "Default", - "iHD", - "i965", - "RadeonSI", - "Nouveau" - ] + "XmltvBlockBehavior": { + "type": "integer" + }, + "XmltvSettingsViewModel": { + "type": "object", + "properties": { + "daysToBuild": { + "$ref": "#/components/schemas/Int32" + }, + "timeZone": { + "$ref": "#/components/schemas/XmltvTimeZone" + }, + "blockBehavior": { + "$ref": "#/components/schemas/XmltvBlockBehavior" + } + } + }, + "XmltvTimeZone": { + "type": "integer" } } }, "tags": [ { - "name": "Channel" + "name": "Blocks" }, { "name": "Channels" }, { - "name": "FFmpegProfile" + "name": "Collections" + }, + { + "name": "Configuration" + }, + { + "name": "Decos" + }, + { + "name": "Emby" + }, + { + "name": "FFmpeg" + }, + { + "name": "Filler" + }, + { + "name": "Jellyfin" }, { "name": "Libraries" @@ -1315,7 +17478,37 @@ "name": "Maintenance" }, { - "name": "Resolution" + "name": "Media" + }, + { + "name": "Playlists" + }, + { + "name": "Playouts" + }, + { + "name": "Plex" + }, + { + "name": "Resolutions" + }, + { + "name": "Schedules" + }, + { + "name": "Scripted Metadata" + }, + { + "name": "Scripted Content" + }, + { + "name": "Scripted Scheduling" + }, + { + "name": "Scripted Control" + }, + { + "name": "Search" }, { "name": "Sessions" @@ -1323,8 +17516,17 @@ { "name": "SmartCollection" }, + { + "name": "Templates" + }, + { + "name": "Trakt" + }, { "name": "Version" + }, + { + "name": "Watermarks" } ] } \ No newline at end of file