On this page

    1. Home
    2. API
    3. API Reference
    4. Network
    5. Network Ranking

    Network Ranking

    This endpoint allows you to retrieve your network's current performance metrics relative to the global URnetwork, including your rank on the leaderboard and your total data contribution.


    GET /network/ranking

    Fetch the ranking details for the authenticated network.

    Request

    GET /network/ranking

    Headers:

    {
      "Host": "api.bringyour.com",
      "Authorization": "Bearer YOUR_JWT_TOKEN",
      "Accept": "application/json"
    }

    Response

    200 Success

    Status: 200 OK

    Content-Type: application/json

    {
      "network_ranking": {
        "net_mib_count": 1250.75,
        "leaderboard_rank": 42,
        "leaderboard_public": true
      },
      "error": {
        "message": null
      }
    }

    Fields

    FieldTypeDescription
    network_rankingobjectContainer for the ranking data.
    network_ranking.net_mib_countnumberTotal data provided by your network in MiB (float).
    network_ranking.leaderboard_rankintegerYour current position on the global leaderboard.
    network_ranking.leaderboard_publicbooleanWhether your network is currently visible to others on the leaderboard.
    errorobjectContains error information if the ranking could not be retrieved.
    error.messagestringHuman-readable error or warning message.

    Example

    HTTP Request

    GET /network/ranking HTTP/1.1
    Host: api.bringyour.com
    Authorization: Bearer YOUR_JWT_TOKEN
    Accept: application/json

    Successful HTTP Response

    {
      "network_ranking": {
        "net_mib_count": 52428.0,
        "leaderboard_rank": 5,
        "leaderboard_public": true
      }
    }


    Powered by Sudoc v2.5.0
    Hide table of contents