Home > @holochain/client > AdminWebsocket
A class for interacting with a conductor's Admin API.
Signature:
export declare class AdminWebsocket implements AdminApi
Implements: AdminApi
Property |
Modifiers |
Type |
Description |
---|---|---|---|
Add an existing agent to Holochain. | |||
Request all available info about an agent. | |||
Requester<AttachAppInterfaceRequest, AttachAppInterfaceResponse> |
Send a request to open the given port for AppWebsocket connections. | ||
(cellId: CellId, functions?: GrantedFunctions) => Promise<void> |
Generate and authorize a new key pair for signing zome calls. | ||
|
The websocket client used for transporting requests and responses. | ||
number |
Default timeout for any request made over the websocket. | ||
Delete a disabled clone cell. | |||
Disable a running app. | |||
Dump the full state of the specified cell, including its chain and DHT shard, as JSON. | |||
Requester<DumpNetworkStatsRequest, DumpNetworkStatsResponse> | |||
Dump the state of the specified cell, including its source chain, as JSON. | |||
Enable a stopped app. | |||
Requester<GenerateAgentPubKeyRequest, GenerateAgentPubKeyResponse> |
Generate a new agent pub key. | ||
Requester<GetCompatibleCellsRequest, GetCompatibleCellsResponse> | |||
Requester<GetDnaDefinitionRequest, GetDnaDefinitionResponse> |
Get the DNA definition for the specified DNA hash. | ||
(cellId: CellId, functions: GrantedFunctions, signingKey: AgentPubKey) => Promise<CapSecret> |
Grant a capability for signing zome calls. | ||
Requester<GrantZomeCallCapabilityRequest, GrantZomeCallCapabilityResponse> |
Grant a zome call capability for an agent, to be used for signing zome calls. | ||
Install the specified app into Holochain. | |||
Requester<IssueAppAuthenticationTokenRequest, IssueAppAuthenticationTokenResponse> | |||
Requester<ListAppInterfacesRequest, ListAppInterfacesResponse> |
List all attached app interfaces. | ||
List all installed apps. | |||
List all installed cell ids. | |||
List all registered DNAs. | |||
Register a DNA for later app installation. Stores the given DNA into the Holochain DNA database and returns the hash of it. | |||
Generate a new agent pub key. | |||
Uninstall the specified app from Holochain. | |||
Requester<UpdateCoordinatorsRequest, UpdateCoordinatorsResponse> |
Update coordinators for an installed app. |
Method |
Modifiers |
Description |
---|---|---|
|
Factory mehtod to create a new instance connected to the given URL. |