[tahoe-lafs-trac-stream] [Tahoe-LAFS] #2476: add JSON encoding of information from Welcome page

Tahoe-LAFS trac at tahoe-lafs.org
Fri Jan 13 19:23:09 UTC 2017


#2476: add JSON encoding of information from Welcome page
-----------------------------------+---------------------------------
     Reporter:  daira              |      Owner:  warner
         Type:  defect             |     Status:  new
     Priority:  normal             |  Milestone:  undecided
    Component:  code-frontend-web  |    Version:  1.10.1
   Resolution:                     |   Keywords:  webapi json welcome
Launchpad Bug:                     |
-----------------------------------+---------------------------------

Comment (by cypher):

 This will be tremendously useful for developers who want to use of this
 information without having parse out the welcome page's HTML -- thanks! ;)

 How difficult or time-consuming would it be to insert the remainder of the
 information from the storage servers table? I'm thinking of something like
 this for the "servers" section (using example data from the Public Test
 Grid):

 {{{#!json{
 {
     "servers" :{
         "v0-5sprlixushufwhh5fqnxsitmk2ys4nmusgadjgrtjfb3lk4s57ia": {
             "available_space": null,
             "connection_status": "Reconnecting in 536 seconds (last
 attempt 1418s ago)",
             "nickname": "Sasquatch",
             "last_received_data": null,
             "version": "tahoe-lafs/1.12.0"
         },
         "v0-oii62uew7mnhkabtzkpxti62qyqk4smnoy6czz7waqdlorpqk4qa": {
             "available_space": "739292720660",
             "connection_status": "Connected to tcp:194.88.245.210:42998
 via tcp",
             "nickname": "WXD",
             "last_received_data": "2017-01-13 10:59:48",
             "version": "tahoe-lafs/1.11.0"
         },
         "v0-x4zq6fof6eyr2y2ylhy6lc5vsnxrlh25mbnmm6xnodyrk4fejb3q": {
             "available_space": "13819057274",
             "connection_status": "Reconnecting in 536 seconds (last
 attempt 1418s ago)",
             "nickname": "drixter",
             "last_received_data": "2017-01-13 10:59:47",
             "version": "tahoe-lafs/1.11.0"
         }
     }
 }
 }}}

--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2476#comment:2>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list