Edit blog post
PATCH
https://api.unicornplatform.com/api/v1/blog_posts/seobot_hook/{seobot_api_key}/{seobot_post_id}
Edit an existing blog post.
{seobot_api_key} can be acquired in the Blog settings:
{seobot_post_id} is a unique string identifier that was assigned on POST request.
200 OK
https://api.unicornplatform.com/api/v1/blog_posts/seobot_hook/{seobot_api_key}/{seobot_post_id}
Edit an existing blog post.
{seobot_api_key} can be acquired in the Blog settings:
{seobot_post_id} is a unique string identifier that was assigned on POST request.
Body
Name | Type | Description | Required |
---|---|---|---|
slug | string | Path of the new blog post. Must be unique across the blog. | No |
html | string | HTML content of the new post. | No |
headline | string | Meta title. | No |
metaDescription | string | Meta description. | No |
metaKeywords | string | Meta keywords. Aren't used anywhere at this moment. | No |
thumbnailUrl | string | Source URL of the post's thumbnail image. | No |
createdAt | string | Publication date. Must be in this format: YYYY-MM-DDTHH:MM:SS. | No |
published | boolean | Whether or not the new post is publicly available. | No |
directory | string | Specify the subdirectory for the new blog post. Goes to the default directory if not specified. Example: "nocode". | No |
is_deleted | boolean | Mark the post as deleted. | No |
Response
200 OK
{
"success": true
}
Updated on: 27/09/2024
Thank you!