users set Photo
POST {{baseUrl}}/users.setPhoto
Set the user profile photo
Request Body
[{"name"=>"token", "value"=>"<string>", "datatype"=>"string"}, {"name"=>"crop_w", "value"=>"<string>", "datatype"=>"string"}, {"name"=>"crop_x", "value"=>"<string>", "datatype"=>"string"}, {"name"=>"crop_y", "value"=>"<string>", "datatype"=>"string"}, {"name"=>"image", "value"=>"<string>", "datatype"=>"string"}]
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
{"ok":"\u003cboolean\u003e","profile":{"image_24":"\u003curi\u003e","image_32":"\u003curi\u003e","image_48":"\u003curi\u003e","image_72":"\u003curi\u003e","image_192":"\u003curi\u003e","image_512":"\u003curi\u003e","image_1024":"\u003curi\u003e","image_original":"\u003curi\u003e","avatar_hash":"\u003cstring\u003e"}}