楽曲の検索
GET/api/v1/songs/search
検索文字列に一致する楽曲を検索する。
レスポンス形式はパスの拡張子で選択する: 末尾に .json (既定) か .xml を付ける (例: /api/v1/song.json、/api/v1/song.xml)。拡張子省略時は JSON。
リクエスト
レスポンス
- 200
- 400
- 404
- 502
- 504
OK
Bad Request — 必須パラメータ (url または q) が欠如。body は {}。
Not Found — 検索結果が 0 件 (実装が新設。現行ドキュメントには非記載)。body は {}。
Bad Gateway — 上流 songle.jp が 5xx を返した (意図的乖離: 現行の 404 を修正)。body は {}。
Gateway Timeout — 上流 songle.jp がタイムアウトした (意図的乖離)。body は {}。