[Feature] Provider info api upgrade
Opened this issue · 1 comments
bsjohnson01 commented
Feature Desc
GET /provider/info should append some new fields:
- provider's name
- latest sync time
- head CID which the provider pushed
- amount of notifications pushed by the provider in the latest 1 min
- amount of DAGs pushed by the provider int he latest 1 min
related issue:
sssion commented
{
"code": 200,
"message": "OK",
"Data": [
{
"AddrInfo": {
"ID": "12D3KooWG7JaBwuKcmspGaaeokedmhCWH9ocGoc861QrKGuqz38H",
"Addrs": []
},
"Name": "",
"DiscoveryAddr": "",
"AccountLevel": 0,
"LatestMeta": {
"/": "baguqeeqqdkwujko3ycb7wpeu2zbhj4l5ri"
},
"LastContactTime": "2022-08-22T08:26:14.45879149Z",
"LastBackupMeta": {
"/": "baguqeeqqdkwujko3ycb7wpeu2zbhj4l5ri"
}
}
]
}