Tilbage til WordPress
Forbind Knoon AI med WordPress for at automatisere AI-arbejdsgange.
List posts/pages/custom post types from WordPress.
wordpressXmlRpcDefaultDefaultListPosts
BETA
Tilladelser
Der er ingen elementer at vise.
Valgfrie tilladelser
Der er ingen elementer at vise.
Parametre
| Navn | Type | Beskrivelse | Obligatorisk |
|---|---|---|---|
| postType | mustache | Optional collection slug. Defaults to posts. Example: posts, pages, products. | Nej |
| search | mustache | Optional search term for title/content. | Nej |
| status | string | Post status filter. Defaults to PUBLISH. | Nej |
| limit | mustache | Optional number of rows (1-100). Defaults to 10. | Nej |
| page | mustache | Optional page number. Defaults to 1. | Nej |
Retur
| Navn | Type | Beskrivelse |
|---|---|---|
| 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. |