[Description("The 'key' for the content that should be added")]
publicstringContent{get;set;}
[Description("The amount of time to add using the referenced content")]
publicstringDuration{get;set;}
[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.")]
publicstringFallback{get;set;}
[Description("Controls whether content will be trimmed to exactly fit the specified duration")]
publicboolTrim{get;set;}
[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")]
publicintDiscardAttempts{get;set;}
[Description("When false, allows content to run over the specified duration before completing this request")]
publicboolStopBeforeEnd{get;set;}=true;
[Description(
"When true, afer scheduling everything that will fit, any remaining time from the specified duration will be unscheduled (offline)")]
publicboolOfflineTail{get;set;}
[Description("Flags this content as filler, which influences EPG grouping")]
publicstringFillerKind{get;set;}
[Description("Overrides the title used in the EPG")]
[Description("The 'key' for the content that should be added")]
publicstringContent{get;set;}
[Description("The minutes interval")]
publicintMinutes{get;set;}
[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.")]
publicstringFallback{get;set;}
[Description("Controls whether content will be trimmed to exactly fit the specified interval")]
publicboolTrim{get;set;}
[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")]
publicintDiscardAttempts{get;set;}
[Description("When false, allows content to run over the specified interval before completing this request")]
publicboolStopBeforeEnd{get;set;}=true;
[Description(
"When true, afer scheduling everything that will fit, any remaining time from the specified interval will be unscheduled (offline)")]
publicboolOfflineTail{get;set;}=true;
[Description("Flags this content as filler, which influences EPG grouping")]
publicstringFillerKind{get;set;}
[Description("Overrides the title used in the EPG")]
[Description("The 'key' for the content that should be added")]
publicstringContent{get;set;}
[Description("The time of day that content should be added until")]
publicstringWhen{get;set;}
[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.")]
publicboolTomorrow{get;set;}
[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.")]
publicstringFallback{get;set;}
[Description("Controls whether content will be trimmed to exactly fit until the specified time")]
publicboolTrim{get;set;}
[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")]
publicintDiscardAttempts{get;set;}
[Description(
"When false, allows content to run over the specified the specified time before completing this request")]
publicboolStopBeforeEnd{get;set;}=true;
[Description(
"When true, afer scheduling everything that will fit, any remaining time from the specified interval will be unscheduled (offline)")]
publicboolOfflineTail{get;set;}
[Description("Flags this content as filler, which influences EPG grouping")]
publicstringFillerKind{get;set;}
[Description("Overrides the title used in the EPG")]
@ -25,6 +27,8 @@ public class ScriptedScheduleController(IScriptedPlayoutBuilderService scriptedP
@@ -25,6 +27,8 @@ public class ScriptedScheduleController(IScriptedPlayoutBuilderService scriptedP
}
[HttpPost("add_collection", Name = "AddCollection")]
[Tags("Content")]
[EndpointSummary("Add a collection")]
publicasyncTask<IActionResult>AddCollection(
[FromRoute]
GuidbuildId,
@ -48,6 +52,8 @@ public class ScriptedScheduleController(IScriptedPlayoutBuilderService scriptedP
@@ -48,6 +52,8 @@ public class ScriptedScheduleController(IScriptedPlayoutBuilderService scriptedP
@ -73,6 +79,8 @@ public class ScriptedScheduleController(IScriptedPlayoutBuilderService scriptedP
@@ -73,6 +79,8 @@ public class ScriptedScheduleController(IScriptedPlayoutBuilderService scriptedP
}
[HttpPost("add_multi_collection", Name = "AddMultiCollection")]
[Tags("Content")]
[EndpointSummary("Add a multi-collection")]
publicasyncTask<IActionResult>AddMultiCollection(
[FromRoute]
GuidbuildId,
@ -96,6 +104,8 @@ public class ScriptedScheduleController(IScriptedPlayoutBuilderService scriptedP
@@ -96,6 +104,8 @@ public class ScriptedScheduleController(IScriptedPlayoutBuilderService scriptedP
}
[HttpPost("add_playlist", Name = "AddPlaylist")]
[Tags("Content")]
[EndpointSummary("Add a playlist")]
publicasyncTask<IActionResult>AddPlaylist(
[FromRoute]
GuidbuildId,
@ -114,6 +124,8 @@ public class ScriptedScheduleController(IScriptedPlayoutBuilderService scriptedP
@@ -114,6 +124,8 @@ public class ScriptedScheduleController(IScriptedPlayoutBuilderService scriptedP
}
[HttpPost("add_smart_collection", Name = "AddSmartCollection")]
[Tags("Content")]
[EndpointSummary("Add a smart collection")]
publicasyncTask<IActionResult>AddSmartCollection(
[FromRoute]
GuidbuildId,
@ -137,6 +149,8 @@ public class ScriptedScheduleController(IScriptedPlayoutBuilderService scriptedP
@@ -137,6 +149,8 @@ public class ScriptedScheduleController(IScriptedPlayoutBuilderService scriptedP
}
[HttpPost("add_show", Name = "AddShow")]
[Tags("Content")]
[EndpointSummary("Add a show")]
publicasyncTask<IActionResult>AddShow(
[FromRoute]
GuidbuildId,
@ -160,6 +174,8 @@ public class ScriptedScheduleController(IScriptedPlayoutBuilderService scriptedP
@@ -160,6 +174,8 @@ public class ScriptedScheduleController(IScriptedPlayoutBuilderService scriptedP
@ -179,6 +195,8 @@ public class ScriptedScheduleController(IScriptedPlayoutBuilderService scriptedP
@@ -179,6 +195,8 @@ public class ScriptedScheduleController(IScriptedPlayoutBuilderService scriptedP
}
[HttpPost("add_count", Name = "AddCount")]
[Tags("Scheduling")]
[EndpointSummary("Add a specific number of content items")]
publicActionResult<ContextResponseModel>AddCount(
[FromRoute]
GuidbuildId,
@ -207,6 +225,8 @@ public class ScriptedScheduleController(IScriptedPlayoutBuilderService scriptedP
@@ -207,6 +225,8 @@ public class ScriptedScheduleController(IScriptedPlayoutBuilderService scriptedP
}
[HttpPost("add_duration", Name = "AddDuration")]
[Tags("Scheduling")]
[EndpointSummary("Add content for a specific duration")]
@ -240,6 +260,8 @@ public class ScriptedScheduleController(IScriptedPlayoutBuilderService scriptedP
@@ -240,6 +260,8 @@ public class ScriptedScheduleController(IScriptedPlayoutBuilderService scriptedP
}
[HttpPost("pad_to_next", Name = "PadToNext")]
[Tags("Scheduling")]
[EndpointSummary("Add content until a specific minutes interval")]
@ -271,6 +293,8 @@ public class ScriptedScheduleController(IScriptedPlayoutBuilderService scriptedP
@@ -271,6 +293,8 @@ public class ScriptedScheduleController(IScriptedPlayoutBuilderService scriptedP
}
[HttpPost("pad_until", Name = "PadUntil")]
[Tags("Scheduling")]
[EndpointSummary("Add content until a specified time")]
publicActionResult<ContextResponseModel>PadUntil(
[FromRoute]GuidbuildId,
[FromBody]PadUntilRequestModelrequest)
@ -303,6 +327,8 @@ public class ScriptedScheduleController(IScriptedPlayoutBuilderService scriptedP
@@ -303,6 +327,8 @@ public class ScriptedScheduleController(IScriptedPlayoutBuilderService scriptedP
}
[HttpPost("start_epg_group", Name = "StartEpgGroup")]
@ -316,6 +342,8 @@ public class ScriptedScheduleController(IScriptedPlayoutBuilderService scriptedP
@@ -316,6 +342,8 @@ public class ScriptedScheduleController(IScriptedPlayoutBuilderService scriptedP
}
[HttpPost("stop_epg_group", Name = "StopEpgGroup")]
@ -329,6 +357,8 @@ public class ScriptedScheduleController(IScriptedPlayoutBuilderService scriptedP
@@ -329,6 +357,8 @@ public class ScriptedScheduleController(IScriptedPlayoutBuilderService scriptedP
}
[HttpPost("graphics_on", Name = "GraphicsOn")]
[Tags("Control")]
[EndpointSummary("Turn on graphics elements")]
publicasyncTask<IActionResult>GraphicsOn(
[FromRoute]
GuidbuildId,
@ -347,6 +377,8 @@ public class ScriptedScheduleController(IScriptedPlayoutBuilderService scriptedP
@@ -347,6 +377,8 @@ public class ScriptedScheduleController(IScriptedPlayoutBuilderService scriptedP
}
[HttpPost("graphics_off", Name = "GraphicsOff")]
[Tags("Control")]
[EndpointSummary("Turn off graphics elements")]
publicasyncTask<IActionResult>GraphicsOff(
[FromRoute]
GuidbuildId,
@ -365,6 +397,8 @@ public class ScriptedScheduleController(IScriptedPlayoutBuilderService scriptedP
@@ -365,6 +397,8 @@ public class ScriptedScheduleController(IScriptedPlayoutBuilderService scriptedP
@ -378,6 +412,8 @@ public class ScriptedScheduleController(IScriptedPlayoutBuilderService scriptedP
@@ -378,6 +412,8 @@ public class ScriptedScheduleController(IScriptedPlayoutBuilderService scriptedP
}
[HttpPost("watermark_off", Name = "WatermarkOff")]
@ -391,6 +427,8 @@ public class ScriptedScheduleController(IScriptedPlayoutBuilderService scriptedP
@@ -391,6 +427,8 @@ public class ScriptedScheduleController(IScriptedPlayoutBuilderService scriptedP
}
[HttpPost("skip_items", Name = "SkipItems")]
[Tags("Control")]
[EndpointSummary("Skip a specific number of items")]
@ -404,6 +442,8 @@ public class ScriptedScheduleController(IScriptedPlayoutBuilderService scriptedP
@@ -404,6 +442,8 @@ public class ScriptedScheduleController(IScriptedPlayoutBuilderService scriptedP
@ -417,6 +457,8 @@ public class ScriptedScheduleController(IScriptedPlayoutBuilderService scriptedP
@@ -417,6 +457,8 @@ public class ScriptedScheduleController(IScriptedPlayoutBuilderService scriptedP
}
[HttpPost("wait_until", Name = "WaitUntil")]
[Tags("Control")]
[EndpointSummary("Wait until the specified time")]