- 시간표 API
- 급식 API
- Todo API
- 조회 API
- 게시판 API
TYPE: GET REQUEST
{ "timesc" :
[
{
"title" : "영어",
"period" : 1
},
{
"title" : "국어",
"period" : 2
},
]
}
URL/timesc/studentPk/시간표일자(YYYYMMDD)/
예시
TYPE: POST REQUEST
{
"result":"success",
"pk":1
}
{
"result":"fail",
"reason":"Already Existing ID"
}
전달값
"username"
"password"
URL/signup/stclasstype/school/edumintype/grade
{
"result":"success",
"res":"Succeeded in <AREA>",
"pk":777
}
전달값
"username"
"password"
URL/api/logcheck
TYPE: GET REQUEST
{
"result":"success",
"todopk":2
}
URL/todoList/create/StudentPk/title/body/
TYPE: GET REQUEST
{
"todo":[
{
"title":"수학의 정석 수(하) 풀기",
"body":"p27~p33",
"subject":"수학",
"todopk":2
}
]
}
TYPE: GET REQUEST
{
"result":"success",
}
URL/todoList/delete/todoPk/
TYPE: GET REQUEST
{
"result":"SUCCESS!!!"
}
전달값
"title"
"body"
URL/forum/send/<forumpk>/<studentpk>
{
"result":[
{
"title":"히히",
"body":"크크루삥뽕",
"likes":3,
"author":"tte",
"id":1
},
{
"title":"OOOOOO",
"body":"oksick",
"likes":1,
"author":"tt7",
"id":2
},
{
"title":"Helpme",
"body":"oksick",
"likes":0,
"author":"tt7",
"id":3
}
]
}
URL/forum/query/<forumpk>
{
"result":"SUCCESS!!!"
}
URL/forum/like/<postid>
TYPE: GET REQUEST
{
"food":{
"menu":[
"후리카케밥 (2.5.6.10.13.)",
"미트스파게티. (1.2.5.6.10.12.13.16.18.)",
"포기김치. (9.13.)",
"음료 (5.13.)",
"불고기치아바타샌드위치 (1.2.5.6.12.13.16.)",
"모듬피클. (13.)",
"열대과일샐러드 (1.5.13.)"
]
}
}
URL/food/StudentPk/시간표일자(YYYYMMDD)/
예시
URL/getlocals
URL/getgalaxies/[시도]
URL/getschool/[시도]/[구/시]/[학교 종류: 중학교, 고등학교, 등]