remove deprecated charts methods

This commit is contained in:
mDuo13
2015-08-19 14:18:42 -07:00
parent bb06e1f835
commit 09cdcbbcd1
2 changed files with 120 additions and 1519 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -9,20 +9,21 @@ var TIME_20150101 = "2015-01-01T00:00:00.000Z";
var TIME_20150101_2 = "2015-01-01T02:00:00.000Z";
Request('Account Offers Exercised', {
method: POST,
path: "/api/account_offers_exercised",
description: "Retrieve currency-exchange orders being exercised for a single account.",
link: "#account-offers-exercised",
params: {},
body: {
account: DEFAULT_ADDRESS_1,
startTime: TIME_20140101,
limit: 5,
offset: 0,
format: "json"
}
});
//DEPRECATED and shut down!
//Request('Account Offers Exercised', {
// method: POST,
// path: "/api/account_offers_exercised",
// description: "Retrieve currency-exchange orders being exercised for a single account.",
// link: "#account-offers-exercised",
// params: {},
// body: {
// account: DEFAULT_ADDRESS_1,
// startTime: TIME_20140101,
// limit: 5,
// offset: 0,
// format: "json"
// }
//});
Request('Accounts Created', {
method: POST,
@@ -94,21 +95,22 @@ Request('Issuer Capitalization', {
}
});
Request('Ledgers Closed', {
method: POST,
path: "/api/ledgers_closed",
description: "Retrieve information about ledgers closed over time.",
link: "#ledgers-closed",
params: {},
body: {
"startTime": TIME_20140101,
"endTime": TIME_20150101,
"timeIncrement": "month",
"descending": false,
"reduce": true,
"format": "json"
}
});
//DEPRECATED and removed!
//Request('Ledgers Closed', {
// method: POST,
// path: "/api/ledgers_closed",
// description: "Retrieve information about ledgers closed over time.",
// link: "#ledgers-closed",
// params: {},
// body: {
// "startTime": TIME_20140101,
// "endTime": TIME_20150101,
// "timeIncrement": "month",
// "descending": false,
// "reduce": true,
// "format": "json"
// }
//});
Request('Market Traders', {
method: POST,
@@ -130,28 +132,29 @@ Request('Market Traders', {
}
});
Request('Offers', {
method: POST,
path: "/api/offers",
description: "Returns all currency-exchange orders and cancellations over time for a specified currency pair, including unfulfilled offers.",
link: "#offers",
params: {},
body: {
"base": {
"currency": "GBP",
"issuer": "rMwjYedjc7qqtKYVLiAccJSmCwih4LnE2q"
},
"counter": {
"currency": "XRP"
},
"startTime": "2015-03-01T00:00:00.000Z",
"endTime": "2015-03-07T00:00:00.000Z",
"timeIncrement": "day",
"descending": false,
"reduce": true,
"format": "json"
}
});
//DEPRECATED and removed!
//Request('Offers', {
// method: POST,
// path: "/api/offers",
// description: "Returns all currency-exchange orders and cancellations over time for a specified currency pair, including unfulfilled offers.",
// link: "#offers",
// params: {},
// body: {
// "base": {
// "currency": "GBP",
// "issuer": "rMwjYedjc7qqtKYVLiAccJSmCwih4LnE2q"
// },
// "counter": {
// "currency": "XRP"
// },
// "startTime": "2015-03-01T00:00:00.000Z",
// "endTime": "2015-03-07T00:00:00.000Z",
// "timeIncrement": "day",
// "descending": false,
// "reduce": true,
// "format": "json"
// }
//});
Request('Offers Exercised', {
method: POST,
@@ -192,69 +195,73 @@ Request('Top Markets', {
}
});
Request('Total Network Value', {
method: POST,
path: "/api/total_network_value",
description: "Retrieve the total amount of currency held in the network, as of a specified time.",
link: "#total-network-value",
params: {},
body: {
"time": TIME_20150101,
"exchange":{
"currency": "USD",
"issuer": "rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B"
}
}
});
//DEPRECATED and removed!
//Request('Total Network Value', {
// method: POST,
// path: "/api/total_network_value",
// description: "Retrieve the total amount of currency held in the network, as of a specified time.",
// link: "#total-network-value",
// params: {},
// body: {
// "time": TIME_20150101,
// "exchange":{
// "currency": "USD",
// "issuer": "rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B"
// }
// }
//});
Request('Total Value Sent', {
method: POST,
path: "/api/total_value_sent",
description: "The total amount of money sent, in payments and currency exchanges, for a curated list of currencies and issuers.",
link: "#total-value-sent",
params: {},
body: {
"startTime": TIME_20150101,
"interval": "month",
"exchange": {
"currency": "USD",
"issuer": "rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B"
}
}
});
//DEPRECATED and removed!
//Request('Total Value Sent', {
// method: POST,
// path: "/api/total_value_sent",
// description: "The total amount of money sent, in payments and currency exchanges, for a curated list of currencies and issuers.",
// link: "#total-value-sent",
// params: {},
// body: {
// "startTime": TIME_20150101,
// "interval": "month",
// "exchange": {
// "currency": "USD",
// "issuer": "rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B"
// }
// }
//});
Request('Transaction Stats', {
method: POST,
path: "/api/transaction_stats",
description: "Retrieve information about Ripple transactions during a specific time frame.",
link: "#transaction-stats",
params: {},
body: {
"startTime": TIME_20150101,
"endTime": TIME_20150101_2,
"timeIncrement": "hour",
"descending": true,
"reduce": true,
"format": "json"
}
});
//DEPRECATED and removed!
//Request('Transaction Stats', {
// method: POST,
// path: "/api/transaction_stats",
// description: "Retrieve information about Ripple transactions during a specific time frame.",
// link: "#transaction-stats",
// params: {},
// body: {
// "startTime": TIME_20150101,
// "endTime": TIME_20150101_2,
// "timeIncrement": "hour",
// "descending": true,
// "reduce": true,
// "format": "json"
// }
//});
Request('Value Sent', {
method: POST,
path: "/api/value_sent",
description: "Retrieve the total amount of a single currency sent, in payments and currency exchanges, during a specific time period.",
link: "#value-sent",
params: {},
body: {
"currency": "JPY",
"issuer": "r94s8px6kSw1uZ1MV98dhSRTvc6VMPoPcN",
"startTime": TIME_20150101,
"endTime": TIME_20150101_2,
"timeIncrement": "hour",
"descending": false,
"reduce": true,
"format": "json"
}
});
//DEPRECATED and removed!
//Request('Value Sent', {
// method: POST,
// path: "/api/value_sent",
// description: "Retrieve the total amount of a single currency sent, in payments and currency exchanges, during a specific time period.",
// link: "#value-sent",
// params: {},
// body: {
// "currency": "JPY",
// "issuer": "r94s8px6kSw1uZ1MV98dhSRTvc6VMPoPcN",
// "startTime": TIME_20150101,
// "endTime": TIME_20150101_2,
// "timeIncrement": "hour",
// "descending": false,
// "reduce": true,
// "format": "json"
// }
//});
//---------- End req. List ---------------------------//