返回 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. |