Download OpenAPI specification:
本APIの利用には、Auth0 による認証が必要です。
新たにプロダクトの開発、Auth0の組み込みを行う場合、SATTに事前に申請をし、承認を得てから、本APIの利用をお願いします。
APIリクエストの際は、Authorization ヘッダに Bearer スキームを用いてアクセストークンを指定してください。
Authorization: Bearer <YOUR_ACCESS_TOKEN>
アクセストークンの払い出しについて、各アプリケーションでの認証機構の実装、及び、アクセストークンの取得を行ってください。
なお、audienceパラメータについては、固有の識別子を設定をする必要があります。後述のアクセストークンに対する検証で使用します。
diversejwt.ioなどで、払い出したアクセストークンにaudが適切に設定されているかを確認してください。設定が正しい場合、デコードされたペイロードにdiverseの識別子が含まれます。
払い出されたアクセストークンのペイロード部に、Diverseのユーザに関する情報が含まれています。
以下、デコードされたペイロードの例と主要な項目についての説明です。
{
"https://admin2.s-diverse.com/": {
"demo": false,
"privileges": [
"cram_school_owner"
]
},
"iss": "https://stg-cram.us.auth0.com/",
"sub": "auth0|xxxxxxxxxxxxxxxxxxxxx",
"aud": [
"diverse",
"https://stg-cram.us.auth0.com/userinfo"
],
"iat": 1763446507,
"exp": 1764051307,
"scope": "openid offline_access",
"azp": "1eGhAk3apTP1GvEPVlgK8ZDC6MbW4TDp"
}
https://admin2.s-diverse.com/: 固定student: 生徒homeroom_teacher: コーチcram_school_clerk: 事務担当者cram_school_owner: 組織管理者administrator: システム運用者diverseリクエストに指定されたアクセストークンに対して、JWT検証を行います。 JWT検証については、公式の検証方法に基づき、以下の検証を行います。
uidに関連するに非ロックかつ有効期間内のユーザで、許可されているリクエスト(操作)を行うこと(認可検証)JWT検証に失敗した場合、HTTPステータスコード 401 Unauthorized または 403 Forbiddenを返却します。
| API名 | 生徒 | 子組織コーチ | 親組織コーチ | 子組織管理者 | 親組織管理者 | 子組織事務担当者 | 親組織事務担当者 | システム運用者 |
|---|---|---|---|---|---|---|---|---|
| ログイン者情報取得API | 〇 | 〇 | 〇 | 〇 | 〇 | 〇 | 〇 | 〇 |
| 組織情報取得API | 〇 | 〇 | ◎ | 〇 | ◎ | 〇 | ◎ | ● |
| 所属情報取得API | 〇 | 〇 | ◎ | 〇 | ◎ | 〇 | ◎ | ● |
| グループ情報取得API | 〇 | 〇 | ◎ | 〇 | ◎ | 〇 | ◎ | ● |
| 生徒一覧取得API | - | 〇 | ◎ | 〇 | ◎ | 〇 | ◎ | ● |
| 生徒自身の学校・生年月日更新API | 〇 | - | - | - | - | - | - | - |
| 生徒の授業パッケージ取得API | 〇 | 〇 | ◎ | 〇 | ◎ | 〇 | ◎ | ● |
| 生徒一覧取得API(指定講座カテゴリのみ) | - | 〇 | ◎ | 〇 | ◎ | 〇 | ◎ | ● |
| 生徒一覧取得API(uid検索) | - | 〇 | ◎ | 〇 | ◎ | 〇 | ◎ | ● |
| 学校情報取得API | ● | ● | ● | ● | ● | ● | ● | ● |
| 講座情報取得API | ● | ● | ● | ● | ● | ● | ● | ● |
| お知らせ一覧取得API | 〇 | 〇 | 〇 | 〇 | 〇 | 〇 | 〇 | 〇 |
管理システムがメンテナンスモード中の場合、データ更新系のAPIは利用できなくなり、HTTPステータスコード 503 Service Unavailable を返却します。
APIに関する質問は下記担当(敬称略)をメンションの上、Slack上の○○チャンネルでお願いします。
Auth0 アクセストークンを基にログイン者のユーザー情報を取得する。
権限によって取得できる情報が異なるため、各権限ごとのレスポンスサンプルを参照のこと。
{- "uid": "auth0|685ca7f51c689c6cdef5acca",
- "first_name": "連携",
- "last_name": "外部",
- "first_name_kana": "レンケイ",
- "last_name_kana": "ガイブ",
- "code": "api_student1",
- "external_id": "api_student1",
- "start_at": "2025-06-01T00:00:00+09:00",
- "end_at": "2999-12-31T23:59:59+09:00",
- "date_of_birth": "2010-06-26",
- "privileges": [
- "student"
], - "school_grade": {
- "value": 1,
- "name": "中1"
}, - "school": {
- "code": "01091A",
- "name": "釧路工業高専",
- "name_kana": "クシロコウギヨウコウセン",
- "establishment_type": "national",
- "prefecture": {
- "code": "1",
- "name": "北海道"
}
}, - "sections": [
- {
- "code": "api_spec_section",
- "name": "api_spec用所属",
- "abbreviation": "api所属"
}
], - "groups": [
- {
- "code": "spec_group",
- "name": "api_spec用グループ",
- "abbreviation": "apiグル"
}
], - "organization": {
- "code": "api_spec",
- "name": "api_spec用組織",
- "abbreviation": "api",
- "mindless_attractor": false,
- "children": [ ]
}
}組織の一覧を取得する
| code | string 組織コード |
| id | integer 組織ID |
| page | integer (page) >= 1 Default: 1 ページ番号 |
| per | integer (per) >= 1 Default: 50 1ページあたりの件数 |
| order_by | string Default: "code" Enum: "code" "name" "abbreviation" 並び順
|
| order_direction | string (order-direction) Default: "asc" Enum: "asc" "desc"
|
| like_keyword | string 以下の項目でLIKE検索可能
|
{- "pagination": {
- "current_page": 1,
- "next_page": null,
- "prev_page": null,
- "total_pages": 1,
- "total_count": 4
}, - "organizations": [
- {
- "id": 1,
- "code": "sundai",
- "name": "駿台",
- "abbreviation": "駿台",
- "mindless_attractor": true,
- "children": [
- {
- "id": 2,
- "code": "ochanomizu1",
- "name": "お茶の水1号館",
- "abbreviation": "1号館",
- "mindless_attractor": false
}, - {
- "id": 3,
- "code": "ochanomizu2",
- "name": "お茶の水2号館",
- "abbreviation": "2号館",
- "mindless_attractor": false
}
]
}, - {
- "id": 2,
- "code": "ochanomizu1",
- "name": "お茶の水1号館",
- "abbreviation": "1号館",
- "mindless_attractor": false,
- "children": [ ]
}, - {
- "id": 3,
- "code": "ochanomizu2",
- "name": "お茶の水2号館",
- "abbreviation": "2号館",
- "mindless_attractor": false,
- "children": [ ]
}
]
}所属の一覧を取得する
| organization_code required | string 組織コード |
| organization_id | integer 組織ID |
| page | integer (page) >= 1 Default: 1 ページ番号 |
| per | integer (per) >= 1 Default: 50 1ページあたりの件数 |
| order_by | string Default: "seq" Enum: "code" "name" "abbreviation" "seq" 並び順
|
| order_direction | string (order-direction) Default: "asc" Enum: "asc" "desc"
|
| like_keyword | string 以下の項目でLIKE検索可能
|
{- "pagination": {
- "current_page": 1,
- "next_page": null,
- "prev_page": null,
- "total_pages": 1,
- "total_count": 2
}, - "sections": [
- {
- "code": "K001",
- "name": "駅前教室",
- "abbreviation": "駅前",
- "seq": 1
}, - {
- "code": "K002",
- "name": "市役所前教室",
- "abbreviation": "役所前",
- "seq": 2
}
]
}グループの一覧を取得する
| organization_code required | string 組織コード |
| organization_id | integer 組織ID |
| page | integer (page) >= 1 Default: 1 ページ番号 |
| per | integer (per) >= 1 Default: 50 1ページあたりの件数 |
| order_by | string Default: "seq" Enum: "code" "name" "abbreviation" "seq" 並び順
|
| order_direction | string (order-direction) Default: "asc" Enum: "asc" "desc"
|
| like_keyword | string 以下の項目でLIKE検索可能
|
{- "pagination": {
- "current_page": 1,
- "next_page": null,
- "prev_page": null,
- "total_pages": 1,
- "total_count": 3
}, - "groups": [
- {
- "code": "LS",
- "name": "国立文系",
- "abbreviation": "国文",
- "seq": 1
}, - {
- "code": "SS",
- "name": "国立理系",
- "abbreviation": "国理",
- "seq": 2
}, - {
- "code": "SP",
- "name": "私立文系",
- "abbreviation": "私文",
- "seq": 3
}
]
}Diverseサービスを利用可能な生徒の一覧を取得する
取得可能な生徒情報は下記の通り
| organization_code required | string 組織コード |
| organization_id | integer 組織ID |
| page | integer (page) >= 1 Default: 1 ページ番号 |
| per | integer (per) >= 1 Default: 50 1ページあたりの件数 |
| order_by | string Default: "code" Enum: "code" "last_name" "external_id" 並び順
|
| order_direction | string (order-direction) Default: "asc" Enum: "asc" "desc"
|
| like_keyword | string 以下の項目でLIKE検索可能
|
| section_code | string 所属コード |
| group_code | string グループコード |
| uids[] | Array of strings |
| last_name_kana_prefix_group | string Enum: "A" "K" "S" "T" "N" "H" "M" "Y" "R" "W" "OTHER" 「カナ姓」の1文字目は以下のルールに従い指定してください
|
| school_grade_value | integer 0〜6の値を指定する
|
| all_year | boolean Default: false 全年度を対象とする |
| include_out_of_period | boolean Default: false 有効期間外を含める |
| exclude_demo | boolean Default: false デモ設定を含まない |
{- "pagination": {
- "current_page": 1,
- "next_page": null,
- "prev_page": null,
- "total_pages": 1,
- "total_count": 1
}, - "students": [
- {
- "uid": "auth0|685ca7f51c689c6cdef5acca",
- "external_id": "api_student1",
- "code": "api_student1",
- "first_name": "連携",
- "last_name": "外部",
- "first_name_kana": "レンケイ",
- "last_name_kana": "ガイブ",
- "start_at": "2025-06-01T00:00:00+09:00",
- "end_at": "2999-12-31T23:59:59+09:00",
- "date_of_birth": "2010-06-26",
- "demo": false,
- "last_name_kana_prefix_group": "K",
- "organization": {
- "id": 1015,
- "code": "api_spec",
- "name": "api_spec用組織",
- "abbreviation": "api",
- "mindless_attractor": true
}, - "school_grade": {
- "name": "中1",
- "value": 1
}, - "sections": [
- {
- "code": "api_spec_section",
- "name": "api_spec用所属",
- "abbreviation": "api所属",
- "seq": 1
}
], - "groups": [
- {
- "code": "spec_group",
- "name": "api_spec用グループ",
- "abbreviation": "apiグル",
- "seq": 1
}
], - "school": {
- "code": "01091A",
- "name": "釧路工業高専",
- "name_kana": "クシロコウギヨウコウセン",
- "establishment_type": "national",
- "prefecture": {
- "code": "1",
- "name": "北海道"
}
}
}
]
}アクセストークンで認証された生徒が、自身の学校コードと生年月日を更新する。
正常に更新された場合は、HTTPステータスコード 200 を返却する。
管理システムがメンテナンスモード中の場合は使用不可となり、HTTPステータスコード 503 を返却する。
また、管理システムで設定したメッセージが返却されるため、必要に応じて生徒自身の学校・生年月日更新APIを利用するシステム側でメッセージを設定することができる。
| school_code required | string 学校コード |
| date_of_birth required | string <date> 生年月日(YYYY-MM-DD形式) |
{- "school_code": "string",
- "date_of_birth": "2019-08-24"
}{- "message": "200"
}Diverseサービスを利用可能な生徒の一覧を取得する
取得可能な生徒情報は下記の通り
| organization_code required | string 組織コード |
| course_category required | string Enum: "packaged" "external_app" "recommended" "atama_plus" "others" 講座カテゴリ
|
| include_out_of_period | boolean Default: false 有効期間外の生徒を含めるかどうか
|
| page | integer (page) >= 1 Default: 1 ページ番号 |
| per | integer (per) >= 1 Default: 50 1ページあたりの件数 |
| order_by | string Default: "code" Enum: "code" "last_name" "external_id" 並び順
|
| order_direction | string (order-direction) Default: "asc" Enum: "asc" "desc"
|
{- "pagination": {
- "current_page": 1,
- "next_page": null,
- "prev_page": null,
- "total_pages": 1,
- "total_count": 1
}, - "students": [
- {
- "uid": "auth0|685ca7f51c689c6cdef5acca",
- "external_id": "api_student1",
- "code": "api_student1",
- "first_name": "連携",
- "last_name": "外部",
- "first_name_kana": "レンケイ",
- "last_name_kana": "ガイブ",
- "start_at": "2025-06-01T00:00:00+09:00",
- "end_at": "2999-12-31T23:59:59+09:00",
- "date_of_birth": "2010-06-26",
- "demo": false,
- "last_name_kana_prefix_group": "K",
- "organization": {
- "id": 1015,
- "code": "api_spec",
- "name": "api_spec用組織",
- "abbreviation": "api",
- "mindless_attractor": true
}, - "school_grade": {
- "name": "中1",
- "value": 1
}, - "sections": [
- {
- "code": "api_spec_section",
- "name": "api_spec用所属",
- "abbreviation": "api所属",
- "seq": 1
}
], - "groups": [
- {
- "code": "spec_group",
- "name": "api_spec用グループ",
- "abbreviation": "apiグル",
- "seq": 1
}
], - "school": {
- "code": "01091A",
- "name": "釧路工業高専",
- "name_kana": "クシロコウギヨウコウセン",
- "establishment_type": "national",
- "prefecture": {
- "code": "1",
- "name": "北海道"
}
}
}
]
}Diverseサービスを利用可能な指定したuidの生徒情報の一覧を取得する
取得可能な生徒情報は下記の通り
※ POST だが、リソースの取得のみを行う
| uids required | Array of strings 生徒のuid |
| organization_id | integer 組織ID |
| page | integer (page) >= 1 Default: 1 ページ番号 |
| per | integer (per) >= 1 Default: 50 1ページあたりの件数 |
| order_by | string Default: "code" Enum: "code" "full_name" "external_id" 並び順
|
| order_direction | string (order-direction) Default: "asc" Enum: "asc" "desc" 並び順
|
{- "uids": [
- "string"
], - "organization_id": 0,
- "page": 1,
- "per": 50,
- "order_by": "code",
- "order_direction": "asc"
}{- "pagination": {
- "current_page": 1,
- "next_page": null,
- "prev_page": null,
- "total_pages": 1,
- "total_count": 1
}, - "students": [
- {
- "uid": "auth0|685ca7f51c689c6cdef5acca",
- "external_id": "api_student1",
- "code": "api_student1",
- "first_name": "連携",
- "last_name": "外部",
- "first_name_kana": "レンケイ",
- "last_name_kana": "ガイブ",
- "start_at": "2025-06-01T00:00:00+09:00",
- "end_at": "2999-12-31T23:59:59+09:00",
- "date_of_birth": "2010-06-26",
- "demo": false,
- "last_name_kana_prefix_group": "K",
- "organization": {
- "id": 1015,
- "code": "api_spec",
- "name": "api_spec用組織",
- "abbreviation": "api",
- "mindless_attractor": true
}, - "school_grade": {
- "value": 1,
- "name": "中1"
}, - "sections": [
- {
- "code": "api_spec_section",
- "name": "api_spec用所属",
- "abbreviation": "api所属",
- "seq": 1
}
], - "groups": [
- {
- "code": "spec_group",
- "name": "api_spec用グループ",
- "abbreviation": "apiグル",
- "seq": 1
}
], - "school": {
- "code": "01091A",
- "name": "釧路工業高専",
- "name_kana": "クシロコウギヨウコウセン",
- "establishment_type": "national",
- "prefecture": {
- "code": "1",
- "name": "北海道"
}
}
}
]
}指定した組織に所属する、生徒の受講している講座、及び、パッケージの一覧を取得するAPI。
| organization_code required | string 組織コード |
| organization_id | integer 組織ID |
| uids | Array of strings 生徒のuid |
| course_category | string Enum: "packaged" "external_app" "recommended" "atama_plus" "others" 講座カテゴリ
|
| page | integer (page) >= 1 Default: 1 ページ番号 |
| per | integer (per) >= 1 Default: 50 1ページあたりの件数 |
| order_by | string Enum: "uid" "code" 並び順
|
| order_direction | string (order-direction) Default: "asc" Enum: "asc" "desc" 並び順
|
| like_keyword | string or null 以下の項目でLIKE検索可能
|
{- "organization_code": "api_spec"
}{- "pagination": {
- "current_page": 1,
- "next_page": null,
- "prev_page": null,
- "total_pages": 1,
- "total_count": 1
}, - "students": [
- {
- "uid": "auth0|685ca7f51c689c6cdef5acca",
- "code": "api_student1",
- "courses": [
- {
- "code": "310A01",
- "name": "入試レベル中級_英語",
- "abbreviation": "中級英語",
- "seq": 310,
- "lesson_packages": [
- {
- "code": "310A01P01",
- "seq": 1
}, - {
- "code": "310A01P02",
- "seq": 1
}, - {
- "code": "310A01P03",
- "seq": 1
}
]
}, - {
- "code": "332A01",
- "name": "入試レベル中級_古文",
- "abbreviation": "中級古文",
- "seq": 332,
- "lesson_packages": [
- {
- "code": "332A01P01",
- "seq": 1
}, - {
- "code": "332A01P02",
- "seq": 1
}, - {
- "code": "332A01P03",
- "seq": 1
}
]
}, - {
- "code": "Z999Z01",
- "name": "atama+定期対策講座",
- "abbreviation": "atama+講座",
- "seq": 999,
- "lesson_packages": [
- {
- "code": "Z999Z01P01",
- "seq": 1
}, - {
- "code": "Z999Z01P02",
- "seq": 2
}
]
}
]
}
]
}学校の一覧を取得する
| name | string 学校名 ※部分一致検索 |
| page | integer (page) >= 1 Default: 1 ページ番号 |
| per | integer (per) >= 1 Default: 50 1ページあたりの件数 |
| order_by | string Default: "code" Enum: "code" "name" 並び順
|
| order_direction | string (order-direction) Default: "asc" Enum: "asc" "desc"
|
| prefecture_code | string 都道府県コードを指定 |
{- "pagination": {
- "current_page": 1,
- "next_page": 2,
- "prev_page": null,
- "total_pages": 255,
- "total_count": 5094
}, - "schools": [
- {
- "code": "01091A",
- "name": "釧路工業高専",
- "name_kana": "クシロコウギヨウコウセン",
- "establishment_type": "national",
- "prefecture": {
- "code": "1",
- "name": "北海道"
}
}, - {
- "code": "01092J",
- "name": "旭川工業高専",
- "name_kana": "アサヒカワコウギヨウコウセン",
- "establishment_type": "national",
- "prefecture": {
- "code": "1",
- "name": "北海道"
}
}, - {
- "code": "01093G",
- "name": "苫小牧工業高専",
- "name_kana": "トマコマイコウギヨウコウセン",
- "establishment_type": "national",
- "prefecture": {
- "code": "1",
- "name": "北海道"
}
}, - {
- "code": "01094E",
- "name": "函館工業高専",
- "name_kana": "ハコダテコウギヨウコウセン",
- "establishment_type": "national",
- "prefecture": {
- "code": "1",
- "name": "北海道"
}
}, - {
- "code": "01101A",
- "name": "札幌東",
- "name_kana": "サツポロヒガシ",
- "establishment_type": "public",
- "prefecture": {
- "code": "1",
- "name": "北海道"
}
}, - {
- "code": "01102K",
- "name": "札幌西",
- "name_kana": "サツポロニシ",
- "establishment_type": "public",
- "prefecture": {
- "code": "1",
- "name": "北海道"
}
}, - {
- "code": "01103H",
- "name": "札幌南",
- "name_kana": "サツポロミナミ",
- "establishment_type": "public",
- "prefecture": {
- "code": "1",
- "name": "北海道"
}
}, - {
- "code": "01104F",
- "name": "札幌北",
- "name_kana": "サツポロキタ",
- "establishment_type": "public",
- "prefecture": {
- "code": "1",
- "name": "北海道"
}
}, - {
- "code": "01105D",
- "name": "札幌月寒",
- "name_kana": "サツポロツキサム",
- "establishment_type": "public",
- "prefecture": {
- "code": "1",
- "name": "北海道"
}
}, - {
- "code": "01106B",
- "name": "札幌啓成",
- "name_kana": "サツポロケイセイ",
- "establishment_type": "public",
- "prefecture": {
- "code": "1",
- "name": "北海道"
}
}, - {
- "code": "01107A",
- "name": "札幌北陵",
- "name_kana": "サツポロホクリヨウ",
- "establishment_type": "public",
- "prefecture": {
- "code": "1",
- "name": "北海道"
}
}, - {
- "code": "01108J",
- "name": "札幌手稲",
- "name_kana": "サツポロテイネ",
- "establishment_type": "public",
- "prefecture": {
- "code": "1",
- "name": "北海道"
}
}, - {
- "code": "01109G",
- "name": "札幌丘珠",
- "name_kana": "サツポロオカダマ",
- "establishment_type": "public",
- "prefecture": {
- "code": "1",
- "name": "北海道"
}
}, - {
- "code": "01110A",
- "name": "札幌工業",
- "name_kana": "サツポロコウギヨウ",
- "establishment_type": "public",
- "prefecture": {
- "code": "1",
- "name": "北海道"
}
}, - {
- "code": "01111J",
- "name": "札幌琴似工業",
- "name_kana": "サツポロコトニコウギヨウ",
- "establishment_type": "public",
- "prefecture": {
- "code": "1",
- "name": "北海道"
}
}, - {
- "code": "01112G",
- "name": "札幌東商業",
- "name_kana": "サツポロヒガシシヨウギヨウ",
- "establishment_type": "public",
- "prefecture": {
- "code": "1",
- "name": "北海道"
}
}, - {
- "code": "01113E",
- "name": "江別",
- "name_kana": "エベツ",
- "establishment_type": "public",
- "prefecture": {
- "code": "1",
- "name": "北海道"
}
}, - {
- "code": "01114C",
- "name": "札幌西陵",
- "name_kana": "サツポロセイリヨウ",
- "establishment_type": "public",
- "prefecture": {
- "code": "1",
- "name": "北海道"
}
}, - {
- "code": "01115A",
- "name": "札幌白石",
- "name_kana": "サツポロシロイシ",
- "establishment_type": "public",
- "prefecture": {
- "code": "1",
- "name": "北海道"
}
}, - {
- "code": "01116K",
- "name": "千歳",
- "name_kana": "チトセ",
- "establishment_type": "public",
- "prefecture": {
- "code": "1",
- "name": "北海道"
}
}
]
}講座の一覧を取得する
| page | integer (page) >= 1 Default: 1 ページ番号 |
| per | integer (per) >= 1 Default: 50 1ページあたりの件数 |
| order_by | string Default: "seq" Enum: "code" "name" "abbreviation" "seq" 並び順
|
| order_direction | string (order-direction) Default: "asc" Enum: "asc" "desc"
|
| like_keyword | string 以下の項目でLIKE検索可能
|
| categories | Array of strings Items Enum: "packaged" "external_app" "recommended" "atama_plus" "others" 講座カテゴリでの絞り込み 複数指定可能
|
| subjects | Array of strings Items Enum: "english" "mathematics" "japanese" "kobun" "kanbun" "physics" "chemistry" "biology" "geology" "japanese_history" "world_history" "geography" "political_economy" "ethics" "modern_society" "ethics_and_political_economy" "thesis" "national_language" "others" 科目での絞り込み 複数指定可能
|
| levels | Array of strings Items Enum: "entrance_exam_special" "entrance_exam_advanced" "entrance_exam_intermediate" "pre_entrance_exam" "other" レベルでの絞り込み 複数指定可能
|
| exclude_demo | boolean Default: false デモ講座を除外する |
{- "pagination": {
- "current_page": 1,
- "next_page": null,
- "prev_page": null,
- "total_pages": 1,
- "total_count": 2
}, - "courses": [
- {
- "code": "110A01",
- "name": "プレ入試レベル 英語",
- "abbreviation": "プレ英語",
- "seq": 110,
- "category": "packaged",
- "is_demo": false,
- "subject": {
- "key": "english",
- "name": "英語"
}, - "level": {
- "key": "pre_entrance_exam",
- "name": "プレ入試レベル"
}, - "start_date": null,
- "end_date": null
}, - {
- "code": "310A01",
- "name": "入試レベル中級 英語",
- "abbreviation": "中級英語",
- "seq": 310,
- "category": "packaged",
- "is_demo": false,
- "subject": {
- "key": "english",
- "name": "英語"
}, - "level": {
- "key": "entrance_exam_intermediate",
- "name": "入試レベル中級"
}, - "start_date": null,
- "end_date": null
}, - {
- "code": "Z999Z01",
- "name": "atama+定期対策講座",
- "abbreviation": "atama+講座",
- "seq": 999,
- "category": "atama_plus",
- "is_demo": false,
- "subject": {
- "key": "english",
- "name": "英語"
}, - "level": {
- "key": "entrance_exam_intermediate",
- "name": "入試レベル中級"
}, - "start_date": "2025-12-01",
- "end_date": "2026-03-31"
}
]
}お知らせの一覧を取得する。 ログインしているユーザのアクセストークンを基に以下の条件に合致するお知らせのみ返却。公開開始日の新しい順(降順)でソート。
| system required | string Enum: "admin" "lms" "coaching" システムの一意な名称 |
| organization_code required | string 組織コード |
| tags | Array of strings Items Enum: "emergency" "importance" "maintenance" "system_update" "service_information" "entrace_exam_info" "material" "practice_exam" "others" タグでの絞り込み 複数指定可能 |
| page | integer (page) >= 1 Default: 1 ページ番号 |
| per | integer (per) >= 1 Default: 50 1ページあたりの件数 |
{- "pagination": {
- "current_page": 1,
- "next_page": null,
- "prev_page": null,
- "total_pages": 1,
- "total_count": 1
}, - "informations": [
- {
- "id": 1,
- "title": "資料配布のお知らせ",
- "content": "資料を配布します。",
- "open_at": "2025-12-01T00:00:00+09:00",
- "tags": [
- {
- "key": "material",
- "name": "資料"
}
], - "attachments": [
]
}
]
}本仕様は管理システムが外部プロダクトに対して利用実績情報を収集、取得するための仕様整理をしたものです。
本仕様は確定した仕様ではなく、管理システムが外部プロダクトに対して利用実績情報を取得するためのベースとなる暫定的な設計仕様です。
業務要件次第で本仕様以外の情報を要求、取得する可能性があります。
詳細な仕様については各プロダクト間での協議によって決定します。
| page required | integer >= 1 Default: 1 ページネーションのページ番号 |
| per required | integer Default: 100 1ページあたりの取得件数。デフォルトを100件にしていますが、性能要件等に応じて調整することが可能です。 |
| created_at_from required | string <date-time> Example: created_at_from=2025-01-01T00:00:00+09:00 created_atの取得開始日時(timezone含む) |
| created_at_to required | string <date-time> Example: created_at_to=2025-01-01T23:59:59+09:00 created_atの取得終了日時(timezone含む) |
| order_by required | string Value: "id" Example: order_by=id ソート順の指定。idの昇順のみ対応。 |
{- "progresses": [
- {
- "id": 1,
- "user_id": "auth|1234567890abcdefghijklmnopqrs",
- "package_code": "110A01P01",
- "package_name": "【24版】プレ入試英語(1)",
- "created_at": "2025-01-01T00:00:00Z"
}
], - "pagination": {
- "current_page": 1,
- "per_page": 100,
- "total_pages": 10,
- "total_count": 1000
}
}