Wróć do WordPress
Połącz Knoon AI z WordPress, aby zautomatyzować przepływy pracy AI.
List posts/pages/custom post types from WordPress.
wordpressXmlRpcDefaultDefaultListPosts
BETA
Uprawnienia
Brak elementów do wyświetlenia.
Uprawnienia opcjonalne
Brak elementów do wyświetlenia.
Parametry
| Nazwa | Typ | Opis | Wymagane |
|---|---|---|---|
| postType | mustache | Optional collection slug. Defaults to posts. Example: posts, pages, products. | Nie |
| search | mustache | Optional search term for title/content. | Nie |
| status | string | Post status filter. Defaults to PUBLISH. | Nie |
| limit | mustache | Optional number of rows (1-100). Defaults to 10. | Nie |
| page | mustache | Optional page number. Defaults to 1. | Nie |
Zwroty
| Nazwa | Typ | Opis |
|---|---|---|
| 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. |