Πίσω στο WordPress
Σύνδεση Knoon AI με WordPress για αυτοματοποίηση ροών εργασίας AI.
Get a post/page/custom post type item by postId or slug.
wordpressXmlRpcDefaultDefaultGetPost
ΒΕΤΑ
Άδειες
Δεν υπάρχουν αντικείμενα για εμφάνιση.
Προαιρετικές άδειες
Δεν υπάρχουν αντικείμενα για εμφάνιση.
Παράμετροι
| Όνομα | Τύπος | Περιγραφή | Απαραίτητο |
|---|---|---|---|
| postType | mustache | Optional collection slug. Defaults to posts. | Όχι |
| postId | mustache | Optional WordPress post ID. | Όχι |
| slug | mustache | Optional post slug (used if postId is not provided). | Όχι |
Επιστροφές
| Όνομα | Τύπος | Περιγραφή |
|---|---|---|
| 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. |