Store Resource

Stores a specialized to a single kind of templates. E.g. Blog & CMS.

List Stores

Return a list of store resources currently available.

GET /rest/stores

Response

 [
     {
         "id": "blog-cms",
         "title": "Blog / CMS",
         "_links": [
             {
                 "href": "https://d9tready.com/rest/stores/blog-cms",
                 "rel": "self"
             },
             {
                 "href": "https://d9tready.com/rest/stores/blog-cms/templates",
                 "rel": "templates"
             }
         ]
     },

    ...
]

Attributes

  • id - Unique resource identifier.
  • title - Display name of resource.
  • _links - Link relations.

HTTP Status Codes

Status Code Description
200 OK No error, operation successful
403 FORBIDDEN Authentication failure

Retrieve Store

Retrieve a single store resource.

GET /rest/stores/blog-cms

Response

{
    "id": "blog-cms",
    "title": "Blog / CMS",
    "_links": [
        {
            "href": "https://d9tready.com/rest/stores/blog-cms",
            "rel": "self"
        },
        {
            "href": "https://d9tready.com/rest/stores/blog-cms/templates",
            "rel": "templates"
        }
    ]
}

Attributes

  • id - Unique resource identifier.
  • title - Display name of resource.
  • _links - Link relations.

Link relations

HTTP Status Codes

Status Code Description
200 OK No error, operation successful
403 FORBIDDEN Authentication failure
404 NOT FOUND Resource not found

Table Of Contents

Previous topic

Root Resource

Next topic

Template Resource