data v2 methods and object type docs (incomplete)

This commit is contained in:
mDuo13
2015-08-24 12:24:53 -07:00
parent 09cdcbbcd1
commit c8e638580e
2 changed files with 238 additions and 22 deletions

View File

@@ -36,13 +36,37 @@ Request('Get Transaction', {
Request('Get Transactions', {
method: GET,
path: "/v2/transactions/?{:query_params}",
description: "Retrieve a transactions by its identifying hash.",
description: "Search through all transactions",
link: "#get-transactions",
params: {
"{:query_params}": "descending=true&limit=3&result=tesSUCCESS&type=OfferCreate"
}
});
Request('Get Exchanges', {
method: GET,
path: "/v2/exchanges/{:base}/{:counter}?{:query_params}",
description: "Retrieve exchanges for a currency pair over time.",
link: "#get-exchanges",
params: {
"{:base}": "USD+rMwjYedjc7qqtKYVLiAccJSmCwih4LnE2q",
"{:counter}": "XRP",
"{:query_params}": "descending=true&limit=3&result=tesSUCCESS&type=OfferCreate"
}
});
Request('Get Reports', {
method: GET,
path: "/v2/reports/{:date}?{:query_params}",
description: "Retrieve an aggregated summary of payments per account for one day.",
link: "#get-reports",
params: {
"{:date}": "2015-08-19T00:00:00Z",
"{:query_params}": "accounts=true&payments=true"
}
});
// account methods -----------------------------------//
Request("ACCOUNT METHODS");