@tillhub/javascript-sdk
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Content
Template
Creation
Failed
Content
Template
Delete
Failed
Content
Template
Fetch
Failed
Content
Template
Patch
Failed
Content
Templates
constructor
endpoint
http
options
uri
Helper
base
Endpoint
create
delete
get
get
All
patch
search
Content
Templates
Fetch
Failed
Content
Templates
Search
Failed
Content
Template
Content
Template
Response
Content
Templates
Options
Content
Templates
Query
Content
Templates
Response
Contents
Content
Type
Type
Hierarchy
ThBaseHandler
ContentTemplates
Index
Constructors
constructor
Properties
endpoint
http
options
uri
Helper
base
Endpoint
Methods
create
delete
get
get
All
patch
search
Constructors
constructor
new
Content
Templates
(
options
:
ContentTemplatesOptions
, http
:
Client
)
:
ContentTemplates
Parameters
options:
ContentTemplatesOptions
http:
Client
Returns
ContentTemplates
Properties
endpoint
endpoint
:
string
http
http
:
Client
options
options
:
ContentTemplatesOptions
uri
Helper
uri
Helper
:
UriHelper
Static
base
Endpoint
base
Endpoint
:
string
= '/api/v0/content_templates'
Methods
create
create
(
content
:
ContentTemplate
)
:
Promise
<
ContentTemplateResponse
>
Parameters
content:
ContentTemplate
Returns
Promise
<
ContentTemplateResponse
>
delete
delete
(
templateId
:
string
)
:
Promise
<
ContentTemplateResponse
>
Parameters
templateId:
string
Returns
Promise
<
ContentTemplateResponse
>
get
get
(
templateId
:
string
)
:
Promise
<
ContentTemplateResponse
>
Parameters
templateId:
string
Returns
Promise
<
ContentTemplateResponse
>
get
All
get
All
(
queryOrOptions
?:
ContentTemplatesQuery
)
:
Promise
<
ContentTemplatesResponse
>
Parameters
Optional
queryOrOptions:
ContentTemplatesQuery
Returns
Promise
<
ContentTemplatesResponse
>
patch
patch
(
templateId
:
string
, content
:
ContentTemplate
)
:
Promise
<
ContentTemplateResponse
>
Parameters
templateId:
string
content:
ContentTemplate
Returns
Promise
<
ContentTemplateResponse
>
search
search
(
searchTerm
:
string
)
:
Promise
<
ContentTemplatesResponse
>
Parameters
searchTerm:
string
Returns
Promise
<
ContentTemplatesResponse
>
Generated using
TypeDoc