追加申請用の外部 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": []
}