Voltar para WordPress
Conectar Knoon AI com WordPress para automatizar fluxos de trabalho de AI.
Update an existing post/page/custom post type item.
wordpressXmlRpcDefaultDefaultUpdatePost
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 |
| postId | mustache | WordPress post ID. Either postId or slug is required. | Não |
| slug | mustache | Post slug. Either postId or slug is required. | Não |
| title | mustache | Updated post title. | Não |
| html | mustache | Updated HTML content. | Não |
| markdown | mustache | Updated markdown content (converted to HTML when html is omitted). | Não |
| excerpt | mustache | Updated excerpt. | Não |
| status | string | Updated post status. | Não |
| featuredMediaId | mustache | Updated 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. |