FeasOJ
🇺🇸 English
  • 🇨🇳 Chinese
  • 🇺🇸 English
  1. Users
FeasOJ
🇺🇸 English
  • 🇨🇳 Chinese
  • 🇺🇸 English
  • Competition
    • Get list of competition
      GET
    • Get whether the user is in a competition
      GET
    • Get participating users of the competition
      GET
    • Get competition info
      GET
    • Get problems of competition
      GET
    • Join competition
      POST
    • Join competition with password
      POST
    • Quit competition
      POST
  • Users
    • Update password
      PUT
    • Update avatar
      PUT
    • Get user submit records within 30 days
      GET
    • Get user info
      GET
    • Update synopsis
      PUT
  • Problem
    • Get all problems
      GET
    • Get all info of a given problem id
      GET
    • Upload code
      POST
  • SubmitRecords
    • Get all of submit records within 30 days
      GET
  • Discussion
    • Comment
      • Get comments on the discussion
      • Add comment
      • Delete comment
    • Add Discussion
    • Delete Discussion
    • Get all discussion
    • Get discussion info
  • Administrator
    • Competition
      • Scoring Competition
      • Get competition score board
      • Get list of competition
      • Get competition info
      • Add/Update competition info
      • Delete competition
    • Problem
      • Get all problems
      • Get all info of a given problem id
      • Add/Update problem info
      • Delete problem
    • Users
      • Get all user details
        GET
      • Promote user
        PUT
      • Demote user
        PUT
      • Ban user
        PUT
      • Unban user
        PUT
    • Get IP Statistics
      GET
  • Login
    GET
  • Get ranking
    GET
  • Get captcha
    GET
  • Verify user info
    GET
  • SSE Notice Service
    GET
  • Register
    POST
  1. Users

Get all user details

GET
http://127.0.0.1:37881/api/v1/admin/users
Last modified:2025-01-13 17:11:14

Request

Header Params
username
string 
required
Authorization
string 
required

Responses

🟢200OK
application/json
Body
usersInfo
array [object {9}] 
required
uid
integer 
optional
avatar
string 
optional
username
string 
optional
email
string 
optional
synopsis
string 
optional
score
integer 
optional
create_at
string 
optional
role
integer 
optional
isBan
boolean 
optional
Example
{"usersInfo":[{"uid":1,"avatar":"1.png","username":"Admin","email":"245922575@qq.com","synopsis":"","score":0,"create_at":"2024-12-06T08:40:55.74+08:00","role":1,"isBan":false}]}
Previous
Delete problem
Next
Promote user
Built with