-
Notifications
You must be signed in to change notification settings - Fork 0
내 구독 관리
Lucas edited this page Dec 2, 2019
·
15 revisions
Context-type : application/json
GET /mypage/search/calender/:{month}
Sucess
{
"message": [
{
"date": "2019-11-14",
"subList": [
{
"title": "풀무원",
"category": "food",
"price": 9900,
"image": "https://modoctest.s3.ap-northeast-2.amazonaws.com/1574519728123.png",
"type": "month",
"date": "2019-11-14"
}
]
},
{
"date": "2019-11-23",
"subList": [
{
"title": "Netflix",
"category": "entertain",
"price": 8000,
"type": "month",
"image": "https://modoctest.s3.ap-northeast-2.amazonaws.com/1574518752319.jpg",
"date": "2019-11-23"
}
]
},
{
"date": "2019-11-11",
"subList": [
{
"title": "Google Cloud",
"category": "digital",
"price": 3000,
"type": "month",
"image": "https://modoctest.s3.ap-northeast-2.amazonaws.com/1574507149865.jpeg",
"date": "2019-11-11"
}
]
},
{
"date": "2019-11-03",
"subList": [
{
"title": "Naver Cloud",
"category": "digital",
"price": 8000,
"image": "https://modoctest.s3.ap-northeast-2.amazonaws.com/1574507027962.jpeg",
"type": "month",
"date": "2019-11-03"
},
{
"title": "Youtube",
"category": "entertain",
"price": 9900,
"image": "https://modoctest.s3.ap-northeast-2.amazonaws.com/1574506673972.png",
"type": "month",
"date": "2019-11-03"
}
]
}
],
"totalMoney": 38800
}
Fail : 409
{
"message": "invaild data",
"data": {
}
}
Fail : 500
{
"message" : "server error",
"data": {
}
}
Context-type : application/json
GET /mypage/search/cost/:{month}
Sucess
{
"message": [
{
"category": "music",
"price": 12009
},
{
"category": "etc",
"price": 4003
},
{
"category": "digital",
"price": 4003
}
],
"totalPrice": 20015
}
Fail : 409
{
"message": "invaild data",
"data": {
}
}
Fail : 500
{
"message": "server error",
"data": {
}
}
Context-type : application/json
POST /mypage/usage
{
"screenTime": {
"youtube":2000,
"wave":12000
}
}
Sucess
{
"message": "success",
"data":{
"usage": [
{
"name": "youtube",
"time": {
"7": 0,
"8": 0,
"9": 0,
"10": 0,
"11": 16000
}
},
{
"name": "wave",
"time": {
"7": 0,
"8": 0,
"9": 0,
"10": 0,
"11": 96000
}
}
]
}
Fail : 409
{
"message": "invaild data",
"data":{
}
}
Fail : 500
{
"message": "server error",
"data": {
}
}
Context-type : application/json
GET /mypage/like
Sucess
{
"message": "success",
"data":
{
"subData":
[
{
"imgURL" : "http:naver.com",
"title": "bibe",
"type": "weekly",
"price": 25500,
},
{
"imgURL" : "http:naver.com",
"title" : "bibe",
"type": "weekly",
"price": 25500,
}
]
}
}
\
[]()
> Fail : 409
```json
{
"message": "invaild data",
"data": {
}
}
Fail : 500
{
"message": "server error",
"data": {
}
}
Context-type : application/json
GET /mypage/like/count
Sucess
{
"message": "success",
"data": {
"likeCount": 1
}
}
Fail : 409
{
"message": "invaild data",
"data": {
}
}
Fail : 500
{
"message": "server error",
"data": {
}
}