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