イベントの地図ピン
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 | object[] | geometry は Point / MultiPoint。properties に eventId / slug / title / languages を持つ。 |
リクエスト
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"}}]}