Contents |
URL
https://api.geoloqi.com/1/account/profile
Description
A GET request returns the profile information of the current user. A POST updates the profile information of the current user.
Supported Request Methods
GET, POST
Parameters
No parameters are required for this method when making a GET request.
- nameThe user's name
- desired_usernameTo change the username of the account, include this parameter. If the username is already taken you will get an error
- bioThe user's bio. Will be shown on trip pages and the user's profile page.
- websiteA link to the user's website.
- extraA hash of keys and values to store along with the user. Whatever you store here will be returned whenever the user profile is read. See Extra Parameters for more details.
Response
Success
{ "username":"aaronpk", "email":"[email protected]", "profile_image":"http://www.gravatar.com/avatar/7f8c1ecfce9403d6d031c44d98831036.jpg?s=48&d=mm" }