Blogs
Was this helpful?
Was this helpful?
Blog post management
Retrieves a paginated list of blogs by a specific user. Admins see all; users see only 'published'. Sorted by creation date descending.
ID of the user.
Maximum number of items to return.
20
Number of items to skip for pagination.
0
Retrieves a single blog post by its unique slug. Regular users cannot view 'draft' posts.
Slug of the blog post.
Deletes a blog post by ID. Also removes banner. Admin role required (route security).
ID of the blog post.
No content
Retrieves a paginated list of blogs. Admins see all; users see only 'published'. Sorted by creation date descending.
Maximum number of items to return.
20
Number of items to skip for pagination.
0
Creates a new blog post. Requires banner image upload. Admin role required.
HTML content
draft
Possible values: Banner image file (png/jpg/webp, max 2MB)
Updates an existing blog post. Banner update optional. Admin role required (route security).
ID of the blog post.
HTML content
New banner image file (png/jpg/webp, max 2MB)