Settings
Non-auth JSON API
In blogstatic, you can use the Non-auth JSON API to call elements such as Website, Posts, Pages, Categories, and Authors.
Settings > API
Direct link to this Settings area (you must be logged in).
Website
The Website elements are called via:
https://api.blogstatic.io/{api_key}/meta.json
In Which {api_key} is your secret token found in "Settings > API" section.
That endpoint will return:
{ "website_image": "homepage.png", "website_favicon": "favicon.png", "website_header_link": "", "website_cover_title": "Best Blogging Software", "website_cover_description": "The easiest way to create a blog.", "website_cover_script": "", "website_cover_image": "back.jpeg", "website_cover_image_alt": "a scene of a cozy ambiance.", "website_title": "blogstatic" "..." }
Categories
Categories' elements are called via
https://api.blogstatic.io/{api_key}/categories.json
That endpoint will return:
[ { "category_url": "blogstatic", "category_name": "blogstatic", "category_description": "All about blogstatic: building, marketing, and lessons.", "category_meta_title": "All about blogstatic: building, marketing, and lessons.", "category_meta_description": "All about blogstatic: building, marketing, and lessons.", "category_meta_robots": "All about blogstatic: building, marketing, and lessons.", "category_meta_canonical": "All about blogstatic: building, marketing, and lessons.", "category_code_injection_header": "", "category_code_injection_footer": "", "category_privacy": "1", "category_update_date": "1650353973" } ]
Posts
Posts' elements are called via:
https://api.blogstatic.io/{api_key}/posts.json
That endpoint will return:
[ { "id": "3cc7ca66bd1af63c0905f3ab5839ecb84b720e65", "post_url": "a-successul-product-hunt-launch", "post_title": "A Successful Product Hunt Launch", "post_description": "blogstatic's amazing second successful launch in two years.", "post_text": "..." } ]
Single Post
A single post is called via:
https://api.blogstatic.io/{api_key}/{post-url}.json
Pages
Pages' elements are called via
https://api.blogstatic.io/{api_key}/pages.json
That endpoint will return:
[ { "page_url": "about", "page_title": "About", "page_description": "More about me", "page_text": "..." } ]
Single Page
A single page is called via:
https://api.blogstatic.io/{api_key}/{page-url}.json
Authors
Authors' elements are called via:
https://api.blogstatic.io/{api_key}/authors.json
That endpoint will return:
[ { "author_url": "val-sopi", "author_first_name": "Val", "author_last_name": "Sopi", "author_avatar": "https://media.blogstatic.io/dde603ae1a65d8a259a93b3044c735a6b3187229.jpeg", "author_about": "\u003Cp\u003EI'm currently running blogstatic and documenting everything in the open. Find out more about me on the \u003Ca href=\"https://valsopi.com/about\"\u003EAbout\u003C/a\u003E page of this blog.\u003C/p\u003E", "author_meta_title": "", "author_meta_description": "", "author_meta_robots": "", "author_meta_cannonical": "", "author_meta_image": "", "author_visibility": "1", "author_status": "1" } ]
Single Author
A single author is called via:
https://api.blogstatic.io/{api_key}/{author-url}.json