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.

Get a post/page/custom post type item by postId or slug.
wordpressXmlRpcDefaultDefaultGetPost
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ênLoạiMô tảBắt buộc
postTypemustache Optional collection slug. Defaults to posts.Không
postIdmustache Optional WordPress post ID.Không
slugmustache Optional post slug (used if postId is not provided).Không
Trả về
TênLoạiMô tả
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.