Daftar pengguna

GET /api/users

Mengembalikan daftar pengguna berdasarkan pada kriteria yang diberikan.

Pertanyaan parameter:

Nama

Tipe Data

Deskripsi

limit

Bilangan utuh

Batas jumlah proyek kembali (max / default: 25).

offset

Bilangan utuh

Tetesan pertama n proyek dari hasil daftar.

Contoh hasil:

[{
    "id": 6602,
    "createdAt": "2016-11-07 12:26:35.672",
    "username": "windy",
    "roles": ["Ore Admin", "Ore Moderator", "Sponge Developer", "Sponge Staff"],
    "starred": [],
    "avatarTemplate": "https://forums.spongepowered.org/user_avatar/forums.spongepowered.org/windy/{size}/8440_1.png",
    "projects": [{
        "pluginId": "ore",
        "createdAt": "2016-11-07 12:26:35.672",
        "name": "Ore",
        "owner": "windy",
        "description": "Official package manager for Sponge.",
        "href": "/windy/Ore",
        "members": [{
            "userId": 6602,
            "name": "windy",
            "roles": ["Owner"],
            "headRole": "Owner"
        }],
        "channels": [{
            "name": "Beta",
            "color": "#B400FF"
        }],
        "recommended": {
            "id": 221,
            "createdAt": "2016-11-07 12:26:35.672",
            "name": "1.0.0",
            "dependencies": [],
            "pluginId": "ore",
            "channel": {
                "name": "Beta",
                "color": "#B400FF"
            },
            "fileSize": 52807
        },
        "category": {
            "title": "Admin Tools",
            "icon": "fa-server"
        },
        "views": 275,
        "downloads": 28,
        "stars": 9
    }]
}, {
    "id": 11,
    "createdAt": "2016-11-07 12:26:35.672",
    "username": "Zidane",
    "roles": ["Ore Moderator", "Sponge Developer", "Sponge Leader", "Sponge Staff"],
    "starred": [],
    "avatarTemplate": "https://forums.spongepowered.org/user_avatar/forums.spongepowered.org/zidane/{size}/5831_1.png",
    "projects": []
}, {
    "id": 155,
    "createdAt": "Jun 19, 2016",
    "username": "2016-11-07 12:26:35.672",
    "roles": ["Iron Donor", "Quartz Donor", "Sponge Leader", "Stone Donor", "Team Leader", "Sponge Adviser", "Sponge Contributor"],
    "starred": [],
    "avatarTemplate": "https://forums.spongepowered.org/user_avatar/forums.spongepowered.org/gabizou/{size}/5862_1.png",
    "projects": []
}]