Endpoints - List

인증된 구독에 대한 엔드포인트 목록을 가져옵니다.

GET {endpoint}/speechtotext/v3.2-preview.2/endpoints
GET {endpoint}/speechtotext/v3.2-preview.2/endpoints?skip={skip}&top={top}&filter={filter}

URI 매개 변수

Name In(다음 안에) 필수 형식 Description
endpoint
path True

string

지원되는 Cognitive Services 엔드포인트(프로토콜 및 호스트 이름( 예: https://westus.api.cognitive.microsoft.com).

filter
query

string

사용 가능한 엔드포인트의 하위 집합을 선택하기 위한 필터링 식입니다.

        - Supported properties: displayName, description, createdDateTime, lastActionDateTime, status, locale.

        - Operators:

          - eq, ne are supported for all properties.

          - gt, ge, lt, le are supported for createdDateTime and lastActionDateTime.

          - and, or, not are supported.

        - Example:

          filter=locale eq 'en-US'
skip
query

integer

int32

건너뛸 데이터 세트의 수입니다.

top
query

integer

int32

건너뛴 후 포함할 데이터 세트 수입니다.

응답

Name 형식 Description
200 OK

PaginatedEndpoints

정상

Headers

Retry-After: integer

Other Status Codes

Error

오류가 발생했습니다.

보안

Ocp-Apim-Subscription-Key

여기에서 Cognitive Services 계정 키를 제공합니다.

Type: apiKey
In: header

Authorization

이 지역의 STS에서 반환된 JWT에서 액세스 토큰을 제공합니다. STS URL에 다음 쿼리 문자열을 추가하여 관리 scope 토큰에 추가해야 합니다. ?scope=speechservicesmanagement

Type: apiKey
In: header

예제

Get all endpoints
Get all queued endpoints.

Get all endpoints

Sample Request

GET {endpoint}/speechtotext/v3.2-preview.2/endpoints?skip=0&top=2&filter=createdDateTime%20ge%202018-01-24T09:54:39Z

Sample Response

{
  "values": [
    {
      "self": "https://westus.api.cognitive.microsoft.com/speechtotext/v3.2-preview.2/endpoints/afa0669c-a01e-4693-ae3a-93baf40f26d6",
      "model": {
        "self": "https://westus.api.cognitive.microsoft.com/speechtotext/v3.2-preview.2/models/827712a5-f942-4997-91c3-7c6cde35600b"
      },
      "links": {
        "logs": "https://westus.api.cognitive.microsoft.com/speechtotext/v3.2-preview.2/endpoints/afa0669c-a01e-4693-ae3a-93baf40f26d6/files/logs",
        "restInteractive": "https://westus.stt.speech.microsoft.com/speech/recognition/interactive/cognitiveservices/v1?cid=afa0669c-a01e-4693-ae3a-93baf40f26d6",
        "restConversation": "https://westus.stt.speech.microsoft.com/speech/recognition/conversation/cognitiveservices/v1?cid=afa0669c-a01e-4693-ae3a-93baf40f26d6",
        "restDictation": "https://westus.stt.speech.microsoft.com/speech/recognition/dictation/cognitiveservices/v1?cid=afa0669c-a01e-4693-ae3a-93baf40f26d6",
        "webSocketInteractive": "wss://westus.stt.speech.microsoft.com/speech/recognition/interactive/cognitiveservices/v1?cid=afa0669c-a01e-4693-ae3a-93baf40f26d6",
        "webSocketConversation": "wss://westus.stt.speech.microsoft.com/speech/recognition/conversation/cognitiveservices/v1?cid=afa0669c-a01e-4693-ae3a-93baf40f26d6",
        "webSocketDictation": "wss://westus.stt.speech.microsoft.com/speech/recognition/dictation/cognitiveservices/v1?cid=afa0669c-a01e-4693-ae3a-93baf40f26d6"
      },
      "properties": {
        "timeToLive": "PT30M",
        "loggingEnabled": true
      },
      "lastActionDateTime": "2019-01-07T11:36:07Z",
      "status": "Succeeded",
      "createdDateTime": "2019-01-07T11:34:12Z",
      "locale": "en-US",
      "displayName": "Speech endpoint",
      "description": "Example for speech endpoint"
    },
    {
      "self": "https://westus.api.cognitive.microsoft.com/speechtotext/v3.2-preview.2/endpoints/afa0669c-a01e-4693-ae3a-93baf40f26d6",
      "model": {
        "self": "https://westus.api.cognitive.microsoft.com/speechtotext/v3.2-preview.2/datasets/cdc91c24-3972-496d-a12f-209c35f4cc6c"
      },
      "links": {
        "logs": "https://westus.api.cognitive.microsoft.com/speechtotext/v3.2-preview.2/endpoints/afa0669c-a01e-4693-ae3a-93baf40f26d6/files/logs",
        "restInteractive": "https://westus.stt.speech.microsoft.com/speech/recognition/interactive/cognitiveservices/v1?cid=afa0669c-a01e-4693-ae3a-93baf40f26d6",
        "restConversation": "https://westus.stt.speech.microsoft.com/speech/recognition/conversation/cognitiveservices/v1?cid=afa0669c-a01e-4693-ae3a-93baf40f26d6",
        "restDictation": "https://westus.stt.speech.microsoft.com/speech/recognition/dictation/cognitiveservices/v1?cid=afa0669c-a01e-4693-ae3a-93baf40f26d6",
        "webSocketInteractive": "wss://westus.stt.speech.microsoft.com/speech/recognition/interactive/cognitiveservices/v1?cid=afa0669c-a01e-4693-ae3a-93baf40f26d6",
        "webSocketConversation": "wss://westus.stt.speech.microsoft.com/speech/recognition/conversation/cognitiveservices/v1?cid=afa0669c-a01e-4693-ae3a-93baf40f26d6",
        "webSocketDictation": "wss://westus.stt.speech.microsoft.com/speech/recognition/dictation/cognitiveservices/v1?cid=afa0669c-a01e-4693-ae3a-93baf40f26d6"
      },
      "properties": {
        "timeToLive": "PT30M",
        "loggingEnabled": false
      },
      "lastActionDateTime": "2019-01-07T11:36:07Z",
      "status": "NotStarted",
      "createdDateTime": "2019-01-07T11:34:12Z",
      "locale": "en-US",
      "displayName": "Speech endpoint",
      "description": "Example for speech endpoint"
    }
  ],
  "@nextLink": "https://westus.api.cognitive.microsoft.com/speechtotext/v3.2-preview.2/endpoints?skip=2&top=2&filter=createdDateTime%20ge%202018-01-24T09:54:39Z"
}

Get all queued endpoints.

Sample Request

GET {endpoint}/speechtotext/v3.2-preview.2/endpoints?skip=0&top=2&filter=status%20eq%20'NotStarted'

Sample Response

{
  "values": [
    {
      "self": "https://westus.api.cognitive.microsoft.com/speechtotext/v3.2-preview.2/endpoints/afa0669c-a01e-4693-ae3a-93baf40f26d6",
      "model": {
        "self": "https://westus.api.cognitive.microsoft.com/speechtotext/v3.2-preview.2/datasets/cdc91c24-3972-496d-a12f-209c35f4cc6c"
      },
      "links": {
        "logs": "https://westus.api.cognitive.microsoft.com/speechtotext/v3.2-preview.2/endpoints/afa0669c-a01e-4693-ae3a-93baf40f26d6/files/logs",
        "restInteractive": "https://westus.stt.speech.microsoft.com/speech/recognition/interactive/cognitiveservices/v1?cid=afa0669c-a01e-4693-ae3a-93baf40f26d6",
        "restConversation": "https://westus.stt.speech.microsoft.com/speech/recognition/conversation/cognitiveservices/v1?cid=afa0669c-a01e-4693-ae3a-93baf40f26d6",
        "restDictation": "https://westus.stt.speech.microsoft.com/speech/recognition/dictation/cognitiveservices/v1?cid=afa0669c-a01e-4693-ae3a-93baf40f26d6",
        "webSocketInteractive": "wss://westus.stt.speech.microsoft.com/speech/recognition/interactive/cognitiveservices/v1?cid=afa0669c-a01e-4693-ae3a-93baf40f26d6",
        "webSocketConversation": "wss://westus.stt.speech.microsoft.com/speech/recognition/conversation/cognitiveservices/v1?cid=afa0669c-a01e-4693-ae3a-93baf40f26d6",
        "webSocketDictation": "wss://westus.stt.speech.microsoft.com/speech/recognition/dictation/cognitiveservices/v1?cid=afa0669c-a01e-4693-ae3a-93baf40f26d6"
      },
      "properties": {
        "timeToLive": "PT30M",
        "loggingEnabled": false
      },
      "lastActionDateTime": "2019-01-07T11:36:07Z",
      "status": "NotStarted",
      "createdDateTime": "2019-01-07T11:34:12Z",
      "locale": "en-US",
      "displayName": "Speech endpoint",
      "description": "Example for speech endpoint"
    }
  ]
}

정의

Name Description
DetailedErrorCode

DetailedErrorCode

Endpoint

엔드포인트

EndpointLinks

EndpointLinks

EndpointProperties

EndpointProperties

EntityError

EntityError

EntityReference

EntityReference

Error

오류

ErrorCode

오류 코드

InnerError

InnerError

PaginatedEndpoints

PaginatedEndpoints

Status

상태

DetailedErrorCode

DetailedErrorCode

Name 형식 Description
DataImportFailed

string

데이터 가져오기에 실패했습니다.

DeleteNotAllowed

string

삭제가 허용되지 않습니다.

DeployNotAllowed

string

배포가 허용되지 않습니다.

DeployingFailedModel

string

실패한 모델 배포

EmptyRequest

string

빈 요청.

EndpointCannotBeDefault

string

엔드포인트는 기본값일 수 없습니다.

EndpointNotUpdatable

string

엔드포인트를 업다이트할 수 없습니다.

EndpointWithoutLogging

string

로깅이 없는 엔드포인트입니다.

ExceededNumberOfRecordingsUris

string

녹음/녹화 URI 수를 초과했습니다.

FailedDataset

string

실패한 데이터 세트입니다.

Forbidden

string

사용할 수 없습니다.

InUseViolation

string

사용 중 위반.

InaccessibleCustomerStorage

string

액세스할 수 없는 고객 스토리지.

InvalidAdaptationMapping

string

잘못된 적응 매핑입니다.

InvalidBaseModel

string

기본 모델이 잘못되었습니다.

InvalidCallbackUri

string

콜백 URI가 잘못되었습니다.

InvalidCollection

string

컬렉션이 잘못되었습니다.

InvalidDataset

string

데이터 세트가 잘못되었습니다.

InvalidDocument

string

잘못된 문서입니다.

InvalidDocumentBatch

string

잘못된 문서 일괄 처리입니다.

InvalidLocale

string

잘못된 로캘입니다.

InvalidLogDate

string

잘못된 로그 날짜입니다.

InvalidLogEndTime

string

로그 종료 시간이 잘못되었습니다.

InvalidLogId

string

잘못된 로그 ID입니다.

InvalidLogStartTime

string

로그 시작 시간이 잘못되었습니다.

InvalidModel

string

모델이 잘못되었습니다.

InvalidModelUri

string

모델 URI가 잘못되었습니다.

InvalidParameter

string

잘못된 매개 변수입니다.

InvalidParameterValue

string

매개 변수 값이 잘못되었습니다.

InvalidPayload

string

잘못된 페이로드입니다.

InvalidPermissions

string

권한이 잘못되었습니다.

InvalidPrerequisite

string

필수 구성 요소가 잘못되었습니다.

InvalidProductId

string

제품 ID가 잘못되었습니다.

InvalidProject

string

프로젝트가 잘못되었습니다.

InvalidProjectKind

string

프로젝트 종류가 잘못되었습니다.

InvalidRecordingsUri

string

잘못된 녹음/녹화 URI입니다.

InvalidRequestBodyFormat

string

잘못된 요청 본문 형식입니다.

InvalidSasValidityDuration

string

sas 유효 기간이 잘못되었습니다.

InvalidSkipTokenForLogs

string

로그에 대한 건너뛰기 토큰이 잘못되었습니다.

InvalidSourceAzureResourceId

string

원본 Azure 리소스 ID가 잘못되었습니다.

InvalidSubscription

string

구독이 잘못되었습니다.

InvalidTest

string

테스트가 잘못되었습니다.

InvalidTimeToLive

string

유효하지 않은 라이브 시간입니다.

InvalidTopForLogs

string

로그의 위쪽이 잘못되었습니다.

InvalidTranscription

string

전사가 잘못되었습니다.

InvalidWebHookEventKind

string

웹 후크 이벤트 종류가 잘못되었습니다.

MissingInputRecords

string

입력 레코드가 없습니다.

ModelCopyOperationExists

string

모델 복사 작업이 있습니다.

ModelDeploymentNotCompleteState

string

모델 배포가 완료되지 않은 상태입니다.

ModelDeprecated

string

모델은 더 이상 사용되지 않습니다.

ModelExists

string

모델이 있습니다.

ModelMismatch

string

모델 불일치.

ModelNotDeployable

string

모델을 배포할 수 없습니다.

ModelVersionIncorrect

string

모델 버전이 잘못되었습니다.

NoUtf8WithBom

string

bom이 있는 utf8이 없습니다.

OnlyOneOfUrlsOrContainerOrDataset

string

URL 또는 컨테이너 또는 데이터 세트 중 하나만 있습니다.

ProjectGenderMismatch

string

프로젝트 성별 불일치.

QuotaViolation

string

할당량 위반.

SingleDefaultEndpoint

string

단일 기본 엔드포인트입니다.

SkuLimitsExist

string

Sku 제한이 있습니다.

SubscriptionNotFound

string

구독을 찾을 수 없습니다.

UnexpectedError

string

예기치 않은 오류입니다.

UnsupportedClassBasedAdaptation

string

지원되지 않는 클래스 기반 적응.

UnsupportedDelta

string

지원되지 않는 델타입니다.

UnsupportedDynamicConfiguration

string

지원되지 않는 동적 구성입니다.

UnsupportedFilter

string

지원되지 않는 필터입니다.

UnsupportedLanguageCode

string

지원되지 않는 언어 코드입니다.

UnsupportedOrderBy

string

지원되지 않는 순서 기준입니다.

UnsupportedPagination

string

지원되지 않는 페이지 매김.

UnsupportedTimeRange

string

지원되지 않는 시간 범위입니다.

Endpoint

엔드포인트

Name 형식 Description
createdDateTime

string

개체를 만들 때의 타임스탬프를 지정합니다. 타임스탬프는 ISO 8601 날짜 및 시간 형식으로 인코딩됩니다("YYYY-MM-DDThh:mm:ssZ", 참조 https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations).

customProperties

object

이 엔터티의 사용자 지정 속성입니다. 허용되는 최대 키 길이는 64자, 허용되는 최대 값 길이는 256자, 허용되는 항목 수는 10자입니다.

description

string

개체에 대한 설명입니다.

displayName

string

개체의 표시 이름입니다.

lastActionDateTime

string

현재 상태 입력한 타임스탬프를 지정합니다. 타임스탬프는 ISO 8601 날짜 및 시간 형식으로 인코딩됩니다("YYYY-MM-DDThh:mm:ssZ", 참조 https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations).

links

EndpointLinks

EndpointLinks

locale

string

포함된 데이터의 로캘입니다.

model

EntityReference

EntityReference

project

EntityReference

EntityReference

properties

EndpointProperties

EndpointProperties

self

string

이 엔터티의 위치입니다.

status

Status

상태
API의 현재 상태 설명

text

string

이 엔드포인트에 대한 언어 모델을 조정하는 데 사용되는 텍스트입니다.

EndpointLinks

Name 형식 Description
logs

string

이 엔드포인트에 대한 오디오 및 전사 로그입니다. 자세한 내용은 "Endpoints_ListLogs" 작업을 참조하세요.

restConversation

string

최대 60초까지 요청에 대한 REST 엔드포인트입니다.

restDictation

string

문장 부호 받아쓰기를 지원하는 최대 60초의 요청에 대한 REST 엔드포인트입니다.

restInteractive

string

짧은 요청의 REST 엔드포인트는 최대 15초입니다.

webSocketConversation

string

여러 최종 결과가 있는 긴 요청에 대한 Speech SDK 엔드포인트입니다.

webSocketDictation

string

여러 최종 결과가 있는 긴 요청에 대한 Speech SDK 엔드포인트로, 문장 부호 받아쓰기를 지원합니다.

webSocketInteractive

string

단일 최종 결과와 함께 최대 15초의 짧은 요청에 대한 Speech SDK 엔드포인트입니다.

EndpointProperties

EndpointProperties

Name 형식 Description
email

string

작업이 완료된 경우 메일 알림 보낼 이메일 주소입니다. 전자 메일을 성공적으로 보낸 후 값이 제거됩니다.

error

EntityError

EntityError

loggingEnabled

boolean

콘텐츠 로깅(오디오 & 전사)이 배포에 사용되는지 여부를 나타내는 값입니다.

timeToLive

string

엔드포인트가 시스템에 유지되는 기간입니다. 엔드포인트가 완료 후(성공 또는 실패) 라이브 시간에 도달하면 자동으로 삭제됩니다. 이 값을 설정하지 않거나 0으로 설정하면 자동 삭제가 비활성화됩니다. 지원되는 가장 긴 기간은 31일입니다. 기간은 ISO 8601 기간으로 인코딩됩니다("PnYnMnDTnHnMnS", 참조 https://en.wikipedia.org/wiki/ISO_8601#Durations).

EntityError

EntityError

Name 형식 Description
code

string

이 오류의 코드입니다.

message

string

이 오류에 대한 메시지입니다.

EntityReference

EntityReference

Name 형식 Description
self

string

참조된 엔터티의 위치입니다.

Error

오류

Name 형식 Description
code

ErrorCode

오류 코드
높은 수준의 오류 코드입니다.

details

Error[]

오류 및/또는 예상 정책에 대한 추가 지원 세부 정보입니다.

innerError

InnerError

InnerError
에서 https://microsoft.sharepoint.com/%3Aw%3A/t/CognitiveServicesPMO/EUoytcrjuJdKpeOKIK_QRC8BPtUYQpKBi8JsWyeDMRsWlQ?e=CPq8ow사용할 수 있는 Cognitive Services API 지침을 준수하는 새로운 내부 오류 형식입니다. 여기에는 필수 속성 ErrorCode, 메시지 및 선택적 속성 대상, 세부 정보(키 값 쌍), 내부 오류(중첩될 수 있음)가 포함됩니다.

message

string

높은 수준의 오류 메시지입니다.

target

string

오류의 출처입니다. 예를 들어 잘못된 문서의 경우 "documents" 또는 "document id"가 됩니다.

ErrorCode

오류 코드

Name 형식 Description
Conflict

string

충돌 오류 코드를 나타냅니다.

Forbidden

string

사용할 수 없는 오류 코드를 나타냅니다.

InternalCommunicationFailed

string

내부 통신 실패 오류 코드를 나타냅니다.

InternalServerError

string

내부 서버 오류 코드를 나타냅니다.

InvalidArgument

string

잘못된 인수 오류 코드를 나타냅니다.

InvalidRequest

string

잘못된 요청 오류 코드를 나타냅니다.

NotAllowed

string

허용되지 않는 오류 코드를 나타냅니다.

NotFound

string

찾을 수 없는 오류 코드를 나타냅니다.

PipelineError

string

파이프라인 오류 오류 코드를 나타냅니다.

ServiceUnavailable

string

서비스를 사용할 수 없음 오류 코드를 나타냅니다.

TooManyRequests

string

너무 많은 요청 오류 코드를 나타냅니다.

Unauthorized

string

권한 없는 오류 코드를 나타냅니다.

UnprocessableEntity

string

처리할 수 없는 엔터티 오류 코드를 나타냅니다.

UnsupportedMediaType

string

지원되지 않는 미디어 형식 오류 코드를 나타냅니다.

InnerError

InnerError

Name 형식 Description
code

DetailedErrorCode

DetailedErrorCode
자세한 오류 코드 열거형입니다.

details

object

오류 및/또는 예상 정책에 대한 추가 지원 세부 정보입니다.

innerError

InnerError

InnerError
에서 https://microsoft.sharepoint.com/%3Aw%3A/t/CognitiveServicesPMO/EUoytcrjuJdKpeOKIK_QRC8BPtUYQpKBi8JsWyeDMRsWlQ?e=CPq8ow사용할 수 있는 Cognitive Services API 지침을 준수하는 새로운 내부 오류 형식입니다. 여기에는 필수 속성 ErrorCode, 메시지 및 선택적 속성 대상, 세부 정보(키 값 쌍), 내부 오류(중첩될 수 있음)가 포함됩니다.

message

string

높은 수준의 오류 메시지입니다.

target

string

오류의 출처입니다. 예를 들어 잘못된 문서의 경우 "documents" 또는 "document id"가 됩니다.

PaginatedEndpoints

PaginatedEndpoints

Name 형식 Description
@nextLink

string

사용할 수 있는 엔터티가 더 있는 경우 페이지를 매긴 다음 결과 집합에 대한 링크입니다. 그렇지 않으면 null입니다.

values

Endpoint[]

전달된 쿼리 매개 변수 'skip' 및 'top' 또는 해당 기본값으로 제한되는 엔터티 목록입니다.

페이지 매김을 사용하여 목록을 반복하고 엔터티를 병렬로 삭제하는 경우 결과에서 일부 엔터티를 건너뛰게 됩니다. 클라이언트에서 목록을 빌드하고 전체 목록을 페치한 후 삭제하는 것이 좋습니다.

Status

상태

Name 형식 Description
Failed

string

장기 실행 작업이 실패했습니다.

NotStarted

string

장기 실행 작업이 아직 시작되지 않았습니다.

Running

string

장기 실행 작업이 현재 처리 중입니다.

Succeeded

string

장기 실행 작업이 성공적으로 완료되었습니다.