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