RefBytes Store

Usage

REST API

The Blog module includes a read-only public API for accessing blog content programmatically.

List posts:

GET /api/blog/posts?page=1&per_page=10

Optional filters: tag_slug, category_slug, author_id, search

Get a single post:

GET /api/blog/posts/{id}

Submit a comment:

POST /api/blog/posts/{id}/comments

Body: author_name, author_email, body

Authenticated users with Editor or higher roles can also create posts via the API:

POST /api/blog/posts