Retour à WordPress
Connecter Knoon AI avec WordPress pour automatiser les flux de travail AI.
Update an existing post/page/custom post type item.
wordpressXmlRpcDefaultDefaultUpdatePost
Bêta
Interne
Autorisations
Il n'y a aucun élément à afficher.
Autorisations optionnelles
Il n'y a aucun élément à afficher.
Paramètres
| Nom | Type | Description | Requis |
|---|---|---|---|
| postType | mustache | Optional collection slug. Defaults to posts. | Non |
| postId | mustache | WordPress post ID. Either postId or slug is required. | Non |
| slug | mustache | Post slug. Either postId or slug is required. | Non |
| title | mustache | Updated post title. | Non |
| html | mustache | Updated HTML content. | Non |
| markdown | mustache | Updated markdown content (converted to HTML when html is omitted). | Non |
| excerpt | mustache | Updated excerpt. | Non |
| status | string | Updated post status. | Non |
| featuredMediaId | mustache | Updated featured media ID. | Non |
Retours
| Nom | Type | Description |
|---|---|---|
| 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. |