Preparing search index...
The search index is not available
app-hablla
app-hablla
api/WorkspacesApi
WorkspacesApi
Class WorkspacesApi
Hierarchy (
View Summary
)
HabllaAPIBuilderApi
WorkspacesApi
Index
Constructors
constructor
Properties
endpoint
error
workspace
Id
Methods
get
Workspace
By
Id
make
Request
make
Request
With
Data
params
To
String
reject
Invite
set
Bearer
Token
validate
Workspace
Id
Constructors
constructor
new
WorkspacesApi
(
workspaceId
:
string
,
validateWorkspace
?:
boolean
,
)
:
WorkspacesApi
Parameters
workspaceId
:
string
Optional
validateWorkspace
:
boolean
Returns
WorkspacesApi
Properties
endpoint
endpoint
:
string
= ''
error
error
:
{
[
key
:
string
]:
Error
}
workspace
Id
workspaceId
:
string
Methods
get
Workspace
By
Id
getWorkspaceById
()
:
Promise
<
IWorkspace
>
Returns
Promise
<
IWorkspace
>
make
Request
makeRequest
<
ResponseData
=
any
>
(
method
:
"delete"
|
"get"
,
endpoint
:
string
,
config
?:
AxiosRequestConfig
,
)
:
Promise
<
AxiosResponse
<
ResponseData
>
>
Type Parameters
ResponseData
=
any
Parameters
method
:
"delete"
|
"get"
endpoint
:
string
Optional
config
:
AxiosRequestConfig
Returns
Promise
<
AxiosResponse
<
ResponseData
>
>
make
Request
With
Data
makeRequestWithData
<
ResponseData
=
any
,
CreateData
=
any
>
(
method
:
"post"
|
"put"
|
"patch"
,
endpoint
:
string
,
data
:
CreateData
,
config
?:
AxiosRequestConfig
,
)
:
Promise
<
AxiosResponse
<
ResponseData
>
>
Type Parameters
ResponseData
=
any
CreateData
=
any
Parameters
method
:
"post"
|
"put"
|
"patch"
endpoint
:
string
data
:
CreateData
Optional
config
:
AxiosRequestConfig
Returns
Promise
<
AxiosResponse
<
ResponseData
>
>
params
To
String
paramsToString
(
params
?:
{
[
key
:
string
]:
string
}
)
:
string
Parameters
Optional
params
:
{
[
key
:
string
]:
string
}
Returns
string
reject
Invite
rejectInvite
(
invite_id
:
string
)
:
Promise
<
void
>
Parameters
invite_id
:
string
Returns
Promise
<
void
>
set
Bearer
Token
setBearerToken
(
token
:
string
)
:
void
Parameters
token
:
string
Returns
void
validate
Workspace
Id
validateWorkspaceId
()
:
Promise
<
void
>
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
endpoint
error
workspace
Id
Methods
get
Workspace
By
Id
make
Request
make
Request
With
Data
params
To
String
reject
Invite
set
Bearer
Token
validate
Workspace
Id
app-hablla
Loading...