Weights documents

Bandwidth documents contain aggregate statistics of a relay's or bridge's consumed bandwidth for different time intervals. Bandwidth documents are available for all relays and bridges that have been running in the past week. Bandwidth documents contain the following fields:

Example

{
    "relays_published":"1970-01-01 01:00:00",
    "relays":[{
            "fingerprint":"1111111111111111111111111111111111111111",
            "advertised_bandwidth_fraction":{
                "1_week":{
                    "first":"1970-01-01 01:00:00",
                    "last":"1970-01-02 01:00:00",
                    "interval":3600,
                    "factor":0.00001,
                    "count":170,
                    "values":[1,2,3]
                },
            },
            "consensus_weight_fraction":{
                "1_week":{
                    "first":"1970-01-01 01:00:00",
                    "last":"1970-01-02 01:00:00",
                    "interval":3600,
                    "factor":0.00001,
                    "count":170,
                    "values":[1,2,3]
                }
            }
            "guard_probability":{
                "1_week":{
                    "first":"1970-01-01 01:00:00",
                    "last":"1970-01-02 01:00:00",
                    "interval":3600,
                    "factor":0.00001,
                    "count":170,
                    "values":[1,2,3]
                }
            },
            "middle_probability":{
                "1_week":{
                    "first":"1970-01-01 01:00:00",
                    "last":"1970-01-02 01:00:00",
                    "interval":3600,
                    "factor":0.00001,
                    "count":170,
                    "values":[1,2,3]
                }
            },
            "exit_probability":{
                "1_week":{
                    "first":"1970-01-01 01:00:00",
                    "last":"1970-01-02 01:00:00",
                    "interval":3600,
                    "factor":0.00001,
                    "count":170,
                    "values":[1,2,3]
                }
            }],
    "bridges_published":"1970-01-01 01:00:00",
    "bridges":[]
}