I would like to see extra information on the items being deposited in the armory. Currently the API returns JSON formatted as such:
Current
{
"armorynews": {
"LYaJ0YBCAVkfWl2R": {
"news": "Dlnu used one of the faction's LSD items",
"timestamp": 1782239451
},
"vHDAdGE3MJE2kGHg": {
"news": "Dlnu loaned 1x Fiveseven to themselves from the faction armory",
"timestamp": 1782239237
},
"ZVA7smpVILCElOcH": {
"news": "Chrono208 deposited 1x Fiveseven",
"timestamp": 1782238484
}
}
}
The newly proposed API endpoint would show the following information:
Proposed
{
"armorynews": {
"LYaJ0YBCAVkfWl2R": {
"news": "Dlnu used one of the faction's LSD items",
"amountRemaining": 96,
"timestamp": 1782239451
},
"vHDAdGE3MJE2kGHg": {
"news": "Dlnu loaned 1x Fiveseven to themselves from the faction armory",
"bonuses": [
{
"quicken": "106%",
"description": "106% increased passive speed while using this weapon"
},
{
"deadeye": "36%",
"description": "36% increased critical hit damage"
}
],
"timestamp": 1782239237
},
"iLI6mUBiiXvci9Tc": {
"news": "Chrono208 deposited 1x Fiveseven",
"bonuses": [
{
"quicken": "106%",
"description": "106% increased passive speed while using this weapon"
},
{
"deadeye": "36%",
"description": "36% increased critical hit damage"
}
],
"timestamp": 1782239034
}
}
}
I would note that amountRemaining would only apply to items with stacks such as drugs, cans, boosters and the like. So not weapons, or armor.
Bonuses would apply to all weapons and armor. This would be solid for tracking via api. I would even go as far as putting the damage, accuracy, defense bonus and quality in the json fields for full clarity.