aboutsummaryrefslogtreecommitdiff
path: root/cmd/web/js/api.js
diff options
context:
space:
mode:
authorJLoup <jeanloup.jamet@gmail.com>2018-02-21 00:20:29 +0100
committerJLoup <jeanloup.jamet@gmail.com>2018-02-21 00:20:29 +0100
commit6c5c1403578a2b36038fd94f6d1edce9ae62205b (patch)
treeff4abbf394ac82064caf580401a70c31e338878f /cmd/web/js/api.js
parent3602fbf8412d69900d793a963c8e774f487f5e45 (diff)
downloadFront-6c5c1403578a2b36038fd94f6d1edce9ae62205b.tar.gz
Front-6c5c1403578a2b36038fd94f6d1edce9ae62205b.tar.zst
Front-6c5c1403578a2b36038fd94f6d1edce9ae62205b.zip
poloniex balance draftpoloniex_balance
Diffstat (limited to 'cmd/web/js/api.js')
-rw-r--r--cmd/web/js/api.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/cmd/web/js/api.js b/cmd/web/js/api.js
index e2acd1d..5c19fdf 100644
--- a/cmd/web/js/api.js
+++ b/cmd/web/js/api.js
@@ -53,6 +53,17 @@ var ApiEndpoints = {
53 return '/market/' + params.name; 53 return '/market/' + params.name;
54 } 54 }
55 }, 55 },
56 'MARKET_BALANCE': {
57 'type': 'GET',
58 'auth': true,
59 'parameters': [
60 {'name': 'name', 'mandatory': true, 'inquery': false},
61 {'name': 'currency', 'mandatory': true, 'inquery': true},
62 ],
63 'buildUrl': function(params) {
64 return '/market/' + params.name + '/balance';
65 }
66 },
56 'UPDATE_MARKET': { 67 'UPDATE_MARKET': {
57 'type': 'POST', 68 'type': 'POST',
58 'auth': true, 69 'auth': true,