Ghost に戻る
Ghost と Knoon AI を接続して 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. |