SchoolAPI
- Description:
SchoolAPI namespace
- See:
-
- TSchool in Models.School
Methods
(static) *common(req, res)
Parameters:
| Name | Type | Description |
|---|---|---|
req |
Object | |
res |
Object |
Throws:
| status | message | description |
|---|---|---|
| 404 | SCHOOL_NOT_FOUND | if school is not found |
(static) CSchool API(req, res)
- Description:
학교 생성 API
- Version:
- 2.0.0
- See:
-
- Models.School for validation
Parameters:
| Name | Type | Description | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
req |
Object |
Properties
|
||||||||||||||||||||||||
res |
Object |
Properties
|
Throws:
| status | message | description |
|---|---|---|
| 409 | SCHOOLID_IN_USE | if parameter schoolId is in use |
(static) DSchool API(req, res)
- Description:
학교 삭제 API; 관련 데이터를 모두 삭제한다
- Version:
- 2.0.0
Parameters:
| Name | Type | Description | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
req |
Object |
Properties
|
||||||||||||
res |
Object |
(static) RSchool API(req, res)
- Description:
학교 조회 API
- Version:
- 2.0.0
Parameters:
| Name | Type | Description | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
req |
Object |
Properties
|
||||||||||||
res |
Object |
Properties
|
(static) RSchools API(req, res)
- Description:
학교 목록 조회 API
- Version:
- 2.0.0
Parameters:
| Name | Type | Description | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
req |
Object |
Properties
|
||||||||||||
res |
Object |
Properties
|
(static) USchoolCalendars API(req, res)
- Description:
학교 캘린더 수정 API
- Version:
- 2.0.0
Parameters:
| Name | Type | Description | |||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
req |
Object |
Properties
|
|||||||||||||||||||||||||||
res |
Object |
Properties
|
(static) USchoolFormArchive API(req, res)
- Description:
학교 기록 양식 수정 API
- Version:
- 2.0.0
- See:
-
- models>School for validation
Parameters:
| Name | Type | Description | |||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
req |
Object |
Properties
|
|||||||||||||||||||||
res |
Object |
Properties
|
(static) USchoolLinks API(req, res)
- Description:
학교 링크 수정 API
- Version:
- 2.0.0
Parameters:
| Name | Type | Description | |||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
req |
Object |
Properties
|
|||||||||||||||||||||
res |
Object |
Properties
|