@webitel/api-services
Preparing search index...
spaces/spaces
getSpaces
Function getSpaces
getSpaces
(
axiosInstance
?:
AxiosInstance
,
)
:
{
createSpace
:
(
knowledgebaseInputSpace
:
KnowledgebaseInputSpace
[]
,
params
?:
CreateSpaceParams
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
KnowledgebaseSpace
,
any
,
{}
>
>
;
deleteSpace
:
(
etag
:
string
,
params
?:
DeleteSpaceParams
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
KnowledgebaseSpace
,
any
,
{}
>
>
;
listSpaces
:
(
params
?:
ListSpacesParams
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
KnowledgebaseSpaceList
,
any
,
{}
>
>
;
locateSpace
:
(
etag
:
string
,
params
?:
LocateSpaceParams
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
KnowledgebaseSpace
,
any
,
{}
>
>
;
updateSpace
:
(
etag
:
string
,
updateSpaceBody
:
UpdateSpaceBody
,
params
?:
UpdateSpaceParams
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
KnowledgebaseSpace
,
any
,
{}
>
>
;
}
Parameters
axiosInstance
:
AxiosInstance
= axios
Returns
{
createSpace
:
(
knowledgebaseInputSpace
:
KnowledgebaseInputSpace
[]
,
params
?:
CreateSpaceParams
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
KnowledgebaseSpace
,
any
,
{}
>
>
;
deleteSpace
:
(
etag
:
string
,
params
?:
DeleteSpaceParams
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
KnowledgebaseSpace
,
any
,
{}
>
>
;
listSpaces
:
(
params
?:
ListSpacesParams
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
KnowledgebaseSpaceList
,
any
,
{}
>
>
;
locateSpace
:
(
etag
:
string
,
params
?:
LocateSpaceParams
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
KnowledgebaseSpace
,
any
,
{}
>
>
;
updateSpace
:
(
etag
:
string
,
updateSpaceBody
:
UpdateSpaceBody
,
params
?:
UpdateSpaceParams
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
KnowledgebaseSpace
,
any
,
{}
>
>
;
}
createSpace
:
(
knowledgebaseInputSpace
:
KnowledgebaseInputSpace
[]
,
params
?:
CreateSpaceParams
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
KnowledgebaseSpace
,
any
,
{}
>
>
deleteSpace
:
(
etag
:
string
,
params
?:
DeleteSpaceParams
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
KnowledgebaseSpace
,
any
,
{}
>
>
listSpaces
:
(
params
?:
ListSpacesParams
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
KnowledgebaseSpaceList
,
any
,
{}
>
>
Field
Type
----------- READ-ONLY -----------
id
int64
ver
int32
etag
string
---------- OPERATIONAL ----------
created_at
int64(epoch:milli)
created_by
lookup(user)
updated_at
int64(epoch:milli)
updated_by
lookup(user)
---------- ATTRIBUTES -----------
name
name!
home_page
string (home_page)
state
bool
has_children
bool
locateSpace
:
(
etag
:
string
,
params
?:
LocateSpaceParams
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
KnowledgebaseSpace
,
any
,
{}
>
>
updateSpace
:
(
etag
:
string
,
updateSpaceBody
:
UpdateSpaceBody
,
params
?:
UpdateSpaceParams
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
KnowledgebaseSpace
,
any
,
{}
>
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@webitel/api-services
Loading...
idveretagcreated_atcreated_byupdated_atupdated_bynamehome_pagestatehas_children