curl "https://api.marblecms.com/v1/cm6ytuq9x0000i803v0isidst/posts/introducing-marblecms"
{
"post": {
"id": "clt92n38p000108l48zkj41an",
"slug": "introducing-marblecms",
"title": "Introducing MarbleCMS",
"content": "<h1>Hello World!</h1><p>This is the content of the post.</p>",
"description": "The modern headless CMS for modern web applications.",
"coverImage": "...",
"publishedAt": "2024-03-05T00:00:00.000Z",
"authors": [
{
"id": "clt92f96m000008l4gken6v2t",
"name": "John Doe",
"image": "..."
}
],
"category": {
"id": "clt92hrnp000208l43kbo28d0",
"name": "Announcements",
"slug": "announcements"
},
"tags": [
{
"id": "clt92k3c1000408l47h5f0b5y",
"name": "Product",
"slug": "product"
}
],
"attribution": null
}
}
Path Parameters
The slug or id of the post to retrieve.
Query Parameters
The format of the content field in the response. Set to markdown
to return the content as markdown instead of HTML.