Versions - Get
만든 날짜, 마지막으로 수정한 날짜, 엔드포인트 URL, 의도 및 엔터티 수, 학습 및 게시 상태와 같은 버전 정보를 가져옵니다.
GET {Endpoint}/luis/api/v2.0/apps/{appId}/versions/{versionId}/
URI 매개 변수
Name | In(다음 안에) | 필수 | 형식 | Description |
---|---|---|---|---|
app
|
path | True |
string (uuid) |
애플리케이션 ID입니다. |
Endpoint
|
path | True |
string |
지원되는 Cognitive Services 엔드포인트(프로토콜 및 호스트 이름( 예: https://westus.api.cognitive.microsoft.com). |
version
|
path | True |
string |
버전 ID입니다. |
요청 헤더
Name | 필수 | 형식 | Description |
---|---|---|---|
Ocp-Apim-Subscription-Key | True |
string |
응답
Name | 형식 | Description |
---|---|---|
200 OK |
버전 정보를 포함하는 모델입니다. |
|
Other Status Codes |
오류 응답입니다. |
보안
Ocp-Apim-Subscription-Key
형식:
apiKey
In(다음 안에):
header
예제
Successful Get Application Version info request
샘플 요청
GET {Endpoint}/luis/api/v2.0/apps/363187f1-c573-46b3-bc4c-ae01d686e68e/versions/0.1/
샘플 응답
{
"version": "0.1",
"createdDateTime": "2017-08-01T14:34:15Z",
"lastModifiedDateTime": "2017-11-28T20:12:09Z",
"lastTrainedDateTime": "2017-11-28T20:12:12Z",
"lastPublishedDateTime": "2017-11-28T20:12:35Z",
"endpointUrl": "https://westus.api.cognitive.microsoft.com/luis/v2.0/apps/363187f1-c573-46b3-bc4c-ae01d686e68e",
"assignedEndpointKey": {
"SubscriptionKey": "",
"SubscriptionRegion": "westus",
"SubscriptionName": ""
},
"externalApiKeys": {},
"intentsCount": 4,
"entitiesCount": 0,
"endpointHitsCount": 175,
"trainingStatus": "Trained"
}
정의
Name | Description |
---|---|
Error |
API에서 작업을 호출할 때 오류 응답입니다. |
Training |
학습 상태입니다. |
Version |
애플리케이션 버전의 개체 모델입니다. |
ErrorResponse
API에서 작업을 호출할 때 오류 응답입니다.
Name | 형식 | Description |
---|---|---|
errorType |
string |
TrainingStatus
학습 상태입니다.
값 | Description |
---|---|
Queued | |
InProgress | |
UpToDate | |
Fail | |
Success |
VersionInfo
애플리케이션 버전의 개체 모델입니다.
Name | 형식 | Description |
---|---|---|
assignedEndpointKey |
object |
엔드포인트 키입니다. |
createdDateTime |
string (date-time) |
버전 만들기 타임스탬프입니다. |
endpointHitsCount |
integer |
이 엔드포인트에 대한 호출 수입니다. |
endpointUrl |
string |
이 모델 버전의 런타임 엔드포인트 URL입니다. |
entitiesCount |
integer |
이 모델의 엔터티 수입니다. |
externalApiKeys |
object |
외부 키. |
intentsCount |
integer |
이 모델의 의도 수입니다. |
lastModifiedDateTime |
string (date-time) |
마지막 업데이트의 타임스탬프입니다. |
lastPublishedDateTime |
string (date-time) |
마지막으로 게시된 타임스탬프입니다. |
lastTrainedDateTime |
string (date-time) |
모델을 마지막으로 학습한 시간 타임스탬프입니다. |
trainingStatus |
현재 학습 상태입니다. |
|
version |
string |
버전 ID입니다. 예: "0.1" |