Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 466 Bytes

avatar.md

File metadata and controls

24 lines (18 loc) · 466 Bytes

Get the User Avatar

HTTP request address

http://api.example.com/upload/avatar/{{size}}/{{userID}}.png

Menthod

GET

Parameters

Key Value Type Description Obligatory Default value
size string large or middle
userID string user id

HTTP Response

Success:

User avatar response image data. Middle Image size is 48*48.
Large Image size is 256*256.

Fail:

  • This API does not throw an error now.