返回 WordPress
将 Knoon AI 与 WordPress 连接以自动化 AI 工作流。
Get a post/page/custom post type item by postId or slug.
wordpressXmlRpcDefaultDefaultGetPost
测试版
权限
没有可显示的项目。
可选权限
没有可显示的项目。
参数
| 名称 | 类型 | 描述 | 必填 |
|---|---|---|---|
| postType | mustache | Optional collection slug. Defaults to posts. | 没有 |
| postId | mustache | Optional WordPress post ID. | 没有 |
| slug | mustache | Optional post slug (used if postId is not provided). | 没有 |
回报
| 名称 | 类型 | 描述 |
|---|---|---|
| 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. |