For AI agents: this documentation is indexed for you in llms.txt, and all of it in /llms.txt. Every page is also available as markdown: append .md to its address.

TPOSS API Gateway installation

TPOSS API Gateway is an optional component that preserves the TPOSS API compatibility layer. It allows you to interact with TPOSS through the JSON-RPC API.

Important

This document describes the steps you need to execute to deploy TPOSS API Gateway. For more information on how to configure TPOSS API Gateway, see the TPOSS API Gateway chart configuration document.

Installation steps

The gateway is delivered as a separate Helm chart, so it needs its own Helm release next to TPOSS. To install it, use the following commands:

  1. Log in to the OCI registry with the charts:

    bash
  2. Prepare a values.yaml file with your TPOSS API Gateway configuration.

  3. Run this command to install the TPOSS API Gateway Helm release:

    bash

The gateway uses the same registry placeholders as TPOSS, described in the Placeholders section of the installation document, plus these two:

If you changed only the configuration and not the image, the pod keeps running with the old values. Updating the chart configuration leaves the pod specification unchanged, so Kubernetes does not recreate the pod.

Restart the pod to apply the new configuration:

bash

Verify the TPOSS API Gateway installation

Check that the Helm release is deployed and the TPOSS API Gateway pod is running and ready:

bash

To check that the gateway forwards the requests to TPOSS, forward the gateway port and send a JSON-RPC request. The 12000 port is the default value of the service.externalPort configuration option. You can use the following command to forward this port locally:

bash

After the port is accessible locally, you can try to send a JSON-RPC request:

bash

TPOSS can answer with the -33333 Not authenticated error, because the request carries no valid key. The error means that the request reached TPOSS through the gateway. For the valid values of the AuthKey and FeId fields and the available methods, see the JSON-RPC 2.0 API document.