Ghost로 돌아가기
Knoon AI를 Ghost과 연결하여 AI 워크플로우를 자동화하세요.
Update an existing Ghost post by ID or slug.
ghostDefaultUpdatePost
베타
내부
권한
표시할 항목이 없습니다.
선택사항 권한
표시할 항목이 없습니다.
매개변수
| 이름 | 유형 | 설명 | 필수 |
|---|---|---|---|
| postId | mustache | Post ID to update. Either postId or slug is required. | 아니요 |
| slug | mustache | Post slug to update. Either postId or slug is required. | 아니요 |
| title | mustache | New title for the post. | 아니요 |
| html | mustache | Updated HTML content. If not provided, markdown will be converted to HTML when available. | 아니요 |
| plainText | mustache | Updated plain text content. | 아니요 |
| markdown | mustache | Updated markdown content. Will be converted to HTML before sending to Ghost. | 아니요 |
| excerpt | mustache | Updated custom excerpt. | 아니요 |
| tags | mustache | Updated comma-separated list of tags. | 아니요 |
| featureImageURL | mustache | Optional public image URL to replace the featured image. If featureImageAttachment is also provided, the attachment is used. | 아니요 |
| featureImageAttachment | attachment | Optional image attachment to upload and replace the featured image. Takes precedence over featureImageURL. | 아니요 |
| status | string | Updated post status. If omitted, status stays unchanged. | 아니요 |
반환값
| 이름 | 유형 | 설명 |
|---|---|---|
| postId | string | Post ID. |
| title | string | Post title. |
| slug | string | Post slug. |
| url | string | Published URL of the post. |
| status | string | Post status (draft/published). |
| publishedAt | string | Publish timestamp (ISO 8601) if published. |
| updatedAt | string | Last updated timestamp (ISO 8601). |
| featureImage | string | Featured image URL. |
| excerpt | string | Custom or auto-generated excerpt. |
| plainText | string | Plain-text version of the post. |
| html | string | HTML content of the post. |
| markdown | string | Markdown content of the post if available. |