Quay lại WordPress
Kết nối Knoon AI với WordPress để tự động hóa các quy trình làm việc AI.
Update an existing post/page/custom post type item.
wordpressXmlRpcDefaultDefaultUpdatePost
BẢN THỬ NGHIỆM
Nội bộ
Quyền hạn
Không có mục nào để hiển thị.
Quyền hạn tùy chọn
Không có mục nào để hiển thị.
Tham số
| Tên | Loại | Mô tả | Bắt buộc |
|---|---|---|---|
| postType | mustache | Optional collection slug. Defaults to posts. | Không |
| postId | mustache | WordPress post ID. Either postId or slug is required. | Không |
| slug | mustache | Post slug. Either postId or slug is required. | Không |
| title | mustache | Updated post title. | Không |
| html | mustache | Updated HTML content. | Không |
| markdown | mustache | Updated markdown content (converted to HTML when html is omitted). | Không |
| excerpt | mustache | Updated excerpt. | Không |
| status | string | Updated post status. | Không |
| featuredMediaId | mustache | Updated featured media ID. | Không |
Trả về
| Tên | Loại | Mô tả |
|---|---|---|
| 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. |