Home > Blockchain >  How to access aerospike-client-rest /v3/api-docs
How to access aerospike-client-rest /v3/api-docs

Time:03-15

I tried to run aerospike-client-rest in Docker. following the steps from this github link

  1. docker build -t aerospike-client-rest .
  2. docker run -itd --rm -p 8080:8080 --name AS_Rest1 -e aerospike_restclient_hostname=172.17.0.3 aerospike-client-rest

Was able to access the following:

  • http://localhost:8080/v1/cluster
  • http://localhost:8080/swagger-ui.html
  • http://localhost:8080/v2/api-docs

But not http://localhost:8080/v3/api-docs

CodePudding user response:

Which version of Aerospike REST Client are you using?

Open API 3 support was added in version 1.10.0 (latest is 1.10.4). Anything prior to that uses the Swagger 2 documentation which explains why you are able to access http://localhost:8080/v2/api-docs instead of http://localhost:8080/v3/api-docs.

CodePudding user response:

The latest version is available on Docker Hub.
https://hub.docker.com/r/aerospike/aerospike-client-rest/tags

  • Related