Swagger
CLI Swagger
Section titled “CLI Swagger”The swagger API playground can be found at http://localhost:7292/swagger on a machine running the CLI (or http://localhost:17292/swagger for testnet).
The Swagger page loads on loopback without further setup, but the calls you try from it answer only after the API is enabled through the CLI (
10on the main menu) or with theenableapilaunch argument. On a node started withopenapi, the Swagger page itself also requires theapitokenheader (see Authentication).
Read more about this here.
Spyglass (Network Explorer) Swagger
Section titled “Spyglass (Network Explorer) Swagger”You can visit the explorer’s swagger at this URL: https://data.verifiedx.io/docs/ (testnet: https://data-testnet.verifiedx.io/docs/). The raw Swagger 2.0 description is at https://data.verifiedx.io/docs.json.