URLs
PUT api/v1/users/{userid}/avatar.xml (or .json)
UPDATE a users avatar.
请求参数
名称 |
类型 |
描述 |
必需 |
默认值 |
选项 |
UserId |
int |
User ID. |
是 |
||
AvatarUrl |
string |
URL to the avatar image. |
否 |
||
FileData |
Byte[] |
Data for the avatar image. |
否 |
||
FileName |
string |
Filename of temporary file for the avatar image. |
否 |
||
FileUploadContext |
string |
UploadContext of temporary file for the avatar image. |
否 |