[MERGE]Merge branch 'gh-pages' of https://github.com/ripple/ripple-dev-portal into gh-pages

This commit is contained in:
mDuo13
2015-01-21 16:18:20 -08:00
14 changed files with 1173 additions and 102 deletions

View File

@@ -206,12 +206,12 @@ Request("Place Order", {
"taker_pays": {
"currency": "JPY",
"value": "4000",
"issuer": "rMAz5ZnK73nyNUL4foAvaxdreczCkG3vA6"
"counterparty": "rMAz5ZnK73nyNUL4foAvaxdreczCkG3vA6"
},
"taker_gets": {
"currency": "USD",
"value": ".25",
"issuer": "rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B"
"counterparty": "rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B"
},
"immediate_or_cancel": true
}
@@ -245,6 +245,19 @@ Request("Get Account Orders", {
}
});
Request("Get Order Book", {
method: GET,
path: "/v1/accounts/{:address}/order_book/{:base}/{:counter}?{:query_params}",
description: "Get the order book for a currency pair",
link: "#get-order-book",
params: {
"{:address}": DEFAULT_ADDRESS_3,
"{:base}": "BTC+rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B",
"{:counter}": "USD+rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B",
"{:query_params}": "limit=10"
}
});
Request("Get Trustlines", {
method: GET,
path: "/v1/accounts/{:address}/trustlines?{:query_params}",