プレイリストの地図ピン

GET/playlists/:playlistId/geojson

プレイリスト内の 4S イベントのうち座標を持つものを GeoJSON FeatureCollection で返します。ページングせず、bbox で表示範囲に絞り込みます。フィルタは GET /playlists/:playlistId/items と同じ意味です。

認証不要

パスパラメータ

playlistIdstring必須

プレイリスト ID。

クエリパラメータ

timeFilter / startDate / endDate / isPaid / tags / qstring

各種フィルタ。

bboxstring

地図範囲 minLng,minLat,maxLng,maxLat。

レスポンス

フィールド説明
type'FeatureCollection'RFC 7946 の FeatureCollection。
featuresobject[]geometry は Point / MultiPoint。properties に playlistItemId / kind / eventId / slug / title を持つ。
propertiesobjectplaylistId / playlistName。
リクエスト
curl https://api.4s.link/playlists/PLAYLIST_ID/geojson \
-H "Authorization: Bearer 4s_at_..."
レスポンス例
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"geometry": { "type": "Point", "coordinates": [139.7671, 35.6812] },
"properties": {
"playlistItemId": "it1-...",
"kind": "FOUR_S_EVENT",
"eventId": "e1f2a3b4-...",
"slug": "tech-conf-2026",
"title": "4S Tech Conference 2026",
"sortOrder": 0
}
}
],
"properties": { "playlistId": "pl1-...", "playlistName": "Side Events" }
}