クイズ作成リクエスト
Field | Type | Label | Description |
body | string | クイズ問題文 |
|
quiz_type | QuizType | クイズ種別 |
|
choice_texts | string | repeated | クイズ選択肢 |
correct_answer | string | クイズ正解データ |
|
event_id | string | イベントID |
クイズ作成レスポンス
Field | Type | Label | Description |
quiz_id | string | クイズID |
|
body | string | クイズ問題文 |
|
quiz_type | QuizType | クイズ種別 |
|
choices | CreateQuizResponse.Choice | repeated | クイズ選択肢 |
correct_answer | string | クイズ正解データ |
|
event_id | string | イベントID |
選択肢オブジェクト
Field | Type | Label | Description |
choice_id | string | 選択肢ID |
|
body | string | 選択肢Body |
クイズ削除リクエスト
Field | Type | Label | Description |
quiz_id | string | クイズID |
クイズ削除レスポンス
Empty
クイズ一覧リクエスト
Empty
クイズ一覧レスポンス
Field | Type | Label | Description |
quizzes | ListQuizzesResponse.Quiz | repeated | クイズの配列 |
選択肢オブジェクト
Field | Type | Label | Description |
choice_id | string | 選択肢ID |
|
body | string | 選択肢Body |
クイズオブジェクト
Field | Type | Label | Description |
quiz_id | string | クイズID |
|
body | string | クイズ問題文 |
|
quiz_type | QuizType | クイズ種別 |
|
choices | ListQuizzesResponse.Choice | repeated | クイズ選択肢 |
correct_answer | string | クイズ正解データ |
クイズ更新リクエスト
Field | Type | Label | Description |
quiz_id | string | クイズID |
|
body | string | クイズ問題文 |
|
quiz_type | QuizType | クイズ種別 |
|
choice_texts | string | repeated | クイズ選択肢(一部更新に対応しないので、全て削除して再度作成する) |
correct_answer | string | クイズ正解データ |
クイズ更新レスポンス
Field | Type | Label | Description |
quiz_id | string | クイズID |
|
body | string | クイズ問題文 |
|
quiz_type | QuizType | クイズ種別 |
|
choices | UpdateQuizResponse.Choice | repeated | クイズ選択肢 |
correct_answer | string | クイズ正解データ |
選択肢オブジェクト
Field | Type | Label | Description |
choice_id | string | 選択肢ID |
|
body | string | 選択肢Body |
クイズに対する基本的な操作を提供するサービス
Method Name | Request Type | Response Type | Description |
CreateQuiz | CreateQuizRequest | CreateQuizResponse | クイズ作成 |
DeleteQuiz | DeleteQuizRequest | DeleteQuizResponse | クイズ削除 |
UpdateQuiz | UpdateQuizRequest | UpdateQuizResponse | クイズ更新 |
ListQuizzes | ListQuizzesRequest | ListQuizzesResponse | クイズ一覧取得API |
イントロダクション前へリクエスト
Field | Type | Label | Description |
session_id | string | セッションID |
イントロダクション前へレスポンス
Empty
クイズ中止リクエスト
Field | Type | Label | Description |
session_id | string | セッションID |
クイズ中止レスポンス
Empty
セッション作成リクエスト
Field | Type | Label | Description |
name | string | セッション名 |
|
event_id | string | イベントID |
セッション作成レスポンス
Field | Type | Label | Description |
session_id | string | セッションID |
|
name | string | セッション名 |
|
event_id | string | イベントID |
イントロダクション完了リクエスト
Field | Type | Label | Description |
session_id | string | セッションID |
イントロダクション完了レスポンス
Empty
クイズ終了リクエスト
Field | Type | Label | Description |
session_id | string | セッションID |
クイズ終了レスポンス
Empty
セッション終了リクエスト
Field | Type | Label | Description |
session_id | string | セッションID |
セッション終了レスポンス
Empty
セッション情報取得リクエスト
Field | Type | Label | Description |
session_id | string | セッションID |
セッション情報取得レスポンス
Field | Type | Label | Description |
simple_session_state | SimpleSessionState | ゲームの進行状態 |
|
qr_code_image_url | string | QRコードの画像URL |
クイズ一覧リクエスト
Field | Type | Label | Description |
session_id | string | セッションID |
クイズ一覧レスポンス
Field | Type | Label | Description |
session_quizzes | ListSessionQuizzesResponse.SessionQuiz | repeated | クイズの配列 |
選択肢オブジェクト
Field | Type | Label | Description |
choice_id | string | 選択肢ID |
|
body | string | 選択肢Body |
完了フラグを持ったクイズオブジェクト
Field | Type | Label | Description |
quiz_id | string | クイズID |
|
body | string | クイズ問題文 |
|
quiz_type | QuizType | クイズ種別 |
|
choices | ListSessionQuizzesResponse.Choice | repeated | クイズ選択肢 |
is_completed | bool | 完了済フラグ |
セッション一覧リクエスト
Field | Type | Label | Description |
event_id | string | イベントID |
|
include_finished | bool | 終了済みセッションも含めるか |
セッション一覧レスポンス
Field | Type | Label | Description |
sessions | ListSessionsResponse.Session | repeated | セッションの配列 |
セッションオブジェクト
Field | Type | Label | Description |
session_id | string | セッションID |
|
name | string | セッション名 |
|
event_id | string | イベントID |
イントロダクション次へリクエスト
Field | Type | Label | Description |
session_id | string | セッションID |
イントロダクション次へレスポンス
Empty
カバー表示リクエスト
Field | Type | Label | Description |
session_id | string | セッションID |
|
is_visible | bool | カバー画面を表示するか |
カバー表示レスポンス
Empty
クイズ選択リクエスト
Field | Type | Label | Description |
session_id | string | セッションID |
|
quiz_id | string | クイズID |
クイズ選択レスポンス
Empty
クイズ回答設定リクエスト
Field | Type | Label | Description |
session_id | string | セッションID |
|
correct_answer | string | クイズ正解データ |
|
quiz_id | string | クイズID |
クイズ回答設定レスポンス
Empty
前の結果画面表示リクエスト
Field | Type | Label | Description |
session_id | string | セッションID |
前の結果画面ランキング表示レスポンス
Empty
次の結果画面表示リクエスト
Field | Type | Label | Description |
session_id | string | セッションID |
次の結果画面表示レスポンス
Empty
プロフィール表示リクエスト
Field | Type | Label | Description |
session_id | string | セッションID |
プロフィール表示レスポンス
Empty
クイズ表示リクエスト
Field | Type | Label | Description |
session_id | string | セッションID |
クイズ表示レスポンス
Empty
クイズ結果表示リクエスト
Field | Type | Label | Description |
session_id | string | セッションID |
|
quiz_result_type | QuizResultType | 表示したい結果表示画面の種類 |
クイズ結果表示レスポンス
Empty
結果画面ランキング表示リクエスト
Field | Type | Label | Description |
session_id | string | セッションID |
|
result_ranking_type | ResultRankingType | 結果発表ランキング種別 |
|
start_position | int32 | 開始位置 |
|
end_position | int32 | 終了位置 |
|
pre_display_count | int32 | 何個表示しておくか |
|
display_count | int32 | 何個表示するか |
|
emphasize_positions | int32 | repeated | 強調表示する位置の配列 |
結果画面ランキング表示レスポンス
Empty
結果画面タイトル表示リクエスト
Field | Type | Label | Description |
session_id | string | セッションID |
|
result_title_type | ResultTitleType | 結果画面種別 |
|
rank | int32 | optional | 順位(RESULT_RANKING_TYPE_RANK系のみ) |
結果画面タイトル表示レスポンス
Empty
クイズ開始リクエスト
Field | Type | Label | Description |
session_id | string | セッションID |
クイズ開始レスポンス
Empty
結果画面開始リクエスト
Field | Type | Label | Description |
session_id | string | セッションID |
|
result_type | ResultType | 結果画面種別 |
結果画面開始レスポンス
Empty
セッション(開始〜クイズ複数回〜終了までの1セット)に関連する操作を提供するサービス
基本的に司会が操作する機能を提供する
クイズ締め切りリクエスト
Field | Type | Label | Description |
session_id | string | セッションID |
クイズ締め切りレスポンス
Empty
メッセージ送信リクエスト
Field | Type | Label | Description |
session_id | string | セッションID |
|
body | string | メッセージ本文 |
|
level | MessageLevel | メッセージレベル |
メッセージ送信レスポンス
Empty
スクリーンに関連する操作を提供するサービス
Method Name | Request Type | Response Type | Description |
SendMessage | SendMessageRequest | SendMessageResponse | バックエンド/管理画面にメッセージ送信 |
CloseQuiz | CloseQuizRequest | CloseQuizResponse | クイズ締め切り |
参加者作成リクエスト
Field | Type | Label | Description |
session_id | string | セッションID |
|
name | string | 参加者名 |
|
image_id | string | optional | 画像URL |
participant_type | ParticipantType | 参加者種別 |
|
name_ruby | string | optional | 参加者名ルビ |
参加者作成レスポンス
Field | Type | Label | Description |
participant_id | string | 参加者ID |
|
session_id | string | セッションID |
|
name | string | 参加者名 |
|
image_url | string | 画像URL |
|
participant_type | ParticipantType | 参加者種別 |
|
name_ruby | string | 参加者名ルビ |
参加者取得リクエスト
Field | Type | Label | Description |
participant_id | string | 参加者ID |
参加者取得レスポンス
Field | Type | Label | Description |
participant_id | string | 参加者ID |
|
session_id | string | セッションID |
|
name | string | 参加者名 |
|
image_url | string | 画像URL |
|
participant_type | ParticipantType | 参加者種別 |
|
name_ruby | string | 参加者名ルビ |
参加者一覧リクエスト
Field | Type | Label | Description |
session_id | string | セッションID |
|
participant_type | ParticipantType | optional | 参加者種別(未指定で両方) |
参加者一覧レスポンス
Field | Type | Label | Description |
participants | ListParticipantsResponse.Participant | repeated | 参加者の配列 |
参加者オブジェクト
Field | Type | Label | Description |
participant_id | string | 参加者ID |
|
session_id | string | セッションID |
|
name | string | 参加者名 |
|
image_url | string | 画像URL |
|
participant_type | ParticipantType | 参加者種別 |
|
is_connected | bool | 接続済みかどうか |
|
name_ruby | string | 参加者名ルビ |
参加者登録リクエスト
Field | Type | Label | Description |
session_id | string | セッションID |
|
participant_id | string | 参加者ID TODO: アンケートを追加する場合ここ |
参加者登録レスポンス
Empty
回答登録リクエスト
Field | Type | Label | Description |
participant_id | string | 参加者ID |
|
quiz_id | string | クイズID |
|
answer | string | クイズ正解データ |
|
time | float | 回答までの時間 |
回答登録レスポンス
Empty
参加者更新リクエスト
Field | Type | Label | Description |
participant_id | string | 参加者ID |
|
session_id | string | セッションID |
|
name | string | 参加者名 |
|
image_id | string | optional | 画像URL |
participant_type | ParticipantType | 参加者種別 |
|
name_ruby | string | optional | 参加者名ルビ |
参加者更新レスポンス
Field | Type | Label | Description |
participant_id | string | 参加者ID |
|
session_id | string | セッションID |
|
name | string | 参加者名 |
|
image_url | string | 画像URL |
|
participant_type | ParticipantType | 参加者種別 |
|
name_ruby | string | 参加者名ルビ |
参加者に関連する操作を提供するサービス
Method Name | Request Type | Response Type | Description |
CreateParticipant | CreateParticipantRequest | CreateParticipantResponse | 参加者作成(管理側用) |
GetParticipant | GetParticipantRequest | GetParticipantResponse | 参加者取得 |
UpdateParticipant | UpdateParticipantRequest | UpdateParticipantResponse | 参加者更新(管理側用) |
ListParticipants | ListParticipantsRequest | ListParticipantsResponse | 参加者一覧 |
RegisterParticipant | RegisterParticipantRequest | RegisterParticipantResponse | 参加者登録 |
SetAnswer | SetAnswerRequest | SetAnswerResponse | 回答登録 |
イベント作成リクエスト
Field | Type | Label | Description |
event_name | string | イベント名 |
イベント作成レスポンス
Field | Type | Label | Description |
event_id | string | イベントID |
|
event_name | string | イベント名 |
イベント削除リクエスト
Field | Type | Label | Description |
event_id | string | イベントID |
イベント削除レスポンス
Empty
イベント一覧リクエスト
Empty
イベント一覧レスポンス
Field | Type | Label | Description |
events | ListEventsResponse.Event | repeated | イベント一覧 |
イベントオブジェクト
Field | Type | Label | Description |
event_id | string | イベントID |
|
event_name | string | イベント名 |
イベント作成リクエスト
Field | Type | Label | Description |
event_id | string | イベントID |
|
event_name | string | イベント名 |
イベント作成レスポンス
Field | Type | Label | Description |
event_id | string | イベントID |
|
event_name | string | イベント名 |
イベントに関連する操作を提供するサービス
Method Name | Request Type | Response Type | Description |
CreateEvent | CreateEventRequest | CreateEventResponse | イベント作成 |
UpdateEvent | UpdateEventRequest | UpdateEventResponse | イベント更新 |
DeleteEvent | DeleteEventRequest | DeleteEventResponse | イベント削除 |
ListEvents | ListEventsRequest | ListEventsResponse | イベント一覧 |
Presigned URL生成リクエスト
Empty
Presigned URL生成レスポンス
Field | Type | Label | Description |
presigned_url | string | Presigned URL |
|
file_id | string | File Id |
イベント種別
Name | Number | Description |
EVENT_TYPE_UNSPECIFIED | 0 | 未定義 |
EVENT_TYPE_INTRODUCTION | 10 | イントロダクション表示イベント |
EVENT_TYPE_SHOW_PROFILE | 11 | プロフィール表示イベント |
EVENT_TYPE_PRE_QUIZ | 20 | クイズ情報イベント(クイズや選択肢画像などをプリロードするためのイベント) |
EVENT_TYPE_SHOW_QUIZ | 21 | クイズ表示イベント(PreQuizで取得できていなくても動かせるよう全データを載せる) |
EVENT_TYPE_START_QUIZ | 22 | クイズ回答開始イベント |
EVENT_TYPE_QUIZ_TIME_UP | 23 | 締め切りイベント |
EVENT_TYPE_QUIZ_ANSWER_LIST | 24 | クイズ回答数イベント |
EVENT_TYPE_QUIZ_RESULT | 25 | クイズ結果イベント |
EVENT_TYPE_QUIZ_SPEED_RANKING | 26 | 早押しランキングイベント |
EVENT_TYPE_UPDATE_PARTICIPANT | 27 | 参加者情報更新イベント |
EVENT_TYPE_UPDATE_ANSWER | 28 | 回答情報更新イベント |
EVENT_TYPE_CANCEL_QUIZ | 29 | クイズキャンセルイベント |
EVENT_TYPE_SESSION_INTERIM_RESULT | 30 | 中間結果表示イベント |
EVENT_TYPE_SESSION_FINAL_RESULT | 31 | 最終結果表示イベント |
EVENT_TYPE_WINNER | 32 | 勝者イベント(参加者用) |
EVENT_TYPE_FINISH | 40 | 終了イベント |
EVENT_TYPE_RESULT_TITLE | 41 | 結果発表タイトルイベント |
EVENT_TYPE_RESULT_INFO | 42 | 結果発表情報イベント(STREAM_TYPE_MANAGER) |
EVENT_TYPE_RESULT_RANKING_TITLE | 43 | 結果発表ランキングタイトルイベント |
EVENT_TYPE_RESULT_RANKING | 44 | 結果発表ランキング表示 |
EVENT_TYPE_RESULT_PRESENT | 45 | 結果発表プレゼント表示 |
EVENT_TYPE_MESSAGE | 50 | メッセージイベント |
EVENT_TYPE_COVER | 98 | カバーイベント |
EVENT_TYPE_CURRENT_STATE | 99 | 現在状態イベント |
EVENT_TYPE_FULL_CURRENT_STATE | 100 | 現在状態イベント(STREAM_TYPE_MANAGER/接続時) |
メッセージレベル種別
Name | Number | Description |
MESSAGE_LEVEL_UNSPECIFIED | 0 | 未定義 |
MESSAGE_LEVEL_NOTICE | 1 | NOTICEレベル |
MESSAGE_LEVEL_WARN | 2 | WARNレベル |
MESSAGE_LEVEL_ERROR | 3 | ERRORレベル |
参加者種別
Name | Number | Description |
PARTICIPANT_TYPE_UNSPECIFIED | 0 | 未定義 |
PARTICIPANT_TYPE_GROOM | 1 | 新郎側 |
PARTICIPANT_TYPE_BRIDE | 2 | 新婦側 |
クイズ結果種別
Name | Number | Description |
QUIZ_RESULT_TYPE_UNSPECIFIED | 0 | 未定義 |
QUIZ_RESULT_TYPE_VOTE_LIST | 1 | 投票数 |
QUIZ_RESULT_TYPE_RESULT | 2 | 結果 |
QUIZ_RESULT_TYPE_FASTEST_RANKING | 3 | 早押しランキング |
クイズ種別
Name | Number | Description |
QUIZ_TYPE_UNSPECIFIED | 0 | 未定義 |
QUIZ_TYPE_FOUR_CHOICES_QUIZ | 1 | 四択クイズ |
QUIZ_TYPE_SORT_IMAGE_QUIZ | 2 | 画像並び替えクイズ |
QUIZ_TYPE_REALTIME_FOUR_CHOICE_QUIZ | 3 | リアルタイムクイズ |
結果発表プレゼント種別
Name | Number | Description |
RESULT_PRESENT_TYPE_UNSPECIFIED | 0 | 未定義 |
RESULT_PRESENT_TYPE_BOOBY | 1 | ブービー賞 |
RESULT_PRESENT_TYPE_JUST | 2 | ぴたり賞 |
RESULT_PRESENT_TYPE_RANK | 3 | 順位 |
RESULT_PRESENT_TYPE_4_7 | 4 | 4位7位 |
結果発表ランキング種別
Name | Number | Description |
RESULT_RANKING_TYPE_UNSPECIFIED | 0 | 未定義 |
RESULT_RANKING_TYPE_BOOBY | 1 | ブービー賞 |
RESULT_RANKING_TYPE_JUST | 2 | ぴたり賞 |
RESULT_RANKING_TYPE_RANK | 3 | 順位 |
結果発表タイトル種別
Name | Number | Description |
RESULT_TITLE_TYPE_UNSPECIFIED | 0 | 未定義 |
RESULT_TITLE_TYPE_BOOBY | 1 | ブービー賞 |
RESULT_TITLE_TYPE_JUST | 2 | ぴたり賞 |
RESULT_TITLE_TYPE_RANK | 3 | 順位 |
RESULT_TITLE_TYPE_RANK_DUMMY_1 | 4 | 順位表示用ダミー1(と、言いたいところですが!) |
RESULT_TITLE_TYPE_RANK_DUMMY_2 | 5 | 順位表示用ダミー2(と思いきや!!) |
RESULT_TITLE_TYPE_RANK_ACTUAL | 6 | 順位(本気の) |
結果発表タイトル種別
Name | Number | Description |
RESULT_TYPE_UNSPECIFIED | 0 | 未定義 |
RESULT_TYPE_INTERIM | 1 | 中間結果発表 |
RESULT_TYPE_FINAL | 2 | 最終結果発表 |
ゲームの状態を表すステート
Name | Number | Description |
SIMPLE_SESSION_STATE_UNSPECIFIED | 0 | 未定義 |
SIMPLE_SESSION_STATE_BEFORE_START | 1 | 開始前状態 |
SIMPLE_SESSION_STATE_DURING_THE_GAME | 2 | ゲーム中状態 |
SIMPLE_SESSION_STATE_FINISHED | 3 | 終了済状態 |
ストリーム種別
Name | Number | Description |
STREAM_TYPE_UNSPECIFIED | 0 | 未定義 |
STREAM_TYPE_SCREEN | 1 | スクリーン |
STREAM_TYPE_PARTICIPANT | 2 | 参加者 |
STREAM_TYPE_MANAGER | 3 | 司会者 |
汎用的な機能を提供するサービス
Method Name | Request Type | Response Type | Description |
GeneratePresignedUrl | GeneratePresignedUrlRequest | GeneratePresignedUrlResponse | アップロードに用いるPresigned URLを生成する |
イベントストリームリクエスト
Field | Type | Label | Description |
session_id | string | セッションID |
|
participant_id | string | 参加者ID |
|
type | StreamType | ストリーム種別 |
イベントストリームレスポンス
Field | Type | Label | Description |
event_type | EventType | イベント種別 |
|
correct_answer_count | int32 | 正答数(StreamType = STREAM_TYPE_PARTICIPANTの際のみ) |
|
participants | StreamEventResponse.Participant | repeated | 参加者の配列(UPDATE_PARTICIPANT) |
answers | StreamEventResponse.Answer | repeated | 回答情報(UPDATE_ANSWER) |
introduction_event | StreamEventResponse.IntroductionEvent | イントロダクション表示イベントBody |
|
quiz | StreamEventResponse.Quiz | クイズ(PRE_QUIZ / SHOW_QUIZ / START_QUIZ / QUIZ_TIME_UP / QUIZ_ANSWER_LIST / QUIZ_RESULT) |
|
speed_ranking | StreamEventResponse.SpeedRanking | 早押しランキング(QUIZ_SPEED_RANKING) |
|
message | StreamEventResponse.Message | メッセージ(MESSAGE) |
|
cover | StreamEventResponse.Cover | カバー(COVER) |
|
session_state | StreamEventResponse.SessionState | 現在状態(CURRENT_STATE) |
|
result_title | StreamEventResponse.ResultTitle | 結果発表タイトル(RESULT_TITLE) |
|
result_info | StreamEventResponse.ResultInfo | 結果画面情報(RESULT_INFO) |
|
result_ranking_title | StreamEventResponse.ResultRankingTitle | 結果発表ランキングタイトル(RESULT_RANKING_TITLE) |
|
result_ranking | StreamEventResponse.ResultRanking | 結果発表ランキング(RESULT_RANKING) |
|
result_present | StreamEventResponse.ResultPresent | 結果発表プレゼント(RESULT_PRESENT) |
|
profile | StreamEventResponse.Profile | プロフィール(SHOW_PROFILE) |
回答情報オブジェクト
Field | Type | Label | Description |
participant_name | string | 参加者名 |
|
answer_body | string | 回答内容 |
|
is_correct_choice | bool | 正解フラグ |
|
participant_image_url | string | 参加者画像URL |
|
time | float | 回答時間 |
|
participant_name_ruby | string | 参加者名ルビ |
カバー
Field | Type | Label | Description |
is_visible | bool | カバーを表示するか |
イントロダクション
Field | Type | Label | Description |
introduction_id | int32 | イントロダクションID |
|
is_first | bool | 最初のイントロダクションフラグ |
|
is_last | bool | 最後のイントロダクションフラグ |
|
qr_code_image_url | string | QRコードの画像URL |
メッセージ
Field | Type | Label | Description |
body | string | メッセージ本文 |
|
level | MessageLevel | メッセージレベル |
参加者オブジェクト
Field | Type | Label | Description |
participant_id | string | 参加者ID |
|
session_id | string | セッションID |
|
name | string | 参加者名 |
|
image_url | string | 画像URL |
|
participant_type | ParticipantType | 参加者種別 |
|
is_connected | bool | 接続済みかどうか |
|
is_answered | bool | 回答済みかどうか |
|
name_ruby | string | 参加者名ルビ |
プロフィールオブジェクト
Field | Type | Label | Description |
participant_name | string | 参加者名 |
|
participant_image_url | string | 参加者画像URL |
|
participant_name_ruby | string | 参加者名ルビ |
クイズ情報
Field | Type | Label | Description |
quiz_id | string | クイズID |
|
body | string | クイズ問題文 |
|
quiz_type | QuizType | クイズ種別 |
|
choices | StreamEventResponse.Quiz.Choice | repeated | クイズ選択肢の配列 |
quiz_number | int32 | 何問目 |
|
elapsed_time | float | optional | 経過時間(QUIZ_PLAYINGかつSTREAM_TYPE_PARTICIPANTのみ) |
クイズ選択肢オブジェクト
Field | Type | Label | Description |
choice_id | string | 選択肢ID |
|
body | string | 選択肢Body |
|
count | int32 | optional | 件数(QUIZ_ANSWER_LIST / QUIZ_RESULTのみ) |
is_correct_choice | bool | optional | 正解フラグ(QUIZ_RESULTのみ) |
is_selected_choice | bool | optional | 選択フラグ(QUIZ_RESULTかつSTREAM_TYPE_PARTICIPANTのみ) |
結果発表情報オブジェクト
Field | Type | Label | Description |
participant_session_scores | StreamEventResponse.ResultInfo.ParticipantSessionScore | repeated | 参加者のスコアの配列 |
result_ranking_type | ResultRankingType | 結果発表ランキング種別 |
参加者のスコア
Field | Type | Label | Description |
rank | int32 | 順位 |
|
participant_name | string | 参加者名 |
|
score | int32 | スコア |
|
time | float | 秒数 |
|
participant_name_ruby | string | 参加者名ルビ |
結果発表プレゼントオブジェクト
Field | Type | Label | Description |
rank | int32 | 順位 |
|
result_present_type | ResultPresentType | 結果発表ランキング種別 |
結果発表ランキングオブジェクト
Field | Type | Label | Description |
participant_session_scores | StreamEventResponse.ResultRanking.ParticipantSessionScore | repeated | 参加者のスコアの配列 |
pre_display_count | int32 | 何個表示しておくか |
|
display_count | int32 | 何個表示するか |
|
result_ranking_type | ResultRankingType | 結果発表ランキング種別 |
|
has_next_page | bool | 次のページがあるかどうか |
参加者のスコア
Field | Type | Label | Description |
rank | int32 | 順位 |
|
participant_name | string | 参加者名 |
|
score | int32 | スコア |
|
time | float | 秒数 |
|
is_emphasis | bool | 強調フラグ |
|
is_hidden | bool | 隠しフラグ |
|
participant_name_ruby | string | 参加者名ルビ |
結果発表ランキングタイトルオブジェクト
Field | Type | Label | Description |
result_title_type | ResultTitleType | 結果発表ランキングタイトル種別 |
|
rank | int32 | 順位 |
|
actual_result_title_type | ResultTitleType | 実際の結果発表ランキングタイトル種別(ダミー時用) |
結果発表タイトルオブジェクト
Field | Type | Label | Description |
result_type | ResultType | 結果発表種別 |
現在状態
Field | Type | Label | Description |
simple_session_state | SimpleSessionState | ゲームの進行状態 |
|
session_state | string | ゲームの進行状態(バックエンドで定義しているより詳細なステート) |
早押しランキングイベントBody
Field | Type | Label | Description |
participant_quiz_times | StreamEventResponse.SpeedRanking.ParticipantQuizTime | repeated | 参加者の回答時間の配列 |
参加者のスコア
Field | Type | Label | Description |
participant_name | string | 参加者名 |
|
participant_image_url | string | 参加者画像URL |
|
time | float | タイム |
|
rank | int32 | 順位 |
|
participant_name_ruby | string | 参加者名ルビ |
イベントストリームレスポンス
Field | Type | Label | Description |
session_id | string | セッションID |
包括的なストリーム機能を提供するサービス
Method Name | Request Type | Response Type | Description |
StreamEvent | StreamEventRequest | StreamEventResponse stream | スクリーン向けイベントストリーム |
.proto Type | Notes | C++ | Java | Python | Go | C# | PHP | Ruby |
double | double | double | float | float64 | double | float | Float | |
float | float | float | float | float32 | float | float | Float | |
int32 | Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint32 instead. | int32 | int | int | int32 | int | integer | Bignum or Fixnum (as required) |
int64 | Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint64 instead. | int64 | long | int/long | int64 | long | integer/string | Bignum |
uint32 | Uses variable-length encoding. | uint32 | int | int/long | uint32 | uint | integer | Bignum or Fixnum (as required) |
uint64 | Uses variable-length encoding. | uint64 | long | int/long | uint64 | ulong | integer/string | Bignum or Fixnum (as required) |
sint32 | Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int32s. | int32 | int | int | int32 | int | integer | Bignum or Fixnum (as required) |
sint64 | Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int64s. | int64 | long | int/long | int64 | long | integer/string | Bignum |
fixed32 | Always four bytes. More efficient than uint32 if values are often greater than 2^28. | uint32 | int | int | uint32 | uint | integer | Bignum or Fixnum (as required) |
fixed64 | Always eight bytes. More efficient than uint64 if values are often greater than 2^56. | uint64 | long | int/long | uint64 | ulong | integer/string | Bignum |
sfixed32 | Always four bytes. | int32 | int | int | int32 | int | integer | Bignum or Fixnum (as required) |
sfixed64 | Always eight bytes. | int64 | long | int/long | int64 | long | integer/string | Bignum |
bool | bool | boolean | boolean | bool | bool | boolean | TrueClass/FalseClass | |
string | A string must always contain UTF-8 encoded or 7-bit ASCII text. | string | String | str/unicode | string | string | string | String (UTF-8) |
bytes | May contain any arbitrary sequence of bytes. | string | ByteString | str | []byte | ByteString | string | String (ASCII-8BIT) |