serial_home_apply
Edits home section titles, series-list layouts, visibility, slides and items, and their logo, background and banner images and background video in the Serial VOD app (pApp C00006). Shows a preview first; the change runs only after confirmation. Called without confirmToken it previews and returns a confirmToken; repeating the same input with it executes once.
Inputs
| Field | Required here | Contract |
|---|---|---|
action |
Yes | one of: section-edit, banner-image, logo-clear, background-video, background-video-clear, section-visibility, banner-create, class-add, slide-edit, line-edit, banner-class, slide-visibility, slide-duration-step, item-position, item-delete (by kind) or object |
action.sectionId |
Yes | When action is alternative 1 and action.kind is section-edit: integer; greater than 0 |
action.fields |
Yes | When action is alternative 1 and action.kind is section-edit: object |
action.fields.title |
No | When action is alternative 1 and action.kind is section-edit: string; max length 40 |
action.fields.layout |
No | When action is alternative 1 and action.kind is section-edit: 3_GRID_HORIZONTAL, 3_GRID_VERTICAL, 4_GRID_HORIZONTAL, 4_GRID_VERTICAL, 5_GRID_HORIZONTAL, 5_GRID_VERTICAL |
action.sectionId |
Yes | When action is alternative 1 and action.kind is banner-image: integer; greater than 0 |
action.itemId |
Yes | When action is alternative 1 and action.kind is banner-image: integer; greater than 0 |
action.field |
Yes | When action is alternative 1 and action.kind is banner-image: alternativeLogoSrc, backgroundDesktopImgSrc, backgroundMobileImgSrc, bannerImgSrc |
action.imageTaskId |
Yes | When action is alternative 1 and action.kind is banner-image: string; pattern ^[A-Za-z0-9_-]{8,80}$ |
action.sectionId |
Yes | When action is alternative 1 and action.kind is logo-clear: integer; greater than 0 |
action.itemId |
Yes | When action is alternative 1 and action.kind is logo-clear: integer; greater than 0 |
action.sectionId |
Yes | When action is alternative 1 and action.kind is background-video: integer; greater than 0 |
action.itemId |
Yes | When action is alternative 1 and action.kind is background-video: integer; greater than 0 |
action.uploadTaskId |
Yes | When action is alternative 1 and action.kind is background-video: string; pattern ^[A-Za-z0-9_-]{8,80}$ |
action.sectionId |
Yes | When action is alternative 1 and action.kind is background-video-clear: integer; greater than 0 |
action.itemId |
Yes | When action is alternative 1 and action.kind is background-video-clear: integer; greater than 0 |
action.sectionId |
Yes | When action is alternative 1 and action.kind is section-visibility: integer; greater than 0 |
action.visible |
Yes | When action is alternative 1 and action.kind is section-visibility: boolean |
action.sectionId |
Yes | When action is alternative 1 and action.kind is banner-create: integer; greater than 0 |
action.itemType |
Yes | When action is alternative 1 and action.kind is banner-create: MAIN_BANNER_SLIDES, LINE_BANNER |
action.bannerType |
Yes | When action is alternative 1 and action.kind is banner-create: SERIES, WEB_LINK |
action.sectionId |
Yes | When action is alternative 1 and action.kind is class-add: integer; greater than 0 |
action.seriesId |
Yes | When action is alternative 1 and action.kind is class-add: integer; greater than 0 |
action.sectionId |
Yes | When action is alternative 1 and action.kind is slide-edit: integer; greater than 0 |
action.itemId |
Yes | When action is alternative 1 and action.kind is slide-edit: integer; greater than 0 |
action.fields |
Yes | When action is alternative 1 and action.kind is slide-edit: object |
action.fields.title |
No | When action is alternative 1 and action.kind is slide-edit: string; max length 30 |
action.fields.description |
No | When action is alternative 1 and action.kind is slide-edit: string; max length 50 |
action.fields.webLink |
No | When action is alternative 1 and action.kind is slide-edit: string; max length 4096 |
action.sectionId |
Yes | When action is alternative 1 and action.kind is line-edit: integer; greater than 0 |
action.itemId |
Yes | When action is alternative 1 and action.kind is line-edit: integer; greater than 0 |
action.fields |
Yes | When action is alternative 1 and action.kind is line-edit: object |
action.fields.webLink |
No | When action is alternative 1 and action.kind is line-edit: string; max length 4096 |
action.fields.backgroundColor |
No | When action is alternative 1 and action.kind is line-edit: string; pattern ^#[0-9a-fA-F]{8}$ |
action.sectionId |
Yes | When action is alternative 1 and action.kind is banner-class: integer; greater than 0 |
action.itemType |
Yes | When action is alternative 1 and action.kind is banner-class: MAIN_BANNER_SLIDES, LINE_BANNER |
action.itemId |
Yes | When action is alternative 1 and action.kind is banner-class: integer; greater than 0 |
action.seriesId |
Yes | When action is alternative 1 and action.kind is banner-class: integer; greater than 0 |
action.sectionId |
Yes | When action is alternative 1 and action.kind is slide-visibility: integer; greater than 0 |
action.itemId |
Yes | When action is alternative 1 and action.kind is slide-visibility: integer; greater than 0 |
action.visible |
Yes | When action is alternative 1 and action.kind is slide-visibility: boolean |
action.sectionId |
Yes | When action is alternative 1 and action.kind is slide-duration-step: integer; greater than 0 |
action.itemId |
Yes | When action is alternative 1 and action.kind is slide-duration-step: integer; greater than 0 |
action.seconds |
Yes | When action is alternative 1 and action.kind is slide-duration-step: 5 or 10 or 15 or 30 |
action.sectionId |
Yes | When action is alternative 1 and action.kind is item-position: integer; greater than 0 |
action.itemType |
Yes | When action is alternative 1 and action.kind is item-position: MAIN_BANNER_SLIDES, LINE_BANNER, SERIES_LIST |
action.itemId |
Yes | When action is alternative 1 and action.kind is item-position: integer; greater than 0 |
action.previousItemId |
Yes | When action is alternative 1 and action.kind is item-position: integer; greater than 0 or null |
action.nextItemId |
Yes | When action is alternative 1 and action.kind is item-position: integer; greater than 0 or null |
action.sectionId |
Yes | When action is alternative 1 and action.kind is item-delete: integer; greater than 0 |
action.itemType |
Yes | When action is alternative 1 and action.kind is item-delete: MAIN_BANNER_SLIDES, LINE_BANNER, SERIES_LIST |
action.itemId |
Yes | When action is alternative 1 and action.kind is item-delete: integer; greater than 0 |
action.confirmation |
Yes | When action is alternative 1 and action.kind is item-delete: DELETE_HOME_ITEM |
action.kind |
Yes | When action is alternative 2: restore-edit |
action.sectionId |
Yes | When action is alternative 2: integer; greater than 0 |
action.sourceTaskId |
Yes | When action is alternative 2: string; pattern ^[A-Za-z0-9_-]{8,80}$ |
confirmToken |
No | string; pattern ^ct[a-f\d]{32}$; The confirmToken from this tool's preview result. Omit it to preview; repeat the same input with it to execute. |