返回 WordPress

将 Knoon AI 与 WordPress 连接以自动化 AI 工作流。

Update an existing post/page/custom post type item.
wordpressXmlRpcDefaultDefaultUpdatePost
测试版
内部
权限
没有可显示的项目。
可选权限
没有可显示的项目。
参数
名称类型描述必填
postTypemustache Optional collection slug. Defaults to posts.没有
postIdmustache WordPress post ID. Either postId or slug is required.没有
slugmustache Post slug. Either postId or slug is required.没有
titlemustache Updated post title.没有
htmlmustache Updated HTML content.没有
markdownmustache Updated markdown content (converted to HTML when html is omitted).没有
excerptmustache Updated excerpt.没有
statusstring Updated post status.没有
featuredMediaIdmustache Updated featured media ID.没有
回报
名称类型描述
postIdstring WordPress post ID.
slugstring Post slug.
statusstring Post status.
urlstring Post permalink.
titlestring Rendered post title.
excerptstring Rendered post excerpt HTML.
contentstring Rendered post content HTML.
featuredMediaIdstring Featured media ID if set.
createdAtstring Post created datetime.
updatedAtstring Post last modified datetime.