Skip to content

General

Siyuan Zhang | 张豆 edited this page Oct 11, 2019 · 1 revision

Get User Ranking

Http Request

GET /api/v1/ranking

URL Parameters

Parameter Default Description
page 0
size 10

Response

{
    "currentPage": 0,
    "currentSize": 10,
    "total": 5,
    "list": [
        {
            "id": 20,
            "username": "kastnerorz",
            "firstname": null,
            "lastname": null,
            "email": "[email protected]",
            "school": "上海大学",
            "signature": null,
            "acCount": 111,
            "submitCount": 5,
            "acRate": 0,
            "enabled": true,
            "authorities": [
                {
                    "authority": "ROLE_ADMIN"
                }
            ]
        },
        {
            "id": 91,
            "username": "iris",
            "firstname": null,
            "lastname": null,
            "email": "[email protected]",
            "school": "上海大学",
            "signature": null,
            "acCount": 4,
            "submitCount": 4,
            "acRate": 0,
            "enabled": true,
            "authorities": [
                {
                    "authority": "ROLE_USER"
                }
            ]
        },
        {
            "id": 90,
            "username": "test",
            "firstname": null,
            "lastname": null,
            "email": "[email protected]",
            "school": "上海大学",
            "signature": null,
            "acCount": 3,
            "submitCount": 3,
            "acRate": 0,
            "enabled": true,
            "authorities": [
                {
                    "authority": "ROLE_ADMIN"
                }
            ]
        },
        {
            "id": 97,
            "username": "shu-test",
            "firstname": null,
            "lastname": null,
            "email": "[email protected]",
            "school": "上海大学",
            "signature": null,
            "acCount": 2,
            "submitCount": 2,
            "acRate": 0,
            "enabled": true,
            "authorities": [
                {
                    "authority": "ROLE_ADMIN"
                }
            ]
        },
        {
            "id": 111,
            "username": "Sylvia",
            "firstname": null,
            "lastname": null,
            "email": "[email protected]",
            "school": "上海大学",
            "signature": null,
            "acCount": 1,
            "submitCount": 1,
            "acRate": 0,
            "enabled": true,
            "authorities": [
                {
                    "authority": "ROLE_ADMIN"
                }
            ]
        }
    ]
}