Design Code
Get Design Code
Retrieve the custom design code fields for your blog: banner and layout Handlebars templates, custom CSS, and header/footer HTML. Requires editor permission or higher on the blog.
get/blogs/design-code
Request
- Base URLhttps://inblog.ai/api/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
Design code retrieved successfully
Example response
{
"jsonapi": {
"version": "1.0"
},
"data": {
"type": "blog_design_code",
"id": "123",
"attributes": {
"custom_banner_code": "<div class=\"banner\">{{blog.title}}</div>",
"custom_css_code": ".post-title { font-size: 2rem; }"
}
}
}Changes
No recorded changes to this operation across all 4 revisions of this API.