Photo

get
Authorizations
Responses
200

OK

No content

get
/api/users/photo
GET /api/users/photo HTTP/1.1
Host: /
Accept: */*
200

OK

No content

post
Authorizations
Body
fileobjectRequired
Responses
200

OK

*/*
post
/api/users/photo
POST /api/users/photo HTTP/1.1
Host: /
Content-Type: multipart/form-data
Accept: */*
Content-Length: 11

{
  "file": {}
}
200

OK

{
  "code": 1,
  "message": "text",
  "data": true,
  "success": true
}
delete
Authorizations
Responses
200

OK

*/*
delete
/api/users/photo
DELETE /api/users/photo HTTP/1.1
Host: /
Accept: */*
200

OK

{
  "code": 1,
  "message": "text",
  "data": {},
  "success": true
}
get
Authorizations
Path parameters
userIdstringRequired
Responses
200

OK

No content

get
/api/users/photo/{userId}
GET /api/users/photo/{userId} HTTP/1.1
Host: /
Accept: */*
200

OK

No content