Update user general data

请用 (https://yedoll.com/mobile_api/gen_settings) API to update profile details of logged in user


Post 参数

参数 描述
session_id Access token ID 例如: de25cc16eb00960f076...
first_name User user first name 例如: Mansur
last_name User user last name 例如: ATL
about User bio (Max 140 chars.) 例如: ATL
gender User gender (M/F) 例如: M
email User email address 例如: email@email.com
username User new username 例如: mansurTL
website User website URL 例如: https://yedoll.com/
country_id User country ID 例如: 1 (United States)

成功响应

{
    	"code": 200,
    	"message": "Profile data updated successfully",
    	"data":{
    		"id": 7,
    		"first_name": "Mansur",
    		"last_name": "ATL",
    		"user_name": "sdf",
    		"email": "peters_roberts@gmail.com",
    		"is_verified": false,
    		"website": "",
    		"about_you": "Lorem ipsum dolor sit amet, consectetur",
    		"gender": "M",
    		"country": "United States",
    		"post_count": 4061,
    		"ip_address": "192.168.0.106",
    		"following_count": 1,
    		"follower_count": 3512,
    		"language": "english",
    		"last_active": "1 second ago",
    		"member_since": "July, 2020"
    	}
    }
    

错误响应

{
        "code": 401,
        "data": [],
        "message": "Unauthorized Access"
    }

    {
    	"data": [],
    	"message": "",
    	"code": 400
    }