Search
Preparing search index...
The search index is not available
@balena/discourse-sdk
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"api/invitesApi"
InvitesApi
Class InvitesApi
Hierarchy
InvitesApi
Index
Constructors
constructor
Properties
_base
Path
_default
Headers
_use
Querystring
interceptors
Accessors
base
Path
default
Headers
use
Querystring
Methods
add
Interceptor
invites
Json
Post
set
Api
Key
set
Default
Authentication
t
IdInvite
Json
Post
Object literals
authentications
Constructors
constructor
new
Invites
Api
(
basePath
?:
undefined
|
string
)
:
InvitesApi
Parameters
Optional
basePath:
undefined
|
string
Returns
InvitesApi
Properties
Protected
_base
Path
_base
Path
:
string
= defaultBasePath
Protected
_default
Headers
_default
Headers
:
any
Protected
_use
Querystring
_use
Querystring
:
boolean
= false
Protected
interceptors
interceptors
:
Interceptor
[]
= []
Accessors
base
Path
get
basePath
(
)
:
string
set
basePath
(
basePath
:
string
)
:
void
Returns
string
Parameters
basePath:
string
Returns
void
default
Headers
get
defaultHeaders
(
)
:
any
set
defaultHeaders
(
defaultHeaders
:
any
)
:
void
Returns
any
Parameters
defaultHeaders:
any
Returns
void
use
Querystring
set
useQuerystring
(
value
:
boolean
)
:
void
Parameters
value:
boolean
Returns
void
Methods
add
Interceptor
add
Interceptor
(
interceptor
:
Interceptor
)
:
void
Parameters
interceptor:
Interceptor
Returns
void
invites
Json
Post
invites
Json
Post
(
apiKey
:
string
, apiUsername
:
string
, inlineObject7
?:
InlineObject7
, options
?:
{
headers
:
{}
}
)
:
Promise
<
{
body
:
InlineResponse20013
;
response
:
IncomingMessage
}
>
summary
Create an invite
Parameters
apiKey:
string
apiUsername:
string
Optional
inlineObject7:
InlineObject7
Default value
options:
{
headers
:
{}
}
= {headers: {}}
headers
:
{}
[
name:
string
]:
string
Returns
Promise
<
{
body
:
InlineResponse20013
;
response
:
IncomingMessage
}
>
set
Api
Key
set
Api
Key
(
key
:
InvitesApiApiKeys
, value
:
string
)
:
void
Parameters
key:
InvitesApiApiKeys
value:
string
Returns
void
set
Default
Authentication
set
Default
Authentication
(
auth
:
Authentication
)
:
void
Parameters
auth:
Authentication
Returns
void
t
IdInvite
Json
Post
t
IdInvite
Json
Post
(
apiKey
:
string
, apiUsername
:
string
, id
:
string
, inlineObject18
?:
InlineObject18
, options
?:
{
headers
:
{}
}
)
:
Promise
<
{
body
:
InlineResponse20034
;
response
:
IncomingMessage
}
>
summary
Invite to topic
Parameters
apiKey:
string
apiUsername:
string
id:
string
Optional
inlineObject18:
InlineObject18
Default value
options:
{
headers
:
{}
}
= {headers: {}}
headers
:
{}
[
name:
string
]:
string
Returns
Promise
<
{
body
:
InlineResponse20034
;
response
:
IncomingMessage
}
>
Object literals
Protected
authentications
authentications
:
object
default
default
:
Authentication
= <Authentication>new VoidAuth()
Globals
"api/invites
Api"
Invites
Api
Api
Keys
Invites
Api
constructor
_base
Path
_default
Headers
_use
Querystring
interceptors
base
Path
default
Headers
use
Querystring
add
Interceptor
invites
Json
Post
set
Api
Key
set
Default
Authentication
t
IdInvite
Json
Post
authentications
default
Base
Path
Generated using
TypeDoc
Create an invite