Atrás a WordPress
Conectar Knoon AI con WordPress para automatizar flujos de trabajo de AI.
Create a new post/page/custom post type item in WordPress.
wordpressXmlRpcDefaultDefaultCreatePost
Beta
Interno
Permisos
No hay elementos para mostrar.
Permisos opcionales
No hay elementos para mostrar.
Parámetros
| Nombre | Tipo | Descripción | Requerido |
|---|---|---|---|
| postType | mustache | Optional collection slug. Defaults to posts. | No |
| title | mustache | Post title. | Sí |
| slug | mustache | Optional post slug. | No |
| html | mustache | HTML post content. Required if markdown is omitted. | No |
| markdown | mustache | Markdown post content. Converted to HTML when html is omitted. | No |
| excerpt | mustache | Optional post excerpt. | No |
| status | string | Post status. Defaults to DRAFT. | No |
| featuredMediaId | mustache | Optional featured media ID. | No |
Devoluciones
| Nombre | Tipo | Descripción |
|---|---|---|
| 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. |