-
Notifications
You must be signed in to change notification settings - Fork 3
나의 기록과 러닝
famer9716 edited this page Jul 17, 2020
·
6 revisions
| 메소드 | 경로 | 설명 |
|---|---|---|
| POST | /record/run/withme | 매칭 상대방 데이터 |
{
"distance" : 5000,
"time" : 3600,
"gender" : 1
}- distance: 유저가 달린 거리 (m 단위) (필수 X)
- time: 유저가 달리는 시간 (초 단위)
- gender: (1 : 남자, 2 : 여자) (필수 X)
👍 success
나의 최근 기록
{
"status": 200,
"success": true,
"message": "get my recent",
"result": {
"nickname": "test13",
"gender": 1,
"level": 1,
"image": 2,
"win": 3,
"lose": 1,
"pace_minute": 127,
"pace_second": 39,
"distance": 235,
"time": "00:30:00",
"isDummy": false
}
}최근 기록이 없을 때 더미
{
"status": 200,
"success": true,
"message": "get dummy data",
"result": {
"gender": 1,
"level": 1,
"time": "01:30:00",
"distance": 9780,
"win": 3,
"lose": 2,
"nickname": "밍찔이",
"image": 8,
"isDummy": true,
"pace_minute": 9,
"pace_second": 12
}
}👎 fail