data v2 stats info and other doc tweaks

This commit is contained in:
mDuo13
2015-08-25 11:16:53 -07:00
parent c8e638580e
commit f26166ac86
2 changed files with 84 additions and 14 deletions

View File

@@ -56,17 +56,27 @@ Request('Get Exchanges', {
}
});
Request('Get Reports', {
Request('Get Daily Summary', {
method: GET,
path: "/v2/reports/{:date}?{:query_params}",
description: "Retrieve an aggregated summary of payments per account for one day.",
link: "#get-reports",
link: "#get-daily-summary",
params: {
"{:date}": "2015-08-19T00:00:00Z",
"{:query_params}": "accounts=true&payments=true"
}
});
Request('Get Stats', {
method: GET,
path: "/v2/stats/?{:query_params}",
description: "Retrieve an aggregated summary of payments per account for one day.",
link: "#get-daily-summary",
params: {
"{:query_params}": "family=metric&metrics=accounts_created,exchanges_count,ledger_count,payments_count"
}
});
// account methods -----------------------------------//
Request("ACCOUNT METHODS");