Назад к Ghost
Подключите Knoon AI к Ghost, чтобы автоматизировать AI рабочие процессы.
Create a new post in Ghost as a draft or published post.
ghostDefaultCreatePost
Бета
Внутренний
Разрешения
Нет элементов для отображения.
Опциональные разрешения
Нет элементов для отображения.
Параметры
| Имя | Тип | Описание | Обязательно |
|---|---|---|---|
| title | mustache | Title of the post. | Да |
| slug | mustache | Optional slug. If omitted, Ghost auto-generates one. | Нет |
| html | mustache | HTML content of the post. If not provided, markdown will be converted to HTML when available. | Нет |
| plainText | mustache | Plain text version of the post. | Нет |
| markdown | mustache | Markdown content of the post. Will be converted to HTML before sending to Ghost. | Нет |
| excerpt | mustache | Optional custom excerpt. | Нет |
| tags | mustache | Comma-separated list of tag names or slugs. | Нет |
| featureImageURL | mustache | Optional public image URL to use as the featured image. If featureImageAttachment is also provided, the attachment is used. | Нет |
| featureImageAttachment | attachment | Optional image attachment to upload and use as the featured image. Takes precedence over featureImageURL. | Нет |
| status | string | Post status: DRAFT or PUBLISHED. Defaults to DRAFT. | Нет |
Возвраты
| Имя | Тип | Описание |
|---|---|---|
| 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. |