GET/api/wall-consult/{eventId}/host
「イベント」の分類の、情報を読み出す API。ログインした本人として呼ぶ。
- 要約
確認済み担当者自身の担当時間・私的な列・気になるの件数・枠に結んだミーティング
- 呼び方と印
ログイン
URL に付ける値(パラメータ)
経路の中の波かっこの部分と、URL の ? の後ろに付ける値。「必須」の印があるものは省けない。
eventIdpath必須string(uuid)
返るもの(応答)200 · application/json
成功したときに返る形。入れ子の欄は、その行を押すと開く・閉じる。「任意」の印がある欄は返らないことがある。
eventIdstring(uuid)entriesarray<object>idstring(uuid)shiftIdstring(uuid)participantIdstring(uuid)statusenum(6)"interested" "waiting" "called" "active" "ended" "cancelled"revinteger≥0interestedAtstring(date-time)checkedInAtstring(date-time) | nullapprovedAtstring(date-time) | nullcalledAtstring(date-time) | nullstartsAtstring(date-time) | nullendsAtstring(date-time) | nullendedAtstring(date-time) | nullconversationIdstring(uuid) | nullchatTag"壁打ち"cancelledBy"participant" | "host" | null
shiftsarray<object>idstring(uuid)seatIdstring(uuid)hostobjectidstring(uuid)displayNamestringavatarUrlstring | nulltitlestring | nullorgNamestring | null
topicstringstartsAtstring(date-time)endsAtstring(date-time)daystringreceivingbooleanactivebooleanrevinteger≥0
peoplearray<object>idstring(uuid)displayNamestringavatarUrlstring | nulltitlestring | nullorgNamestring | null
meetingsarray<object>requestIdstring(uuid)shiftIdstring(uuid)participantIdstring(uuid)status"proposed" | "accepted"startsAtstring(date-time)endsAtstring(date-time)minutesinteger5–15fromHostboolean
interestarray<object>shiftIdstring(uuid)countinteger≥0
失敗したとき(エラー)
失敗したときの状態コードと、その意味。本文の error の値で、プログラムが失敗の種類を見分けられる。
- 400入力の誤り(error = invalid_input など)
- 401未ログイン(unauthorized)/ Bearer が無効(invalid_token。WWW-Authenticate 付き)
- 403権限が無い
- event_not_found
- not_participant
- forbidden
- blocked
- consent_required
- revision_conflict
- wall_not_today
- wall_not_receiving
- wall_schedule_overlap
- wall_reservation_overlap
- wall_state_conflict
- wall_qr_invalid
- wall_slot_not_current
- wall_shift_identity_changed
- wall_time_outside_shift
- wall_interest_required
- wall_not_shift_host
- wall_meeting_active
- wall_meeting_duration
- wall_shift_inactive
- wall_entry_closed
- wall_seat_identity_changed
- wall_place_key_invalid
- wall_place_key_taken
- meeting_place_booth_conflict
- actor_changed
呼び出しの見本
そのまま試せる呼び出しの例。curl と fetch をタブで切り替える。ID やトークンは自分の値に置き換える。
curl "https://bounty.spikes.4s.link/api/wall-consult/{eventId}/host" \
-H "Authorization: Bearer $BEARER_AUTH"