Template Resource

Templates are our preconfigured virtual machines. Based on these templates you can create your own applications.

List Templates

Return a list of template resources currently available.

GET /rest/stores/blog-cms/templates

Response

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

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 Template

Retrieve a single template resource.

GET /rest/stores/blog-cms/templates/anchor-cms

Response

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

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

Store Resource

Next topic

Template Version Resource