Назад к 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. |