publ betaReference (MCP guide)
Open publ console

publ Reference

article_appearance_apply

Changes appearance editor in the Article app (pApp B00001, or an instance code of the same family). Another app code is refused before any request. Called without confirmToken it previews and returns a confirmToken; repeating the same input with it executes once.

Inputs

Field Required here Contract
settings Yes When alternative 1: object
instanceCode No When alternative 1: string; pattern ^B(?:000|9[0-9]{2})01$; Optional: which installed Article app to use (its code, such as B00001 or B90101). Omit it when only one is installed; when several are, pick one from the installed list.
confirmToken No When alternative 1: 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.
restoreFromTaskId Yes When alternative 2: string; pattern ^[A-Za-z0-9_-]{8,80}$
restoreSettings No When alternative 2: array; items: string; min items 1; max items 30
instanceCode No When alternative 2: string; pattern ^B(?:000|9[0-9]{2})01$; Optional: which installed Article app to use (its code, such as B00001 or B90101). Omit it when only one is installed; when several are, pick one from the installed list.
confirmToken No When alternative 2: 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.
action Yes When alternative 3: one of: article_hero, article_hero_restore (by kind)
action.fields Yes When alternative 3 and action.kind is article_hero: object
action.fields.title No When alternative 3 and action.kind is article_hero: string; min length 0; max length 20
action.fields.description No When alternative 3 and action.kind is article_hero: string; min length 0; max length 40
action.fields.imageUploadTaskId No When alternative 3 and action.kind is article_hero: string; pattern ^[A-Za-z0-9_-]{8,80}$
action.restoreFromTaskId Yes When alternative 3 and action.kind is article_hero_restore: string; pattern ^[A-Za-z0-9_-]{8,80}$
instanceCode No When alternative 3: string; pattern ^B(?:000|9[0-9]{2})01$; Optional: which installed Article app to use (its code, such as B00001 or B90101). Omit it when only one is installed; when several are, pick one from the installed list.
confirmToken No When alternative 3: 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.