Blogs

(ms.blogs)

Blogs section contains the categories of blogs.



Fields

ValueDescription
title   
Type: string
Required
The title of the blog category.
Latest fashion
alias   
Type: string
The unique blog URL on storefront.
latest-fashion
about   
Type: string
Description of blog is specified here.
Decoding latest fashion trends for you.
count   
Type: integer
Count of blog posts in the blog category.
images   
Type: array
Images related to blog.
{
  "images": [
    {
            "image": {
                "name": "krone-bigx-580.jpg",
                "type": "image/jpeg",
                "size": 93268,
                "uploadType": "tmp",
                "versioning": true,
                "path": "tmp/5ac7197acc63a5cf1f744b34/5ac7197acc63a5cf1f744b35.jpg",
                "_id": "5ac7197acc63a5cf1f744b34"
            }
        }
  ]
}
image
Type: file
Required
A single image for the blog.
{
  "image": {
                "name": "krone-bigx-580.jpg",
                "type": "image/jpeg",
                "size": 93268,
                "uploadType": "tmp",
                "versioning": true,
                "path": "tmp/5ac7197acc63a5cf1f744b34/5ac7197acc63a5cf1f744b35.jpg"
            }
}

Commands (Endpoints)

POST /api/1/entity/ms.blogs   
Creates a new blog
DEL /api/1/entity/ms.blogs/{resource_id}   
Deletes a blog
PUT /api/1/entity/ms.blogs/{resource_id}   
Updates an existing blog
GET /api/1/entity/ms.blogs/{resource_id}   
Retrieves a single blog
GET /api/1/entity/ms.blogs   
Retrieves a list of blogs