Skip to content
Belikhun edited this page Sep 23, 2018 · 4 revisions

/avt/change - Thay đổi hình đại diện

HTTP/1.1 POST /api/avt/change

  • Permission: everyone
  • Require Logged In: true
  • Require Enabled: true

Parameter:

Field Method Type Description Required
file POST image new avt *
token POST string API Token *

Success 200:

Field Type Description
src string Avatar URL

Example:

{
    "code":0,
    "status":200,
    "description":"Thay đổi ảnh đại diện thành công.","user":"admin",
    "data": {
        "src":"\/api\/avt\/get?u=admin&t=1537688597"
    },
    "runtime":0.0013878345489501953
}

Clone this wiki locally