Tillbaka till WordPress
Anslut Knoon AI med WordPress för att automatisera AI-flöden.
Create a new post/page/custom post type item in WordPress.
wordpressXmlRpcDefaultDefaultCreatePost
BETA
Intern
Behörigheter
Det finns inga objekt att visa.
Valfria behörigheter
Det finns inga objekt att visa.
Parametrar
| Namn | Typ | Beskrivning | Obligatoriskt |
|---|---|---|---|
| postType | mustache | Optional collection slug. Defaults to posts. | Nej |
| title | mustache | Post title. | Ja |
| slug | mustache | Optional post slug. | Nej |
| html | mustache | HTML post content. Required if markdown is omitted. | Nej |
| markdown | mustache | Markdown post content. Converted to HTML when html is omitted. | Nej |
| excerpt | mustache | Optional post excerpt. | Nej |
| status | string | Post status. Defaults to DRAFT. | Nej |
| featuredMediaId | mustache | Optional featured media ID. | Nej |
Returer
| Namn | Typ | Beskrivning |
|---|---|---|
| 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. |