Πίσω στο WordPress
Σύνδεση Knoon AI με WordPress για αυτοματοποίηση ροών εργασίας AI.
Update an existing post/page/custom post type item.
wordpressXmlRpcDefaultDefaultUpdatePost
ΒΕΤΑ
Εσωτερικό
Άδειες
Δεν υπάρχουν αντικείμενα για εμφάνιση.
Προαιρετικές άδειες
Δεν υπάρχουν αντικείμενα για εμφάνιση.
Παράμετροι
| Όνομα | Τύπος | Περιγραφή | Απαραίτητο |
|---|---|---|---|
| postType | mustache | Optional collection slug. Defaults to posts. | Όχι |
| postId | mustache | WordPress post ID. Either postId or slug is required. | Όχι |
| slug | mustache | Post slug. Either postId or slug is required. | Όχι |
| title | mustache | Updated post title. | Όχι |
| html | mustache | Updated HTML content. | Όχι |
| markdown | mustache | Updated markdown content (converted to HTML when html is omitted). | Όχι |
| excerpt | mustache | Updated excerpt. | Όχι |
| status | string | Updated post status. | Όχι |
| featuredMediaId | mustache | Updated featured media ID. | Όχι |
Επιστροφές
| Όνομα | Τύπος | Περιγραφή |
|---|---|---|
| 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. |