返回 WordPress
将 Knoon AI 与 WordPress 连接以自动化 AI 工作流。
Create a new post/page/custom post type item in WordPress.
wordpressXmlRpcDefaultDefaultCreatePost
测试版
内部
权限
没有可显示的项目。
可选权限
没有可显示的项目。
参数
| 名称 | 类型 | 描述 | 必填 |
|---|---|---|---|
| postType | mustache | Optional collection slug. Defaults to posts. | 没有 |
| title | mustache | Post title. | 是的 |
| slug | mustache | Optional post slug. | 没有 |
| html | mustache | HTML post content. Required if markdown is omitted. | 没有 |
| markdown | mustache | Markdown post content. Converted to HTML when html is omitted. | 没有 |
| excerpt | mustache | Optional post excerpt. | 没有 |
| status | string | Post status. Defaults to DRAFT. | 没有 |
| featuredMediaId | mustache | Optional featured media ID. | 没有 |
回报
| 名称 | 类型 | 描述 |
|---|---|---|
| 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. |