追加申請用の外部 URL プレビュー
POST
/playlists/:playlistId/preview-external追加申請フォーム用に、外部 URL の OG / JSON-LD からタイトル・説明・画像・開催日時を取得します。追加申請を受け付けているプレイリストでのみ利用できます。
| 認証 | 要ログイン |
|---|
パスパラメータ
playlistIdstring必須プレイリスト ID。
リクエストボディ
urlstring必須プレビューする外部 URL(https のみ)。
リクエスト
curl https://api.4s.link/playlists/PLAYLIST_ID/preview-external \-X POST \-H "Authorization: Bearer 4s_at_..." \-H "Content-Type: application/json" \-d '{"url": "https://example.com/events/summer-meetup"}'
レスポンス例
{"canonicalUrl": "https://example.com/events/summer-meetup","title": "Summer Meetup","description": "...","imageUrl": "https://example.com/ogp.png","schedules": []}