다음을 통해 공유


Chat Thread - Get Chat Image

보기 유형별로 이미지를 가져옵니다.

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

URI 매개 변수

Name In(다음 안에) 필수 형식 Description
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의 버전입니다.

요청 헤더

Name 필수 형식 Description
Authorization True

string

ACS(Azure Communication Services) 사용자 액세스 토큰입니다.

응답

Name 형식 Description
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) 사용자 액세스 토큰입니다.

Type: apiKey
In: header

예제

Delete message

Sample Request

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

Sample Response

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

정의

Name Description
Error

오류 응답 정보입니다.

ErrorDetail

오류 세부 정보입니다.

ErrorResponse

ARM 지침을 따르기 위한 오류 응답에 대한 래퍼입니다.

ImageViewType

이미지의 보기 유형입니다.

Error

오류 응답 정보입니다.

Name 형식 Description
code

string

오류 코드

details

ErrorDetail[]

오류 세부 정보 개체의 배열

message

string

오류 메시지입니다.

ErrorDetail

오류 세부 정보입니다.

Name 형식 Description
code

string

오류 코드

message

string

오류 메시지입니다.

ErrorResponse

ARM 지침을 따르기 위한 오류 응답에 대한 래퍼입니다.

Name 형식 Description
error

Error

오류 응답입니다.

ImageViewType

이미지의 보기 유형입니다.

Name 형식 Description
original

string

small

string