Template
A HTML, CSS or JavaScript template in a shop’s design theme.
HTTP GET
GET https://api.bootic.net/v1/themes/{theme_id}/templates/{id}
Response
Status: 200 OK
Content-Type: application/json; charset=utf-8
Connection: keep-alive
ETag: "0728e2965bd03e20a7f1c33add2f8775"
Last-Modified: Fri, 20 Jun 2014 22:34:14 GMT
Cache-Control: must-revalidate, private, max-age=0
Date: Wed, 31 Jul 2013 21:11:52 GMT
X-OAuth-Scopes: admin
{
"_class": [
"themeTemplate"
],
"_links": {
"self": {
"href": "https://api.bootic.net/v1/themes/6292/templates/111121"
},
"btc:update_template": {
"href": "https://api.bootic.net/v1/themes/6292/templates/111121",
"method": "put",
"title": "Update a theme template"
},
"btc:delete_template": {
"href": "https://api.bootic.net/v1/themes/6292/templates/111122",
"method": "delete",
"title": "Delete a theme template"
}
},
"id": "111121",
"updated_on": "2017-12-18T12:11:07.000Z",
"file_name": "about.html",
"name": "about",
"content_type": "html",
"body": "This is the About Us page"
}
Links
- self
- A link back to the current template
- btc:update_template
- Update template. See update_template
- btc:delete_template
- Delete template. Only present if template is deletable. See delete_template