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