Chat Thread - Get Chat Image

ビューの種類別に画像を取得します。

GET {endpoint}/chat/threads/{chatThreadId}/images/{imageId}/view/{imageViewType}?api-version=2024-03-15-preview

URI パラメーター

名前 / 必須 説明
chatThreadId
path True

string

メッセージが送信されたスレッド ID。

endpoint
path True

string

Azure Communication リソースのエンドポイント。

imageId
path True

string

イメージ ID。

imageViewType
path True

ImageViewType

イメージのビューの種類。

api-version
query True

string

呼び出す API のバージョン。

要求ヘッダー

名前 必須 説明
Authorization True

string

ACS (Azure Communication Services) ユーザー アクセス トークン。

応答

名前 説明
200 OK

string

画像バイナリ データ

Media Types: "application/json", "image/gif", "image/jpeg", "image/png", "image/bmp", "image/tiff"

Other Status Codes

ErrorResponse

操作に失敗した理由を説明するエラー応答。

Media Types: "application/json", "image/gif", "image/jpeg", "image/png", "image/bmp", "image/tiff"

セキュリティ

Authorization

ACS (Azure Communication Services) ユーザー アクセス トークン。

型: apiKey
/: header

Delete message

要求のサンプル

GET https://contoso.westus.communications.azure.com/chat/threads/19:34adfa4f-cedf-4dc0-ba29-b6d1a69ab345@thread.v2/images/0-eus-d2-fb42e272282ebb6ef76a3aedd1974433/view/original?api-version=2024-03-15-preview

応答のサンプル

Content-Type: image/png
"{binary}"

定義

名前 説明
Error

エラー応答情報。

ErrorDetail

エラーの詳細情報。

ErrorResponse

ARM ガイドラインに従うエラー応答のラッパー。

ImageViewType

イメージのビューの種類。

Error

エラー応答情報。

名前 説明
code

string

エラー コード。

details

ErrorDetail[]

エラー詳細オブジェクトの配列

message

string

エラー メッセージ。

ErrorDetail

エラーの詳細情報。

名前 説明
code

string

エラー コード。

message

string

エラー メッセージ。

ErrorResponse

ARM ガイドラインに従うエラー応答のラッパー。

名前 説明
error

Error

エラー応答。

ImageViewType

イメージのビューの種類。

名前 説明
original

string

small

string