GET/api/wall-consult/{eventId}/schedule
「イベント」の分類の、情報を読み出す API。ログインなしで呼べる。
- 要約
壁打ちの公開席・担当時間割と集計(参加者情報を含まない)
- 呼び方と印
認証なし
URL に付ける値(パラメータ)
経路の中の波かっこの部分と、URL の ? の後ろに付ける値。「必須」の印があるものは省けない。
eventIdpath必須string(uuid)
返るもの(応答)200 · application/json
成功したときに返る形。入れ子の欄は、その行を押すと開く・閉じる。「任意」の印がある欄は返らないことがある。
eventIdstring(uuid)timezonestringrevinteger≥0seatsarray<object>idstring(uuid)slotKeystringareaIdstring(uuid) | nullnamestringactivebooleanpoint任意object | nullxnumber0–1ynumber0–1
shiftsarray<object>idstring(uuid)seatIdstring(uuid)hostobjectidstring(uuid)displayNamestringavatarUrlstring | nulltitlestring | nullorgNamestring | null
topicstringstartsAtstring(date-time)endsAtstring(date-time)daystringreceivingbooleanactivebooleanrevinteger≥0
countsarray<object>shiftIdstring(uuid)waitinginteger≥0consultingboolean
失敗したとき(エラー)
失敗したときの状態コードと、その意味。本文の error の値で、プログラムが失敗の種類を見分けられる。
- 400入力の誤り(error = invalid_input など)
- event_not_found
呼び出しの見本
そのまま試せる呼び出しの例。curl と fetch をタブで切り替える。ID やトークンは自分の値に置き換える。
curl "https://bounty.spikes.4s.link/api/wall-consult/{eventId}/schedule"