id: api title: API sidebar_label: API

Open-api specifications are provided for the core “vanilla” Milagro HTTP REST services and for both the shipped plugins: Bitcoin Address and Safeguard Secret

Testing The API

(This assumes that your local DTA is running on port 5556 as described in the quick start guide

Instructions for installing Swagger UI can be found here

For example...

docker pull swaggerapi/swagger-ui  

docker run -p 80:8080 swaggerapi/swagger-ui

In your browser hit http://localhost:80

Paste the URL of one of the API docs above into the text box at the top of the screen.

Have fun!