Web Desgin Course Common Test
WEBデザインコースで実施する全学年共通テストのAPI仕様。
時間割 API ¶
時間割一覧 ¶
WEBデザインコースの時間割一覧が取得できます。
時間割一覧取得GET/api/v1/timetables
Example URI
GET https://click.ecc.ac.jp/ecc/sakakura/wdct/api/v1/timetables
Request
Headers
Content-Type: application/json
Accept: application/json
Response
200
Headers
Content-Type: application/json
Accept: application/json
Body
{
"vertion": "1.0",
"data": [
{
"class": "WD1A",
"timetables": [
{
"weekday": 1,
"period": 1,
"name": "クリエイティブワーク演習1",
"room": "2403/2404",
"teachers": [
"瀧本",
"桃井"
]
}
]
}
]
}
Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"vertion": {
"type": "string"
},
"data": {
"type": "array"
}
}
}
時間割詳細 ¶
WEBデザインコースのクラス時間割が取得できます。
時間割詳細取得GET/api/v1/timetables/{class}
Example URI
GET https://click.ecc.ac.jp/ecc/sakakura/wdct/api/v1/timetables/WD1A
URI Parameters
- class
string
(required) Example: WD1Aクラス名称
Request
Headers
Content-Type: application/json
Accept: application/json
Response
200
Headers
Content-Type: application/json
Accept: application/json
Body
{
"vertion": "1.0",
"data": {
"class": "WD1A",
"timetables": [
{
"weekday": 1,
"period": 1,
"name": "クリエイティブワーク演習1",
"room": "2403/2404",
"teachers": [
"瀧本",
"桃井"
]
}
]
}
}
Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"vertion": {
"type": "string"
},
"data": {
"type": "object",
"properties": {
"class": {
"type": "string",
"description": "クラス略称"
},
"timetables": {
"type": "array",
"items": {
"type": "object",
"properties": {
"weekday": {
"type": "number",
"description": "曜日( 月曜(1) ~ 金曜(5) )"
},
"period": {
"type": "number",
"description": "時限"
},
"name": {
"type": "string",
"description": "授業名"
},
"room": {
"type": "string",
"description": "教室名"
},
"teachers": {
"type": "array",
"items": [
{
"type": "string"
},
{
"type": "string"
}
],
"description": "教員名"
}
},
"required": [
"weekday",
"period",
"name"
]
},
"description": "クラス時間割"
}
},
"required": [
"class"
]
}
}
}