### Install Bandwagon Go Library Source: https://github.com/sgmac/bandwagon/blob/master/README.md Install the library using the standard Go get command. ```go go get -u github.com/sgmac/bandwagon ``` -------------------------------- ### Start Server Source: https://github.com/sgmac/bandwagon/blob/master/README.md Starts the VPS. ```APIDOC ## Start Server ### Description Starts the VPS. ### Method ```go c.Start() ``` ### Response Returns a response indicating success or failure. ``` -------------------------------- ### Install OS Source: https://context7.com/sgmac/bandwagon/llms.txt `Install` calls `GET /v1/reinstallOS` with the specified OS template name. Returns an `*InstallResponse` containing the new root password, SSH port, and notification email on success. ```APIDOC ## Install — Reinstall the OS on a VPS ### Description Reinstalls the operating system on the VPS using a specified OS template. The response includes details for accessing the newly installed system. ### Method GET ### Endpoint `/v1/reinstallOS` ### Parameters #### Query Parameters - **template** (string) - Required - The name of the OS template to install. ### Response #### Success Response (200) Returns an `*InstallResponse` containing the new root password, SSH port, and notification email on success. - **RootPassword** (string) - The newly generated root password. - **SSHPort** (integer) - The SSH port for the new installation. - **NotificationEmail** (string) - The email address for notifications. - **Error** (integer) - API error code, 0 on success. - **Message** (string) - Success or error message. - **AdditionalErrorCode** (integer) - Additional error details if applicable. ### Request Example ```go package main import ( "fmt" "log" "github.com/sgmac/bandwagon" ) func main() { creds := bandwagon.Credentials{APIKey: "your-api-key", VeID: "123456"} c := bandwagon.NewClient(creds) // First, list available images to find valid template names images, err := c.ListImages() if err != nil { log.Fatalf("ListImages error: %v", err) } fmt.Println("Installing from template:", images.Templates[0]) resp, err := c.Install("ubuntu-13.10-x86_64") if err != nil { log.Fatalf("Install error: %v", err) } if resp.Error != 0 { log.Fatalf("Install failed: %s (code %d, additional: %d)", resp.Message, resp.Error, resp.AdditionalErrorCode) } fmt.Printf("OS installed successfully\n") fmt.Printf("Root password: %s\n", resp.RootPassword) fmt.Printf("SSH port: %d\n", resp.SSHPort) fmt.Printf("Notification: %s\n", resp.NotificationEmail) } ``` ``` -------------------------------- ### Install OS — Reinstall the OS on a VPS Source: https://context7.com/sgmac/bandwagon/llms.txt Calls GET /v1/reinstallOS with the specified OS template name. Requires listing available images first to find valid template names. Check the response's Error field for API-level failures. ```go package main import ( "fmt" "log" "github.com/sgmac/bandwagon" ) func main() { creds := bandwagon.Credentials{APIKey: "your-api-key", VeID: "123456"} c := bandwagon.NewClient(creds) // First, list available images to find valid template names images, err := c.ListImages() if err != nil { log.Fatalf("ListImages error: %v", err) } fmt.Println("Installing from template:", images.Templates[0]) resp, err := c.Install("ubuntu-13.10-x86_64") if err != nil { log.Fatalf("Install error: %v", err) } if resp.Error != 0 { log.Fatalf("Install failed: %s (code %d, additional: %d)", resp.Message, resp.Error, resp.AdditionalErrorCode) } fmt.Printf("OS installed successfully\n") fmt.Printf("Root password: %s\n", resp.RootPassword) fmt.Printf("SSH port: %d\n", resp.SSHPort) fmt.Printf("Notification: %s\n", resp.NotificationEmail) } ``` -------------------------------- ### Install OS Source: https://github.com/sgmac/bandwagon/blob/master/README.md Installs a specified operating system on the VPS. ```APIDOC ## Install OS ### Description Installs a specified operating system on the VPS. ### Method ```go c.Install(image string) ``` ### Parameters #### Path Parameters - **image** (string) - Required - The name of the OS image to install. ``` -------------------------------- ### Start Bandwagon VPS Source: https://github.com/sgmac/bandwagon/blob/master/README.md Initiate the startup process for a Bandwagon VPS. Requires an initialized client. ```go c := bandwagon.NewClient(creds) resp, err := c.Start() ``` -------------------------------- ### Start a VPS Source: https://context7.com/sgmac/bandwagon/llms.txt Powers on a stopped VPS by sending a start request to the API. It verifies the response for API-level errors before confirming success. ```go package main import ( "fmt" "log" "github.com/sgmac/bandwagon" ) func main() { creds := bandwagon.Credentials{APIKey: "your-api-key", VeID: "123456"} c := bandwagon.NewClient(creds) resp, err := c.Start() if err != nil { log.Fatalf("Start error: %v", err) } if resp.Error != 0 { log.Fatalf("Failed to start VPS: %s (code %d)", resp.Message, resp.Error) } fmt.Println("VPS started successfully") } ``` -------------------------------- ### Install OS on Bandwagon VPS Source: https://github.com/sgmac/bandwagon/blob/master/README.md Install a new operating system on the Bandwagon VPS. Specify the desired OS image name. ```go c := bandwagon.NewClient(creds) resp, err := c.Install("ubuntu-13.10-x86_64") ``` -------------------------------- ### Start Source: https://context7.com/sgmac/bandwagon/llms.txt Powers on a stopped Virtual Private Server (VPS). ```APIDOC ## Start — Power on a VPS `Start` sends a `GET /v1/start` request to boot a stopped VPS. Returns a `*ServerResponse` with `Error: 0` on success. ### Method Signature `func (c *Client) Start() (*ServerResponse, error)` ### Endpoint `GET /v1/start` ### Response #### Success Response (200) - **ServerResponse** (*ServerResponse) - A response indicating the status of the operation. - **Error** (int) - Error code, `0` indicates success. - **Message** (string) - A message describing the result of the operation. ### Request Example ```go resp, err := c.Start() if err != nil { log.Fatalf("Start error: %v", err) } if resp.Error != 0 { log.Fatalf("Failed to start VPS: %s (code %d)", resp.Message, resp.Error) } fmt.Println("VPS started successfully") ``` ``` -------------------------------- ### Get VPS Info Source: https://context7.com/sgmac/bandwagon/llms.txt `Info` calls `GET /v1/getServiceInfo` and returns a fully populated `*InfoVPS` struct covering VM type, hostname, node location, plan details, resource allocations, IP addresses, and current OS. ```APIDOC ## Info — Retrieve detailed VPS information ### Description Calls `GET /v1/getServiceInfo` to fetch comprehensive details about the VPS. This includes configuration, resource allocation, and network information. ### Method GET ### Endpoint `/v1/getServiceInfo` ### Response #### Success Response (200) Returns a `*InfoVPS` struct containing detailed information about the VPS. - **VMType** (string) - The type of virtual machine. - **Hostname** (string) - The current hostname of the VPS. - **NodeIP** (string) - The IP address of the node hosting the VPS. - **NodeLocation** (string) - The geographical location of the node. - **LocationIPv6Ready** (boolean) - Indicates if IPv6 is ready for the location. - **Plan** (string) - The service plan details. - **PlanRAM** (integer) - Allocated RAM in MB. - **PlanDisk** (integer) - Allocated disk space in GB. - **OS** (string) - The current operating system installed. - **IPAddresses** (array of strings) - List of IP addresses assigned to the VPS. - **Suspended** (boolean) - Indicates if the VPS is suspended. - **Error** (integer) - API error code, 0 on success. ### Request Example ```go package main import ( "fmt" "log" "github.com/sgmac/bandwagon" ) func main() { creds := bandwagon.Credentials{APIKey: "your-api-key", VeID: "123456"} c := bandwagon.NewClient(creds) info, err := c.Info() if err != nil { log.Fatalf("Info error: %v", err) } if info.Error != 0 { log.Fatalf("API error code: %d", info.Error) } fmt.Printf("VM Type: %s\n", info.VMType) fmt.Printf("Hostname: %s\n", info.Hostname) fmt.Printf("Node IP: %s\n", info.NodeIP) fmt.Printf("Location: %s\n", info.NodeLocation) fmt.Printf("IPv6 Ready: %v\n", info.LocationIPv6Ready) fmt.Printf("Plan: %s\n", info.Plan) fmt.Printf("RAM: %d MB\n", info.PlanRAM) fmt.Printf("Disk: %d GB\n", info.PlanDisk) fmt.Printf("OS: %s\n", info.OS) fmt.Printf("IP Addresses: %v\n", info.IPAddresses) fmt.Printf("Suspended: %v\n", info.Suspended) } ``` ``` -------------------------------- ### Get VPS Info — Retrieve detailed VPS information Source: https://context7.com/sgmac/bandwagon/llms.txt Calls GET /v1/getServiceInfo to get a comprehensive snapshot of VPS details. Check the response's Error field for API-level failures. ```go package main import ( "fmt" "log" "github.com/sgmac/bandwagon" ) func main() { creds := bandwagon.Credentials{APIKey: "your-api-key", VeID: "123456"} c := bandwagon.NewClient(creds) info, err := c.Info() if err != nil { log.Fatalf("Info error: %v", err) } if info.Error != 0 { log.Fatalf("API error code: %d", info.Error) } fmt.Printf("VM Type: %s\n", info.VMType) fmt.Printf("Hostname: %s\n", info.Hostname) fmt.Printf("Node IP: %s\n", info.NodeIP) fmt.Printf("Location: %s\n", info.NodeLocation) fmt.Printf("IPv6 Ready: %v\n", info.LocationIPv6Ready) fmt.Printf("Plan: %s\n", info.Plan) fmt.Printf("RAM: %d MB\n", info.PlanRAM) fmt.Printf("Disk: %d GB\n", info.PlanDisk) fmt.Printf("OS: %s\n", info.OS) fmt.Printf("IP Addresses: %v\n", info.IPAddresses) fmt.Printf("Suspended: %v\n", info.Suspended) } ``` -------------------------------- ### ListImages Source: https://context7.com/sgmac/bandwagon/llms.txt Retrieves a list of available operating system templates and the currently installed OS for a VPS. ```APIDOC ## ListImages — Retrieve available OS templates `ListImages` calls the `GET /v1/getAvailableOS` endpoint and returns an `*Images` struct containing the list of installable OS templates and the currently installed OS. The `Error` field is `0` on success. ### Method Signature `func (c *Client) ListImages() (*Images, error)` ### Endpoint `GET /v1/getAvailableOS` ### Response #### Success Response (200) - **Images** (*Images) - A struct containing OS information. - **Error** (int) - Error code, `0` indicates success. - **Installed** (string) - The currently installed OS template. - **Templates** ([]string) - A list of available OS templates. ### Request Example ```go images, err := c.ListImages() if err != nil { log.Fatalf("ListImages error: %v", err) } if images.Error != 0 { log.Fatalf("API returned error code: %d", images.Error) } fmt.Println("Currently installed:", images.Installed) ``` ``` -------------------------------- ### Get Bandwagon VPS Info Source: https://github.com/sgmac/bandwagon/blob/master/README.md Retrieve detailed information for the running VPS. Requires an initialized client. ```go c := bandwagon.NewClient(creds) resp, err := c.Info() ``` -------------------------------- ### List Images Source: https://github.com/sgmac/bandwagon/blob/master/README.md Retrieves a list of available OS images for installation on the VPS. ```APIDOC ## List Images ### Description Retrieves a list of available OS images for installation on the VPS. ### Method ```go c.ListImages() ``` ### Response Returns a list of images. ``` -------------------------------- ### List Available OS Images Source: https://context7.com/sgmac/bandwagon/llms.txt Retrieves a list of available operating system templates and the currently installed OS for a VPS. It checks for API-level errors indicated by the `Error` field in the response. ```go package main import ( "fmt" "log" "github.com/sgmac/bandwagon" ) func main() { creds := bandwagon.Credentials{APIKey: "your-api-key", VeID: "123456"} c := bandwagon.NewClient(creds) images, err := c.ListImages() if err != nil { log.Fatalf("ListImages error: %v", err) } if images.Error != 0 { log.Fatalf("API returned error code: %d", images.Error) } fmt.Println("Currently installed:", images.Installed) fmt.Println("Available templates:") for _, tmpl := range images.Templates { fmt.Println(" -", tmpl) } // Output: // Currently installed: centos // Available templates: // - debian-x64 // - centos-7 } ``` -------------------------------- ### Get Server Info Source: https://github.com/sgmac/bandwagon/blob/master/README.md Retrieves detailed information about the VPS. ```APIDOC ## Get Server Info ### Description Retrieves detailed information about the VPS. ### Method ```go c.Info() ``` ### Response Returns an `InfoVPS` struct containing server details. ``` -------------------------------- ### Set Hostname — Set a new hostname for the VPS Source: https://context7.com/sgmac/bandwagon/llms.txt Calls GET /v1/setHostname with the provided hostname string. Check the response's Error field for API-level failures. ```go package main import ( "fmt" "log" "github.com/sgmac/bandwagon" ) func main() { creds := bandwagon.Credentials{APIKey: "your-api-key", VeID: "123456"} c := bandwagon.NewClient(creds) resp, err := c.Hostname("ragnarok") if err != nil { log.Fatalf("Hostname error: %v", err) } if resp.Error != 0 { log.Fatalf("Failed to set hostname: %s (code %d)", resp.Message, resp.Error) } fmt.Println("Hostname updated to: ragnarok") } ``` -------------------------------- ### Set Hostname Source: https://context7.com/sgmac/bandwagon/llms.txt `Hostname` calls `GET /v1/setHostname` with the provided hostname string. Returns a `*ServerResponse` with `Error: 0` on success. ```APIDOC ## Hostname — Set a new hostname for the VPS ### Description Calls `GET /v1/setHostname` to update the VPS with a new hostname. The operation is considered successful if the response indicates no errors. ### Method GET ### Endpoint `/v1/setHostname` ### Parameters #### Query Parameters - **hostname** (string) - Required - The new hostname for the VPS. ### Response #### Success Response (200) Returns a `*ServerResponse` with `Error: 0` on success. ### Request Example ```go package main import ( "fmt" "log" "github.com/sgmac/bandwagon" ) func main() { creds := bandwagon.Credentials{APIKey: "your-api-key", VeID: "123456"} c := bandwagon.NewClient(creds) resp, err := c.Hostname("ragnarok") if err != nil { log.Fatalf("Hostname error: %v", err) } if resp.Error != 0 { log.Fatalf("Failed to set hostname: %s (code %d)", resp.Message, resp.Error) } fmt.Println("Hostname updated to: ragnarok") } ``` ``` -------------------------------- ### Kill VPS — Forcefully terminate a VPS Source: https://context7.com/sgmac/bandwagon/llms.txt Use this to send a GET /v1/kill request for a hard power-off. Useful when the VPS is unresponsive. Ensure to check the response's Error field for API-level failures. ```go package main import ( "fmt" "log" "github.com/sgmac/bandwagon" ) func main() { creds := bandwagon.Credentials{APIKey: "your-api-key", VeID: "123456"} c := bandwagon.NewClient(creds) resp, err := c.Kill() if err != nil { log.Fatalf("Kill error: %v", err) } if resp.Error != 0 { log.Fatalf("Failed to kill VPS: %s (code %d)", resp.Message, resp.Error) } fmt.Println("VPS forcefully terminated") } ``` -------------------------------- ### Kill VPS Source: https://context7.com/sgmac/bandwagon/llms.txt `Kill` sends a `GET /v1/kill` request, performing a hard power-off of the VPS without a graceful shutdown. Useful when the VPS is unresponsive. Returns a `*ServerResponse` with `Error: 0` on success. ```APIDOC ## Kill — Forcefully terminate a VPS ### Description Sends a `GET /v1/kill` request to perform a hard power-off of the VPS. This is useful when the VPS is unresponsive and requires an immediate shutdown. ### Method GET ### Endpoint `/v1/kill` ### Response #### Success Response (200) Returns a `*ServerResponse` with `Error: 0` on success. ### Request Example ```go package main import ( "fmt" "log" "github.com/sgmac/bandwagon" ) func main() { creds := bandwagon.Credentials{APIKey: "your-api-key", VeID: "123456"} c := bandwagon.NewClient(creds) resp, err := c.Kill() if err != nil { log.Fatalf("Kill error: %v", err) } if resp.Error != 0 { log.Fatalf("Failed to kill VPS: %s (code %d)", resp.Message, resp.Error) } fmt.Println("VPS forcefully terminated") } ``` ``` -------------------------------- ### Create Bandwagon Client and List Images Source: https://github.com/sgmac/bandwagon/blob/master/README.md Initialize the Bandwagon client with API credentials and list available images. Ensure your APIKey and VeID are correctly set. ```go creds := bandwagon.Credentials{ APIKey: "", VeID: "", } c := bandwagon.NewClient(creds) images, err := c.ListImages() if err != nil { log.Println(err) } fmt.Println(images) ``` -------------------------------- ### Stop Bandwagon VPS Source: https://github.com/sgmac/bandwagon/blob/master/README.md Initiate the shutdown process for a Bandwagon VPS. Requires an initialized client. ```go c := bandwagon.NewClient(creds) resp, err := c.Stop() ``` -------------------------------- ### Set Hostname for Bandwagon VPS Source: https://github.com/sgmac/bandwagon/blob/master/README.md Set a new hostname for the Bandwagon VPS. Requires an initialized client and the desired hostname. ```go c := bandwagon.NewClient(creds) resp, err := c.Hostname("ragnarok") ``` -------------------------------- ### Reboot Bandwagon VPS Source: https://github.com/sgmac/bandwagon/blob/master/README.md Reboot a Bandwagon VPS. Requires an initialized client. ```go c := bandwagon.NewClient(creds) resp, err := c.Reboot() ``` -------------------------------- ### NewClient Source: https://context7.com/sgmac/bandwagon/llms.txt Initializes a new Bandwagon API client with provided credentials. This client is used for all subsequent API interactions. ```APIDOC ## NewClient — Create an authenticated API client `NewClient` initializes a `Client` instance with the provided `Credentials` (API key and VeID). The returned client is used for all subsequent API calls. It defaults to `https://api.64clouds.com/` as the base URL and uses `http.DefaultClient` for transport. ### Method Signature `func NewClient(creds Credentials) *Client` ### Parameters #### Request Body - **creds** (Credentials) - Required - An object containing APIKey and VeID. - **APIKey** (string) - Required - Your BandwagonHOST API key. - **VeID** (string) - Required - Your Virtual Environment ID. ### Request Example ```go creds := bandwagon.Credentials{ APIKey: "your-api-key-here", VeID: "123456", } c := bandwagon.NewClient(creds) ``` ### Response - **Client** (*Client) - A configured API client instance. - **BaseURL** (string) - The base URL for API requests. ``` -------------------------------- ### Reboot Server Source: https://github.com/sgmac/bandwagon/blob/master/README.md Reboots the VPS. ```APIDOC ## Reboot Server ### Description Reboots the VPS. ### Method ```go c.Reboot() ``` ### Response Returns a response indicating success or failure. ``` -------------------------------- ### Create Bandwagon API Client Source: https://context7.com/sgmac/bandwagon/llms.txt Initializes an authenticated Bandwagon API client using provided credentials. The client defaults to the production API endpoint and uses Go's default HTTP client. ```go package main import ( "fmt" "log" "github.com/sgmac/bandwagon" ) func main() { creds := bandwagon.Credentials{ APIKey: "your-api-key-here", VeID: "123456", } c := bandwagon.NewClient(creds) fmt.Println("Client created, BaseURL:", c.BaseURL) // Output: Client created, BaseURL: https://api.64clouds.com/ // Use the client for any API call info, err := c.Info() if err != nil { log.Fatalf("failed to get VPS info: %v", err) } fmt.Printf("Hostname: %s, OS: %s\n", info.Hostname, info.OS) } ``` -------------------------------- ### Set Hostname Source: https://github.com/sgmac/bandwagon/blob/master/README.md Sets the hostname for the VPS. ```APIDOC ## Set Hostname ### Description Sets the hostname for the VPS. ### Method ```go c.Hostname(hostname string) ``` ### Parameters #### Path Parameters - **hostname** (string) - Required - The desired hostname for the VPS. ``` -------------------------------- ### Reboot a VPS Source: https://context7.com/sgmac/bandwagon/llms.txt Restarts a running VPS using a soft reboot command sent via the API. It confirms the operation's success by checking the API response for errors. ```go package main import ( "fmt" "log" "github.com/sgmac/bandwagon" ) func main() { creds := bandwagon.Credentials{APIKey: "your-api-key", VeID: "123456"} c := bandwagon.NewClient(creds) resp, err := c.Reboot() if err != nil { log.Fatalf("Reboot error: %v", err) } if resp.Error != 0 { log.Fatalf("Failed to reboot VPS: %s (code %d)", resp.Message, resp.Error) } fmt.Println("VPS rebooted successfully") } ``` -------------------------------- ### Reboot Source: https://context7.com/sgmac/bandwagon/llms.txt Restarts a running Virtual Private Server (VPS) using a soft reboot. ```APIDOC ## Reboot — Restart a running VPS `Reboot` sends a `GET /v1/restart` request. It is equivalent to a soft reboot of the VPS. Returns a `*ServerResponse` with `Error: 0` on success. ### Method Signature `func (c *Client) Reboot() (*ServerResponse, error)` ### Endpoint `GET /v1/restart` ### Response #### Success Response (200) - **ServerResponse** (*ServerResponse) - A response indicating the status of the operation. - **Error** (int) - Error code, `0` indicates success. - **Message** (string) - A message describing the result of the operation. ### Request Example ```go resp, err := c.Reboot() if err != nil { log.Fatalf("Reboot error: %v", err) } if resp.Error != 0 { log.Fatalf("Failed to reboot VPS: %s (code %d)", resp.Message, resp.Error) } fmt.Println("VPS rebooted successfully") ``` ``` -------------------------------- ### Stop Source: https://context7.com/sgmac/bandwagon/llms.txt Gracefully shuts down a running Virtual Private Server (VPS). ```APIDOC ## Stop — Gracefully shut down a VPS `Stop` sends a `GET /v1/stop` request to gracefully halt the VPS. Returns a `*ServerResponse` with `Error: 0` on success. ### Method Signature `func (c *Client) Stop() (*ServerResponse, error)` ### Endpoint `GET /v1/stop` ### Response #### Success Response (200) - **ServerResponse** (*ServerResponse) - A response indicating the status of the operation. - **Error** (int) - Error code, `0` indicates success. - **Message** (string) - A message describing the result of the operation. ### Request Example ```go resp, err := c.Stop() if err != nil { log.Fatalf("Stop error: %v", err) } if resp.Error != 0 { log.Fatalf("Failed to stop VPS: %s (code %d)", resp.Message, resp.Error) } fmt.Println("VPS stopped successfully") ``` ``` -------------------------------- ### Stop a VPS Source: https://context7.com/sgmac/bandwagon/llms.txt Gracefully shuts down a running VPS by sending a stop request to the API. It checks the response for any API-level errors. ```go package main import ( "fmt" "log" "github.com/sgmac/bandwagon" ) func main() { creds := bandwagon.Credentials{APIKey: "your-api-key", VeID: "123456"} c := bandwagon.NewClient(creds) resp, err := c.Stop() if err != nil { log.Fatalf("Stop error: %v", err) } if resp.Error != 0 { log.Fatalf("Failed to stop VPS: %s (code %d)", resp.Message, resp.Error) } fmt.Println("VPS stopped successfully") } ``` -------------------------------- ### Stop Server Source: https://github.com/sgmac/bandwagon/blob/master/README.md Stops the VPS. ```APIDOC ## Stop Server ### Description Stops the VPS. ### Method ```go c.Stop() ``` ### Response Returns a response indicating success or failure. ``` -------------------------------- ### Define InfoVPS Struct for Bandwagon API Source: https://github.com/sgmac/bandwagon/blob/master/README.md Defines the structure for retrieving detailed information about a Bandwagon VPS. This struct maps to the JSON response from the Info API endpoint. ```go type InfoVPS struct { VMType string `json:"vm_type"` Hostname string `json:"hostname"` NodeIP string `json:"node_ip"` NodeAlias string `json:"node_alias"` NodeLocation string `json:"node_location"` LocationIPv6Ready bool `json:"location_ipv6_ready"` Plan string `json:"plan"` PlanMonthlyData int64 `json:"plan_monthly_data"` MonthlyDataMultiplier int64 `json:"plan_monthly_data"` PlanDisk int64 `json:"plan_disk"` PlanRAM int32 `json:"plan_ram"` PlanSwap int32 `json:"plan_swap"` PlanMaxIPv6 int32 `json:"plan_max_i_pv_6"` OS string `json:"os"` Email string `json:"email"` DataCounter int32 `json:"data_counter"` DataNextReset int32 `json:"data_next_reset"` IPAddresses []string `json:"ip_addresses"` RDNSApiAvailable bool `json:"rdns_api_available"` PTR map[string]string `json:"ptr"` Suspended bool `json:"suspended"` Error int32 `json:"error"` } ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.