How to Use Swagger
Swagger can be used to execute API directly from your environment: https://quote.YOUR_REALM_URL.proscloud.com/quotex-public-api/docs/index.html?contract=TYPE&token=TOKEN.
YOUR_REALM_URL has to be replaced by your realm (us1, eu1, etc.). The Performance Quoting module provides 3 types of APIs (TYPE):
- model: used to administrate the quote model, the document generation module
- quote: used to execute runtime APIs
- domains: used to administrate the dynamic domain service and to execute runtime APIs for the dynamic domain service
And then, to access to Swagger, a security token is needed (TOKEN): See API User Access
Once generated, the token can be used to open Swagger:
First select HTTPS in Schemes:
And enter the security token in the Authorize section:
You can now execute all the APIs defined on this page by clicking on the Try it out button:
