BlogPosts
Get blog post
Changed onReturns a specific blog post. A website's own key gets a 404 for a post that is not published.
get/blog_posts/{id_or_slug}
Request
- Base URLhttps://api.crevio.co/v1
- AuthAPI key in header Authorization
Path parameters
id_or_slug, string required
The resource ID (e.g., "prod_3f9a1c0b7d2e4a6f8b1c3d5e") or slug (e.g., "my-product")
Response
Blog post details
Blog Post required
id, string required
object, string required
title, string required
slug, string required
content, string required
status, 'draft' | 'published' | 'scheduled' | 'archived' required
excerpt, string required
published_at, string date-time nullable required
scheduled_at, string date-time nullable required
created_at, string date-time required
updated_at, string date-time required
url, string required
category, string nullable required
seo, union
ID by default, full object when expanded
Changes
- info
added the optional property
seoto the response with the status
- info
- warning
added the new
idempotency_errorenum value to theerror/typeresponse property for the response status - warning
added the new
idempotency_errorenum value to theerror/typeresponse property for the response status
4 more changes in this revision
- warning