FaxStore

Prerequisites
Installation & Setup
API
Config File
Developer Mode
Developer Tools
Enable Debug Mode
Events
Extensions
Features
Integrations
License System Extension
Permissions
Updating FaxStore

Weblutions Documentation > FaxStore > API > Blog

Blog

The Blog API for FaxStore facilitates the management of blog content, including creating, deleting, updating, and retrieving blog posts. This API streamlines the process of maintaining and publishing content on your site.

GET /api/blogs

Returns all created blog posts

Parameters:

authorization[Header] A valid API token

Response: [Expand]

GET /api/blog/:id

Returns the blog associated with the ID provided

Parameters:

authorization[Header] A valid API token
id[URL] The blog ID

Response: [Expand]

POST /api/blog

Creates a blog post

Parameters:

authorization[Header] A valid API token
id[URL] The blog ID
userId[Body] Required, the account ID of the author
username[Body] Required, the display name of the author
title[Body] Required, the blog post title
url[Body] Required, the URL path for the blog post
catId[Body] Optional, the category ID to place the blog post within
content[Body] The content markdown supported for the blog post
image[Body] Optional, link to an image, this is for the banner

Response: [Expand]

DELETE /api/blog/:id

Deletes the blog associated with the given ID

Parameters:

authorization[Header] A valid API token
id[URL] The blog ID

Response: [Expand]


Suggest an edit

Review this page

faxes

blog api

1 recommend this page