FaxStore
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
authorization | [Header] A valid API token |
GET /api/blog/:id
Returns the blog associated with the ID provided
authorization | [Header] A valid API token |
id | [URL] The blog ID |
POST /api/blog
Creates a blog post
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 |
DELETE /api/blog/:id
Deletes the blog associated with the given ID
authorization | [Header] A valid API token |
id | [URL] The blog ID |