本文へ移動
Bounty Developer

GET/api/v1/boshu/{id}/partner/context

「BOSHU の外部 API」の分類の、情報を読み出す API。ログインなしで呼べる。

要約

公開中のイベント募集(パートナー募集、またはイベントの企画募集とそのパートナー質問c)の質問・イベント・規約版を匿名で読む(申請者・所属・連絡先なし)

呼び方と印

認証なし

URL に付ける値(パラメータ)

経路の中の波かっこの部分と、URL の ? の後ろに付ける値。「必須」の印があるものは省けない。

  • idpath必須string(uuid)

返るもの(応答)200 · application/json

成功したときに返る形。入れ子の欄は、その行を押すと開く・閉じる。「任意」の印がある欄は返らないことがある。

  • format"partner" | "guild_royale"
  • authentication"bounty_4s"
  • policyVersion"2026-10-01"
  • callobject
    • idstring(uuid)
    • titlestring
    • descriptionstring | null
    • questionSetIdstring(uuid)
    • questionsarray<object>件数 ≤60
      • idstring/^q_[a-z0-9]{4,24}$/
      • typeenum(9)"short" "long" "single" "multi" "check" "url" "date" "image" "document"
      • labelstring長さ 1–120
      • helpany
      • requiredboolean既定 false
      • enabled任意boolean
      • optionsarray<object>件数 ≤20 · 既定 []
        • idstring/^o_[a-z0-9]{1,24}$/
        • labelstring長さ 1–60
      • sensitiveboolean既定 false
      • maxLength任意integer1–2000
      • section任意string長さ 1–80
      • organizationField任意enum(11)"name" "nameKana" "organizationType" "baseUniversities" "foundedYearMonth" "memberCount" "studentMemberCount" "genres" "links" "catchphrase" "activitySummary"
      • profileField任意enum(9)"displayName" "title" "orgName" "schoolName" "gradYear" "organizations" "faculty" "standing" "grade"
      • memberSelection任意object
        • kind"active_student"
        • min1
        • max3
      • condition任意object
        • questionIdstring/^q_[a-z0-9]{4,24}$/
        • optionIdstring/^o_[a-z0-9]{1,24}$/
    • phase"open" | "upcoming" | "closed"
    • kind"staff" | "talk" | "pitch" | "other"
    • template"partner" | "guild_royale"
    • applicantKind"individual" | "guild" | "venture"
    • messagePolicy"legacy" | "required" | "optional" | "off"
    • portfolioRequiredboolean
    • applicationFieldsobject | null
      • headline任意object
        • enabledboolean
        • requiredboolean
        • labelstring長さ 1–120
        • placeholderstring長さ ≤200
      • message任意object
        • enabledboolean
        • requiredboolean
        • labelstring長さ 1–120
        • placeholderstring長さ ≤200
      • links任意object
        • enabledboolean
        • requiredboolean
        • labelstring長さ 1–120
        • placeholderstring長さ ≤200
      • portfolio任意object
        • enabledboolean
        • requiredboolean
        • labelstring長さ 1–120
        • placeholderstring長さ ≤200
  • eventCallobject | null
    • idstring(uuid)
    • titlestring
    • questionSetIdstring(uuid)
    • questionsarray<object>件数 ≤60
      • idstring/^q_[a-z0-9]{4,24}$/
      • typeenum(9)"short" "long" "single" "multi" "check" "url" "date" "image" "document"
      • labelstring長さ 1–120
      • helpany
      • requiredboolean既定 false
      • enabled任意boolean
      • optionsarray<object>件数 ≤20 · 既定 []
        • idstring/^o_[a-z0-9]{1,24}$/
        • labelstring長さ 1–60
      • sensitiveboolean既定 false
      • maxLength任意integer1–2000
      • section任意string長さ 1–80
      • organizationField任意enum(11)"name" "nameKana" "organizationType" "baseUniversities" "foundedYearMonth" "memberCount" "studentMemberCount" "genres" "links" "catchphrase" "activitySummary"
      • profileField任意enum(9)"displayName" "title" "orgName" "schoolName" "gradYear" "organizations" "faculty" "standing" "grade"
      • memberSelection任意object
        • kind"active_student"
        • min1
        • max3
      • condition任意object
        • questionIdstring/^q_[a-z0-9]{4,24}$/
        • optionIdstring/^o_[a-z0-9]{1,24}$/
    • phase"open" | "upcoming" | "closed"
    • fieldsobject
      • fieldsobject
        • headlineobject
          • enabledboolean
          • requiredboolean
          • labelstring長さ 1–120
          • placeholderstring長さ ≤200
        • messageobject
          • enabledboolean
          • requiredboolean
          • labelstring長さ 1–120
          • placeholderstring長さ ≤200
        • linksobject
          • enabledboolean
          • requiredboolean
          • labelstring長さ 1–120
          • placeholderstring長さ ≤200
        • portfolioobject
          • enabledboolean
          • requiredboolean
          • labelstring長さ 1–120
          • placeholderstring長さ ≤200
      • headlineobject | null
        • labelstring
        • placeholderstring
        • maxinteger
      • messageobject
        • labelstring
        • placeholderstring
        • maxinteger
      • linksboolean
      • portfolioboolean
      • profileGateboolean
      • orderedboolean
      • stageboolean
  • fieldsobject
    • fieldsobject
      • headlineobject
        • enabledboolean
        • requiredboolean
        • labelstring長さ 1–120
        • placeholderstring長さ ≤200
      • messageobject
        • enabledboolean
        • requiredboolean
        • labelstring長さ 1–120
        • placeholderstring長さ ≤200
      • linksobject
        • enabledboolean
        • requiredboolean
        • labelstring長さ 1–120
        • placeholderstring長さ ≤200
      • portfolioobject
        • enabledboolean
        • requiredboolean
        • labelstring長さ 1–120
        • placeholderstring長さ ≤200
    • headlineobject | null
      • labelstring
      • placeholderstring
      • maxinteger
    • messageobject
      • labelstring
      • placeholderstring
      • maxinteger
    • linksboolean
    • portfolioboolean
    • profileGateboolean
    • orderedboolean
    • stageboolean
  • eventobject
    • idstring(uuid)
    • titlestring
    • slugstring

失敗したとき(エラー)

失敗したときの状態コードと、その意味。本文の error の値で、プログラムが失敗の種類を見分けられる。

  • 400入力の誤り(error = invalid_input など)
  • 404HTTP 404(x-bounty-error-codes を参照)
  • 409HTTP 409(x-bounty-error-codes を参照)
  • call_not_found
  • event_partner_call_ambiguous

呼び出しの見本

そのまま試せる呼び出しの例。curl と fetch をタブで切り替える。ID やトークンは自分の値に置き換える。

curl "https://bounty.spikes.4s.link/api/v1/boshu/{id}/partner/context"
GET /api/v1/boshu/{id}/partner/context | Bounty Developer