Preview the Naver Blog layout before publishing
naver_layoutNaver Blog only. Shows how publish will lay the body out before anything goes out. By default (layout: template) publish reshapes the markdown into the blog's house form: #/## titles become underlined quote headings, a thin rule sits between sections, photos you did not place with media: references go one per section and the rest pair up at the end. Text never changes. Call this with the same content and mediaIds you will publish, show the person the result if they care about structure, then publish (it applies the same layout) or pass options.naver_blog.layout: "as-is" to publish exactly what you wrote. To let the person choose a form, pass forms: "all" (or a list of ids): you get every preset laid out side by side with its name, when to use it and a summary (sections, photos). Show them, let the person pick, then publish with options.naver_blog.form set to the chosen id. The server never picks for you.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| form | No | Form preset id (default photo-story). GET /v1/naver/forms lists them. | |
| forms | No | "all" for every preset, or a list of preset ids. Returns layouts[] instead of one layout. | |
| content | Yes | The markdown body you plan to publish. | |
| mediaIds | No | The media ids you will attach. Photos not referenced in the body get placed. | |
| workspaceId | No | Which workspace this is for. Only needed when the account has more than one — the error tells you the ids when it matters. Leave it out if it is already decided; do not ask the person again. |