Insomnia#
The API client the team uses to design, debug, and test the CMDS API. It is also a good way to explore the endpoints before writing integration code.
Getting started#
- Import the API's OpenAPI description to load every endpoint at once:
https://test-api.cmds.app/swagger/v1/swagger.jsonon Test, orhttp://localhost:5145/swagger/v1/swagger.jsonfrom a local API. - Set the base URL for the environment you are working against -
https://test-api.cmds.appfor Test,https://api.cmds.appfor Live. - Authenticate with a personal API secret, sent as a bearer token in the
Authorizationheader. See Authentication.