LibraryH3lp supports cookie-based authentication. To learn more, you can read the details on authentication.
Requests are served over HTTPS. To ensure data privacy, unencrypted HTTP is not supported.
An FAQ template instance resource represents a FAQ template used to render a FAQ site.
/2013-07-21/faqs/{FAQId}/templates/{templateId}
A FAQ template resource is represented by the following properties:
Property | Description |
---|---|
id | Unique integer identifier for a FAQ template. |
name | String containing the template's name. |
content | String containing the template's content. |
revisions | Array of revision objects. The last 10 revisions made to a template are retained. |
Retrieve the details of a FAQ template.
Returns a JSON response containing a representation of a FAQ template, including the properties above.
GET /2013-07-21/faqs/2817/templates/44737
{
"id": 44737,
"name": "login.html",
"content": "<div id="tag-cloud"></div>",
"revisions": [{
"revision": 1,
"created": "2015-05-18T13:58:14.808-04:00",
"editor": "ashelton"
}]
}
Not supported.
Modify the properties of an existing FAQ template.
You may include, as JSON PUT data, any of the following properties.
Property | Description |
---|---|
content | String containing the template content. |
Returns a JSON response representing the updated template resource.
PUT /2013-07-21/faqs/2817/templates/44737
{
"content": "<div id="tag-cloud">tag cloud</div>",
}
{
"id": 44737,
"name": "tag-cloud.html",
"content": "<div id="tag-cloud">tag cloud</div>",
"revisions": [{
"revision": 1,
"created": "2015-05-18T13:58:14.808-04:00",
"editor": "ashelton"
}, {
"revision": 2,
"created": "2015-05-19T10:11:25.170-04:00",
"editor": "ashelton"
}]
}
Not supported.
The FAQ Templates list resource represents all the FAQ templates for a FAQ site.
/2013-07-21/faqs/3060/templates
Returns all the FAQ templates for a FAQ site.
Returns a JSON response containing a list of FAQ template resources.
GET /2013-07-21/faqs/3060/templates
[
{
"id": 44737
"name": "tag-cloud.html",
"content": "<div id="tag-cloud"></div>",
"revisions": [{
"revision": 1,
"created": "2015-05-18T13:58:14.808-04:00",
"editor": "ashelton"
}]
},
...
]
Not supported.
Not supported.
Not supported.