Zurück zu WordPress
Verbinde Knoon AI mit WordPress, um KI-Workflows zu automatisieren.
Get a post/page/custom post type item by postId or slug.
wordpressXmlRpcDefaultDefaultGetPost
Beta
Berechtigungen
Es gibt keine Elemente zum Anzeigen.
Optionale Berechtigungen
Es gibt keine Elemente zum Anzeigen.
Parameter
| Name | Typ | Beschreibung | Erforderlich |
|---|---|---|---|
| postType | mustache | Optional collection slug. Defaults to posts. | Nein |
| postId | mustache | Optional WordPress post ID. | Nein |
| slug | mustache | Optional post slug (used if postId is not provided). | Nein |
Rückgaben
| Name | Typ | Beschreibung |
|---|---|---|
| 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. |