Tilbage til WordPress
Forbind Knoon AI med WordPress for at automatisere AI-arbejdsgange.
Get a post/page/custom post type item by postId or slug.
wordpressXmlRpcDefaultDefaultGetPost
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. | Nej |
| postId | mustache | Optional WordPress post ID. | Nej |
| slug | mustache | Optional post slug (used if postId is not provided). | 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. |