The StreamNative Console supports to expose OpenAPI for users to integrate, this document will guide you how to enable the OpenAPI on the StreamNative Console and the way to access.Documentation Index
Fetch the complete documentation index at: https://docs.streamnative.io/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
sn-platformchart: 1.10.7 or higherstreamnative/private-cloud-consoleimage: v2.3.1 or higher
Enable OpenAPI
- Create a super service account on the StreamNative Console Service Account page, and get the token from this super service account.
-
Set the Helm values
streamnative_console.configData.OPENAPI_ENABLEDtotrueand usehelm upgradeto upgrade your Helm values.
-
Use the
kubectl port-forwardorkubectl exposecommands to expose thestreamnative-consolepod, and the OpenAPI Swagger address will behttp://<Your External IP>:9527/swagger-ui/index.html -
Access to the Swagger page and click
Authorizeto input the token you got from the step1. Then you will have the permission to use the StreamNative Console OpenAPI.