単一ファイルの取得
パスで指定されたIDのファイルを返却する
📬 リクエスト
Section titled “📬 リクエスト”GET {resource_api_url}/files/{id}
リクエストヘッダ
Section titled “リクエストヘッダ”| キー | 値 |
|---|---|
| Authorization | Bearer {アクセストークン} |
パスパラメータ
Section titled “パスパラメータ”| パラメータ | 形式 | 必須 | 説明 | 値の例 |
|---|---|---|---|---|
| id | 文字列 | YES | 検索対象のファイルID | file-00000001 |
クエリパラメータ
Section titled “クエリパラメータ”なし
✨ 成功レスポンス
Section titled “✨ 成功レスポンス”ステータスコード
Section titled “ステータスコード”200 : OK
レスポンスヘッダ
Section titled “レスポンスヘッダ”| キー | 値 |
|---|---|
| Content-Type | 返却対象ファイルのコンテンツタイプ |
| Content-Disposition | inline |
レスポンスボディ
Section titled “レスポンスボディ”対象ファイルのバイナリ
💬 具体的な要求事項
Section titled “💬 具体的な要求事項”- 検索対象のファイルIDが存在しない場合は、「
404: Not Found」エラーを返却してください
📚 参考資料
Section titled “📚 参考資料”なし