返回 WordPress
將 Knoon AI 與 WordPress 連接以自動化 AI 工作流程。
List posts/pages/custom post types from WordPress.
wordpressXmlRpcDefaultDefaultListPosts
測試版
權限
沒有項目可顯示。
可選權限
沒有項目可顯示。
參數
| 名稱 | 類型 | 說明 | 必填 |
|---|---|---|---|
| postType | mustache | Optional collection slug. Defaults to posts. Example: posts, pages, products. | 否 |
| search | mustache | Optional search term for title/content. | 否 |
| status | string | Post status filter. Defaults to PUBLISH. | 否 |
| limit | mustache | Optional number of rows (1-100). Defaults to 10. | 否 |
| page | mustache | Optional page number. Defaults to 1. | 否 |
退貨
| 名稱 | 類型 | 說明 |
|---|---|---|
| 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. |