postScheduledtasksByIdTriggers
Updates the triggers for a scheduled task
Requires authentication as administrator
postScheduledtasksByIdTriggers
Request
post /ScheduledTasks/{Id}/Triggers
Parameters
Name | In | Type | Default | Notes |
---|---|---|---|---|
*Id | path | |||
*body | body | TaskTriggerInfo [] | List`1: |
Responses
Status Code | Type | Description | Samples |
---|---|---|---|
200 | Operation successful. Empty response. |
||
400 | Bad Request. Server cannot process request. |
||
401 | Unauthorized. Client needs to authenticate. |
||
403 | Forbidden. No permission for the reqested operation. |
||
404 | Resource not found or unavailable. |
||
500 | Server error. |
Definitions
TaskTriggerInfo
Name | Type | Notes |
---|---|---|
Type | string | The type. |
TimeOfDayTicks | integer (int64) | The time of day. |
IntervalTicks | integer (int64) | The interval. |
SystemEvent | SystemEvent | Enum SystemEvent |
DayOfWeek | DayOfWeek | |
MaxRuntimeTicks | integer (int64) | The maximum runtime ticks. |
SystemEvent
see also MediaBrowser.Model.Tasks.SystemEvent
Enum Values
- WakeFromSleep
- DisplayConfigurationChange
- NetworkChange
DayOfWeek
System.DayOfWeek
Enum Values
- Sunday
- Monday
- Tuesday
- Wednesday
- Thursday
- Friday
- Saturday