イベント
イベントの地図ピン
GET
/events/geojson座標を持つ公開イベントを GeoJSON FeatureCollection で返します。ページングせず、bbox で表示範囲に絞り込みます。フィルタは GET /events と同じ意味です。
| 認証 | 不要 |
|---|
クエリパラメータ
timeFilter'upcoming' | 'past'任意開催時期で絞り込み。
startDate / endDatestring (YYYY-MM-DD)任意開催期間の重なりで絞り込み。
isPaidstring任意有料/無料(true / false、カンマ区切り可)
qstring任意キーワード(title / description / slug、AND)
tagsstring任意タグ(カンマ区切り、OR マッチ)
bboxstring任意地図範囲 minLng,minLat,maxLng,maxLat。
レスポンス
| フィールド | 型 | 説明 |
|---|---|---|
type | 'FeatureCollection' | RFC 7946 の FeatureCollection。 |
features | GeoFeature[] | 地図ピン。複数会場のイベントは MultiPoint になる。 |
リクエスト
curl https://api.4s.link/events/geojson \-H "Authorization: Bearer 4s_at_..."
レスポンス例
{"type": "FeatureCollection","features": [{"type": "Feature","geometry": { "type": "Point", "coordinates": [139.7671, 35.6812] },"properties": {"eventId": "e1f2a3b4-...","slug": "tech-conf-2026","title": "4S Tech Conference 2026"}}]}