本文へ移動
Bounty Developer

GET/api/boshu/calls/{id}/form

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

要約

公開募集のLPフォーム情報(質問・入力仕様・正規応募URL)。常時匿名。公開metadata GET/OPTIONSのみAllow-Origin:*、資格付きCORSなし。応募/プロフィール/回答なし。iframeは許可LP上で公開閲覧、本人popup認証後に専用認可で同じiframe内入力/応募

呼び方と印

認証なし

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

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

  • idpath必須string(uuid)

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

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

  • callobject
    • idstring
    • thumbnailUrl任意string
    • hasKeyVisual任意boolean
    • applicantKind任意"individual" | "guild" | "venture"
    • groupSubmissionPolicy任意"managers" | "confirmed_members"
    • template任意string | null
    • profilePolicy任意"kind" | "basic" | "required"
    • portfolioRequired任意boolean
    • mode任意"review" | "first_come"
    • applicationFields任意object | 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
    • messagePolicy任意"legacy" | "required" | "optional" | "off"
    • audience"all" | "student" | "professional"
    • kind"staff" | "talk" | "pitch" | "other"
    • kindLabelstring
    • titlestring
    • descriptionstring | null
    • requirementsstring | null
    • capacityinteger | null
    • remaininginteger | null
    • remainingLabelstring
    • talkMinutesinteger | null
    • opensAtstring
    • closesAtstring
    • phase"hidden" | "upcoming" | "open" | "closed"
    • closingSoonboolean
    • countdownstring
    • paidboolean
    • compensationstring | null
    • ribbonLabelstring | null
    • sessionobject | null
      • idstring
      • titlestring
      • startsAtstring
      • durationMininteger
      • dayLabelstring
      • rangestring
      • roomNamestring | null
    • questionCountinteger
    • ownerobject
      • kindenum(5)"platform" "event" "guild" "venture" "person"
      • idstring | null
      • namestring
      • hrefstring | null
    • questionsarray<object>
      • maxLength任意integer
      • section任意string
      • 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
        • optionIdstring
      • idstring
      • typeenum(9)"short" "long" "single" "multi" "check" "url" "date" "image" "document"
      • labelstring
      • helpstring | null
      • requiredboolean
      • enabled任意boolean
      • optionsarray<object>
        • idstring
        • labelstring
      • sensitiveboolean
    • questionSetIdstring
  • fieldsobject
    • fields任意object
      • 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
  • urlsobject
    • applicationstring
    • embedstring
    • metadatastring
    • submitstring
  • embeddingobject
    • enabledboolean
    • originsarray<string>
  • authentication"bounty_top_level"
  • signupPolicy任意"required" | "optional"
  • guestApplications任意boolean

失敗したとき(エラー)

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

  • 400入力の誤り(error = invalid_input など)
  • call_not_found

呼び出しの見本

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

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