Created
September 8, 2020 10:56
-
-
Save ang-st/baf9a6754f793ea9d18fae4d68cd6894 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
URL: /api/v1/orders/:id # retourne un ordre par son id | |
method : GET | |
required: id | |
example payload : | |
{"id":190,"side":"bid","price":"10.00","total":"10.00","amount":"1.00000000","filled":"0.00","base":"btc","quote":"eur","timestamp":1599559342,"type":"limit","state":"wait"} | |
URL: /api/v1/orders/opened?per=10&page=1 | |
method: GET | |
optional: per (<=100), page | |
example payload : | |
{"per":10,"page":2,"total":11,"items":[{"id":193,"side":"bid","price":"10.00","total":"10.00","amount":"1.00000000","filled":"0.00","base":"btc","quote":"eur","timestamp":1599559358,"type":"limit","state":"wait"}, ...]} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment