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