Optional
baseurl: stringReadonly
channelsCreates a new channel token for a project
The state to set on the token
Optional
project: `project_${string}`The project to attach this token to
Publishes a direct message to a single token
The token to publish a direct message to
The event name
The data for this event
Creates a new channel
The type of the channel to create
Optional
id: null | stringAn ID to assign to the channel (optional, set this to undefined
or null
if you do not want to specify an ID)
Optional
options: null | { Optional
project: `project_${string}`A project ID (if necessary) to assign this to
Get all channels for a project
Optional
project: `project_${string}`An optional project ID if authenticating with a PAT or Bearer
Readonly
clientReadonly
igniteDeletes a container
Get the logs for a container
The ID of the container
Creates a new deployment. You should use this overload if you are authorizing with a bearer or pat.
The project ID to create the deployment in.
The deployment config to create.
Create a new deployment. You should use this overload if you are authorizing with a project token and not with a bearer or pat.
The config for this deployment.
This property has moved — use hop.ignite.gateways instead
Creates and attaches a gateway to a deployment
The deployment to create a gateway on
Fecthes all gateways attached to a deployment
The ID of the deployment to fetch gateways for
Gets a deployment by name
The deployment name to get
Optional
projectId: `project_${string}`The project ID. You only need to provide this if you are getting by name.
Gets a deployment by id
The deployment ID
Optional
projectId: `project_${string}`Gets all deployments for a project
A list of deployments for the given project.
Optional
projectId: `project_${string}`The project ID to list deployments for. You only need to provide this if you are using bearer or PAT authentication.
Creates and attaches a gateway to a deployment
The deployment to create a gateway on
Fecthes all gateways attached to a deployment
The ID of the deployment to fetch gateways for
Readonly
pipeOptional
ephemeral?: booleanOptional
hlsReadonly
projectsUse .tokens instead
Creates a new project token
A newly created project token
Permissions for this flag
Optional
projectId: `project_${string}`The project to create a key for
Get all project tokens for a project
An array of all secrets for the project
Optional
projectId: `project_${string}`The project to fetch secrets for
Creates a new project token
A newly created project token
Permissions for this flag
Optional
projectId: `project_${string}`The project to create a key for
Get all project tokens for a project
An array of all secrets for the project
Optional
projectId: `project_${string}`The project to fetch secrets for
Fetch the currently authorized member from a project. You cannot use this route if you are authorizing with a project token as there is no user attached to it.
The member authorized by the SDK
The project ID to fetch a member from
Readonly
registryReadonly
usersGets the current user
The current user authorized by the SDK
Generated using TypeDoc
Constructs a new instance of Hop and all of its SDKs.
Example