Voltar para WordPress
Conectar Knoon AI com WordPress para automatizar fluxos de trabalho de AI.
Create a new post/page/custom post type item in WordPress.
wordpressXmlRpcDefaultDefaultCreatePost
Beta
Interno
Permissões
Não há itens para exibir.
Permissões opcionais
Não há itens para exibir.
Parâmetros
| Nome | Tipo | Descrição | Obrigatório |
|---|---|---|---|
| postType | mustache | Optional collection slug. Defaults to posts. | Não |
| title | mustache | Post title. | Sim |
| slug | mustache | Optional post slug. | Não |
| html | mustache | HTML post content. Required if markdown is omitted. | Não |
| markdown | mustache | Markdown post content. Converted to HTML when html is omitted. | Não |
| excerpt | mustache | Optional post excerpt. | Não |
| status | string | Post status. Defaults to DRAFT. | Não |
| featuredMediaId | mustache | Optional featured media ID. | Não |
Devoluções
| Nome | Tipo | Descrição |
|---|---|---|
| postId | string | WordPress post ID. |
| slug | string | Post slug. |
| status | string | Post status. |
| url | string | Post permalink. |
| title | string | Rendered post title. |
| excerpt | string | Rendered post excerpt HTML. |
| content | string | Rendered post content HTML. |
| featuredMediaId | string | Featured media ID if set. |
| createdAt | string | Post created datetime. |
| updatedAt | string | Post last modified datetime. |