חזרה אל WordPress
התחבר ל-Knoon AI עם WordPress כדי לאוטומטי תהליכי עבודה של AI.
Update an existing post/page/custom post type item.
wordpressXmlRpcDefaultDefaultUpdatePost
בטא
פנימי
הרשאות
אין פריטים להצגה.
הרשאות אופציונליות
אין פריטים להצגה.
פרמטרים
| שם | סוג | תיאור | נדרש |
|---|---|---|---|
| postType | mustache | Optional collection slug. Defaults to posts. | לא |
| postId | mustache | WordPress post ID. Either postId or slug is required. | לא |
| slug | mustache | Post slug. Either postId or slug is required. | לא |
| title | mustache | Updated post title. | לא |
| html | mustache | Updated HTML content. | לא |
| markdown | mustache | Updated markdown content (converted to HTML when html is omitted). | לא |
| excerpt | mustache | Updated excerpt. | לא |
| status | string | Updated post status. | לא |
| featuredMediaId | mustache | Updated featured media ID. | לא |
החזרות
| שם | סוג | תיאור |
|---|---|---|
| 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. |