Skip to content

Latest commit

 

History

History
44 lines (34 loc) · 710 Bytes

updateProfile.md

File metadata and controls

44 lines (34 loc) · 710 Bytes

#User.updateProfile Update profile

Supported request methods

  • POST

##Supported formats

  • json

##Arguments

###Requried

  • about

    str user info

  • user

    str user email

  • name

    str user name

Requesting http://some.host.ru/db/api/user/updateProfile/ with {"about": "Wowowowow!!!", "user": "[email protected]", "name": "NewName2"}:

{
    "code": 0,
    "response": {
        "about": "Wowowowow!!!",
        "email": "[email protected]",
        "followers": [],
        "following": [],
        "id": 4,
        "isAnonymous": false,
        "name": "NewName2",
        "subscriptions": [
            3,
            1
        ],
        "username": "user3"
    }
}