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.
List posts/pages/custom post types from WordPress.
wordpressXmlRpcDefaultDefaultListPosts
BẢN THỬ NGHIỆM
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. Example: posts, pages, products. | Không |
| search | mustache | Optional search term for title/content. | Không |
| status | string | Post status filter. Defaults to PUBLISH. | Không |
| limit | mustache | Optional number of rows (1-100). Defaults to 10. | Không |
| page | mustache | Optional page number. Defaults to 1. | 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. |