Blog API

Current version: v1.1

List posts

Get a list of your blog posts.

GET
/blog/list.json
[
      {
        "title": "Welcome to my-company.com",
        "id": "54c22f6516f46a490699c248"
      },
      {
        "title": "Launching a new Rocket (just-for-fun)",
        "id": "54c64e0416f46a5d047b23c8"
      },
      ...
]
					

Get single post content

Get all details about your post.

GET
/blog/post.json?id={post-id}
id required (StoredenId) Unique id of your post
{
  "author": 1,
  "title": "Launching a new Rocket (just-for-fun)",
  "content": "Seriously, this is only a joke.",
  "extract": "Read more inside :)",
  "ext_img": "https://static-cdn.storeden.com/secache/111111",
  "tags": [
    "1st April", "rocket"
  ],
  "seo": [],
  "visible": true,
  "social": false,
  "data": {
    "y": "2015",
    "m": "04",
    "d": "01"
  },
  "ts": {
    "sec": 1422012261,
    "usec": 764000
  },
  "languages": ["en_US"],
  "id": "54c64e0416f46a5d047b23c8",
  "iso": {
        "updateAt": "2019-03-11T23:31:18+01:00",
        "createAt": "2019-03-11T22:17:22+01:00"
    }
}
					

Create a new post

Create a new post for e-commerce blog.

POST
/blog/post.json
title required (string) Post title
content required (html) Post content. Html is accepted
post_locale required (string) Post strings locale. Accept: en_US, it_IT, de_DE, fr_FR, es_ES
content_preview (string) Small preview content ( extract )
seo_title (string) Seo Title, used into head > title tag
seo_description (string) Seo Title, used into head > meta tag
seo_keywords (string) Seo Title, used into head > meta tag
visible (int) 1 => Post are visible in the store-front, 0 => Post are not visible in the store-front
tags (string) Comma separated tags
{
    "id": "5c86d57416f46af87eec40a2",
    "web_urls": {
        "edit_url": "https://132-backoffice.storeden.com/blog/edit/5c86d57416f46af87eec40a2"
    }
}
					

Delete single post

Remove post from your blog.

DELETE
/blog/post.json
id required (StoredenId) Unique id of your post
{
    "ok": 1,
    "err": null,
}