@ptkl/sdk - v1.13.0
Preparing search index...
v0.10/api/satellites
default
Class default
Hierarchy (
View Summary
)
default
default
Index
Constructors
constructor
Properties
client
env
host
token
Methods
create
create
Version
delete
deploy
execute
get
list
logs
permissions
rollback
set
Client
versions
Constructors
constructor
new
default
(
options
?:
{
env
?:
string
;
host
?:
string
;
token
?:
string
}
)
:
default
Parameters
Optional
options
:
{
env
?:
string
;
host
?:
string
;
token
?:
string
}
Returns
default
Properties
client
client
:
AxiosInstance
Protected
env
env
:
null
|
string
= null
Protected
host
host
:
null
|
string
= null
Protected
token
token
:
null
|
string
= null
Methods
create
create
(
payload
:
SatelliteCreatePayload
)
:
Promise
<
SatelliteTemplate
>
Parameters
payload
:
SatelliteCreatePayload
Returns
Promise
<
SatelliteTemplate
>
create
Version
createVersion
(
id
:
string
,
payload
:
SatelliteSchemaPayload
,
)
:
Promise
<
SatelliteSchemaVersion
>
Parameters
id
:
string
payload
:
SatelliteSchemaPayload
Returns
Promise
<
SatelliteSchemaVersion
>
delete
delete
(
id
:
string
)
:
Promise
<
{
deleted
:
boolean
}
>
Parameters
id
:
string
Returns
Promise
<
{
deleted
:
boolean
}
>
deploy
deploy
(
id
:
string
,
payload
:
SatelliteDeployPayload
)
:
Promise
<
SatelliteTemplate
>
Parameters
id
:
string
payload
:
SatelliteDeployPayload
Returns
Promise
<
SatelliteTemplate
>
execute
execute
<
T
=
any
>
(
id
:
string
,
command
:
string
,
payload
?:
SatelliteCommandExecutePayload
,
)
:
Promise
<
SatelliteCommandExecuteResponse
<
T
>
>
Type Parameters
T
=
any
Parameters
id
:
string
command
:
string
payload
:
SatelliteCommandExecutePayload
= {}
Returns
Promise
<
SatelliteCommandExecuteResponse
<
T
>
>
get
get
(
id
:
string
)
:
Promise
<
SatelliteTemplate
>
Parameters
id
:
string
Returns
Promise
<
SatelliteTemplate
>
list
list
()
:
Promise
<
SatelliteTemplate
[]
>
Returns
Promise
<
SatelliteTemplate
[]
>
logs
logs
(
id
:
string
,
params
?:
SatelliteLogsParams
)
:
Promise
<
any
>
Parameters
id
:
string
params
:
SatelliteLogsParams
= {}
Returns
Promise
<
any
>
permissions
permissions
(
id
:
string
)
:
Promise
<
SatellitePermissionExport
[]
>
Parameters
id
:
string
Returns
Promise
<
SatellitePermissionExport
[]
>
rollback
rollback
(
id
:
string
,
payload
:
SatelliteDeployPayload
,
)
:
Promise
<
SatelliteTemplate
>
Parameters
id
:
string
payload
:
SatelliteDeployPayload
Returns
Promise
<
SatelliteTemplate
>
set
Client
setClient
(
client
:
AxiosInstance
)
:
default
Parameters
client
:
AxiosInstance
Returns
default
versions
versions
(
id
:
string
)
:
Promise
<
SatelliteSchemaVersion
[]
>
Parameters
id
:
string
Returns
Promise
<
SatelliteSchemaVersion
[]
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
client
env
host
token
Methods
create
create
Version
delete
deploy
execute
get
list
logs
permissions
rollback
set
Client
versions
@ptkl/sdk - v1.13.0
Loading...