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. |