Save a guide draft

save_guideChanges the chart

The app saves a draft of a guide for a script you own.

Details#

Save a draft of the guide for a script the member owns. The published version is not changed, so has_guide stays as it was. Only the owner can save. A missing script or one that is not theirs is refused with guide_not_found. Invalid content is refused with guide_invalid and detail.problems (block, code, message). Too many saves this hour is guide_rate. Pictures cannot be uploaded; an image block may only use the id of a picture already uploaded in the site's guide editor. Example: script <id>, content { summary: "Short summary", blocks: [{ type: "heading", text: "How it works" }, { type: "paragraph", text: "The indicator plots…" }] }.

Inputs#

NameTypeRequiredDescription
scriptstringRequiredScript id of a script the member owns, from list_scripts.
contentobjectRequiredThe guide draft: summary (up to 140 characters) and blocks (required, up to 40). Unfinished blocks are allowed. Pictures must already have been uploaded in the site's guide editor.