유저 마이페이지
show user mypage
GET http://api.phopo.best/api/users/:pk/posts
This endpoint allows you to get free cakes.
Path Parameters
Name
Type
Description
pk
integer
user pk
Query Parameters
Name
Type
Description
action
integer
action value search - 1201 userMyPageList- 1202
Headers
Name
Type
Description
Authentication
string
jwt token ex) 'jwt frFOOW15RF1211d....'
{
"payload": {
"user": {
"nickname": "moon",
"profile_image": "https://avon-spott-imageserver.s3.ap-northeast-2.amazonaws.com/media/usr/moonlight-4781350_640.jpg"
},
"posts": [
{
"id": 1578,
"posts_image": "https://avon-spott-imageserver.s3.ap-northeast-2.amazonaws.com/media/post/dwarf-rabbit-4803684_640_nWH47qS.jpg",
"latitude": 37.5416283336648,
"longitude": 127.042383146169
},
{
"id": 1565,
"posts_image": "https://avon-spott-imageserver.s3.ap-northeast-2.amazonaws.com/media/post/1_q9Hgfbk.jpg",
"latitude": 37.5601267291583,
"longitude": 127.070208804561
}
...
...
...
],
"myself": true or false
},
"message": "success"
}Last updated
Was this helpful?