Accounts > Profiles
View-Detail
GET : /api/designnest/v1/accounts/me/profile
Response :
{
"code" : 1 ,
"message" : "" ,
"data" : {
'id' : 0
'show_profile' => 0 ,
'link_alias' : '' ,
'real_name' : '' ,
'country' : '' ,
'country_id' : 0 ,
'picture' : '' ,
'banner' : '' ,
'content' : '' ,
'show_email' : 0 ,
'job' : '' ,
'school' : '' ,
'my_links' : [] ,
}
}
Update
PATCH : /api/designnest/v1/accounts/me/profile
Request parameters
| Param |
Type |
Explain |
| account[profile][show_profile] |
int |
0:no ; 1:yes |
| account[profile][link_alias] |
string |
|
| account[profile][real_name] |
string |
|
| account[profile][country] |
int |
|
| account[profile][picture] |
string |
url address |
| account[profile][banner] |
string |
url address |
| account[profile][content] |
string |
|
| account[profile][link_alias] |
string |
|
| account[profile][show_email] |
int |
0:no ; 1:yes |
| account[profile][job] |
string |
|
| account[profile][school] |
string |
|
| account[profile][my_links] |
array |
|
| account[profile][my_links].*.[type] |
int |
1:facebook ; 2:linkedin ; 3:behance ; 4:website ; 5:other ; 6:twitter ; 7:instagram ; 8:weubo ; 9:wechat |
| account[profile][my_links].*.[url] |
string |
url address |
Response :
{
"code" : 1 ,
"message" : "" ,
"data" : {
'id' : 0
'show_profile' => 0 ,
'link_alias' : '' ,
'real_name' : '' ,
'country' : '' ,
'country_id' : 0 ,
'picture' : '' ,
'banner' : '' ,
'content' : '' ,
'show_email' : 0 ,
'job' : '' ,
'school' : '' ,
'my_links' : [] ,
}
}