Download OpenAPI specification:
Hupass 次世代実装 Pirka の API 定義
{- "courses": [
- {
- "id": "0193ca23-cdb0-7c29-a99b-f66ff9ef1b28",
- "syllabus_id": "string",
- "moodle_id": "string",
- "title": "string",
- "subtitle": "string",
- "teacher": "string",
- "year": "string",
- "semester": "通年",
- "place": "string",
- "eligible_min": 0,
- "eligible_max": 0,
- "eligible_department": "string",
- "credit": 0.1,
- "type": "全学教育科目(一般教育演習)",
- "major_category_code": "GEN_LIB",
- "minor_category_code": 1400,
- "day_periods": [
- {
- "day": 1,
- "period": 1
}
], - "faculty": {
- "name": "string",
- "program": "学士課程"
}, - "related_grade_distribution": {
- "id": 0,
- "title": "string",
- "subtitle": "string",
- "eligible_department": "string",
- "teacher": "string",
- "year": "string",
- "semester": "通年",
- "faculty": {
- "name": "string",
- "program": "学士課程"
}, - "num_of_students": 0,
- "gpa": 0.1,
- "ap": 0,
- "a": 0,
- "am": 0,
- "bp": 0,
- "b": 0,
- "bm": 0,
- "cp": 0,
- "c": 0,
- "d": 0,
- "dm": 0,
- "f": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}
courseId
を用いて指定された授業の情報を取得します。
courseId required | string Example: 0193ca23-cdb0-7c29-a99b-f66ff9ef1b28 授業 ID |
{- "course": {
- "id": "0193ca23-cdb0-7c29-a99b-f66ff9ef1b28",
- "syllabus_id": "string",
- "moodle_id": "string",
- "title": "string",
- "subtitle": "string",
- "teacher": "string",
- "year": "string",
- "semester": "通年",
- "place": "string",
- "eligible_min": 0,
- "eligible_max": 0,
- "eligible_department": "string",
- "credit": 0.1,
- "type": "全学教育科目(一般教育演習)",
- "major_category_code": "GEN_LIB",
- "minor_category_code": 1400,
- "day_periods": [
- {
- "day": 1,
- "period": 1
}
], - "faculty": {
- "name": "string",
- "program": "学士課程"
}, - "related_grade_distribution": {
- "id": 0,
- "title": "string",
- "subtitle": "string",
- "eligible_department": "string",
- "teacher": "string",
- "year": "string",
- "semester": "通年",
- "faculty": {
- "name": "string",
- "program": "学士課程"
}, - "num_of_students": 0,
- "gpa": 0.1,
- "ap": 0,
- "a": 0,
- "am": 0,
- "bp": 0,
- "b": 0,
- "bm": 0,
- "cp": 0,
- "c": 0,
- "d": 0,
- "dm": 0,
- "f": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}
{- "id": "0193ca23-cdb0-7c29-a99b-f66ff9ef1b28",
- "name": "string",
- "email": "string",
}
ログインユーザーの時間割から、指定された年度の授業をすべて取得します。
year required | string |
{- "courses": [
- {
- "id": "0193ca23-cdb0-7c29-a99b-f66ff9ef1b28",
- "syllabus_id": "string",
- "moodle_id": "string",
- "title": "string",
- "subtitle": "string",
- "teacher": "string",
- "year": "string",
- "semester": "通年",
- "place": "string",
- "eligible_min": 0,
- "eligible_max": 0,
- "eligible_department": "string",
- "credit": 0.1,
- "type": "全学教育科目(一般教育演習)",
- "major_category_code": "GEN_LIB",
- "minor_category_code": 1400,
- "day_periods": [
- {
- "day": 1,
- "period": 1
}
], - "faculty": {
- "name": "string",
- "program": "学士課程"
}, - "related_grade_distribution": {
- "id": 0,
- "title": "string",
- "subtitle": "string",
- "eligible_department": "string",
- "teacher": "string",
- "year": "string",
- "semester": "通年",
- "faculty": {
- "name": "string",
- "program": "学士課程"
}, - "num_of_students": 0,
- "gpa": 0.1,
- "ap": 0,
- "a": 0,
- "am": 0,
- "bp": 0,
- "b": 0,
- "bm": 0,
- "cp": 0,
- "c": 0,
- "d": 0,
- "dm": 0,
- "f": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}
ログインユーザーの時間割から、指定された授業を取得します。
courseID required | string Example: 0193ca23-cdb0-7c29-a99b-f66ff9ef1b28 授業 ID |
{- "course": {
- "id": "0193ca23-cdb0-7c29-a99b-f66ff9ef1b28",
- "syllabus_id": "string",
- "moodle_id": "string",
- "title": "string",
- "subtitle": "string",
- "teacher": "string",
- "year": "string",
- "semester": "通年",
- "place": "string",
- "eligible_min": 0,
- "eligible_max": 0,
- "eligible_department": "string",
- "credit": 0.1,
- "type": "全学教育科目(一般教育演習)",
- "major_category_code": "GEN_LIB",
- "minor_category_code": 1400,
- "day_periods": [
- {
- "day": 1,
- "period": 1
}
], - "faculty": {
- "name": "string",
- "program": "学士課程"
}, - "related_grade_distribution": {
- "id": 0,
- "title": "string",
- "subtitle": "string",
- "eligible_department": "string",
- "teacher": "string",
- "year": "string",
- "semester": "通年",
- "faculty": {
- "name": "string",
- "program": "学士課程"
}, - "num_of_students": 0,
- "gpa": 0.1,
- "ap": 0,
- "a": 0,
- "am": 0,
- "bp": 0,
- "b": 0,
- "bm": 0,
- "cp": 0,
- "c": 0,
- "d": 0,
- "dm": 0,
- "f": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}
ログインユーザーの時間割に、指定された授業を追加します。
courseID required | string Example: 0193ca23-cdb0-7c29-a99b-f66ff9ef1b28 授業 ID |
プロパティを省略または null を指定すると、初期値を設定します。
title | string or null 科目名 |
subtitle | string or null 講義題目 |
teacher | string or null 教員 |
place | string or null 教室 |
color | string or null 表示色 |
{- "title": "string",
- "subtitle": "string",
- "teacher": "string",
- "place": "string",
- "color": "string"
}
{- "message": "string"
}
ログインユーザーの時間割で、指定された授業の情報を更新します。
courseID required | string Example: 0193ca23-cdb0-7c29-a99b-f66ff9ef1b28 授業 ID |
プロパティを省略すると既存の値を維持し、null を指定すると初期値を設定します。
title | string or null 科目名 |
subtitle | string or null 講義題目 |
teacher | string or null 教員 |
place | string or null 教室 |
color | string or null 表示色 |
{- "title": "string",
- "subtitle": "string",
- "teacher": "string",
- "place": "string",
- "color": "string"
}
{- "course": {
- "id": "0193ca23-cdb0-7c29-a99b-f66ff9ef1b28",
- "syllabus_id": "string",
- "moodle_id": "string",
- "title": "string",
- "subtitle": "string",
- "teacher": "string",
- "year": "string",
- "semester": "通年",
- "place": "string",
- "eligible_min": 0,
- "eligible_max": 0,
- "eligible_department": "string",
- "credit": 0.1,
- "type": "全学教育科目(一般教育演習)",
- "major_category_code": "GEN_LIB",
- "minor_category_code": 1400,
- "day_periods": [
- {
- "day": 1,
- "period": 1
}
], - "faculty": {
- "name": "string",
- "program": "学士課程"
}, - "related_grade_distribution": {
- "id": 0,
- "title": "string",
- "subtitle": "string",
- "eligible_department": "string",
- "teacher": "string",
- "year": "string",
- "semester": "通年",
- "faculty": {
- "name": "string",
- "program": "学士課程"
}, - "num_of_students": 0,
- "gpa": 0.1,
- "ap": 0,
- "a": 0,
- "am": 0,
- "bp": 0,
- "b": 0,
- "bm": 0,
- "cp": 0,
- "c": 0,
- "d": 0,
- "dm": 0,
- "f": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}
特定のお知らせを取得します。
announcementId required | string Example: 0193ca23-cdb0-7c29-a99b-f66ff9ef1b28 お知らせID |
{- "announcement": {
- "id": "0193ca23-cdb0-7c29-a99b-f66ff9ef1b28",
- "title": "string",
- "category": "string",
- "content": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "isRead": true
}
}
お知らせの既読状態を変更します。
announcementId required | string Example: 0193ca23-cdb0-7c29-a99b-f66ff9ef1b28 お知らせID |
変更後の既読状態
true
{- "message": "string"
}