StartTranslation interface
메서드
| get(Document |
제출된 일괄 처리 요청 목록과 각 요청의 상태를 반환합니다. 이 목록에는 사용자가 제출한 일괄 처리 요청만 포함됩니다(리소스 기반). 요청 수가 페이징 제한을 초과하면 서버 쪽 페이징이 사용됩니다. 페이지를 매긴 응답은 부분 결과를 나타내며 응답에 연속 토큰을 포함합니다. 연속 토큰이 없으면 추가 페이지를 사용할 수 없습니다. $top, $skip 및 $maxpagesize 쿼리 매개 변수를 사용하여 반환할 결과 수와 컬렉션에 대한 오프셋을 지정할 수 있습니다. $top 사용자가 모든 페이지에서 반환하려는 총 레코드 수를 나타냅니다. $skip 지정된 정렬 방법에 따라 일괄 처리 목록에서 건너뛸 레코드 수를 나타냅니다. 기본적으로 시작 시간을 내림차순으로 정렬합니다. $maxpagesize 페이지에서 반환되는 최대 항목입니다. $top 통해 더 많은 항목을 요청하거나 $top 지정하지 않고 반환할 항목이 더 있는 경우 '@nextLink'에는 다음 페이지에 대한 링크가 포함됩니다. $orderBy 쿼리 매개 변수를 사용하여 반환된 목록(예: "$orderBy=createdDateTimeUtc asc" 또는 "$orderBy=createdDateTimeUtc desc")을 정렬할 수 있습니다. 기본 정렬은 createdDateTimeUtc에 의해 내림차순입니다. 일부 쿼리 매개 변수를 사용하여 반환된 목록을 필터링할 수 있습니다(예: "status=Succeeded,Cancelled")는 성공 및 취소된 작업만 반환합니다. createdDateTimeUtcStart 및 createdDateTimeUtcEnd를 결합하거나 별도로 사용하여 반환된 목록을 필터링할 날짜/시간 범위를 지정할 수 있습니다. 지원되는 필터링 쿼리 매개 변수는 (status, ids, createdDateTimeUtcStart, createdDateTimeUtcEnd)입니다. 서버는 클라이언트에서 지정한 값을 적용합니다. 그러나 클라이언트는 다른 페이지 크기를 포함하거나 연속 토큰을 포함하는 응답을 처리할 준비가 되어 있어야 합니다. $top 및 $skip 모두 포함되면 서버는 먼저 $skip 적용한 다음 컬렉션에 $top. 참고: 서버가 $top 및/또는 $skip 적용할 수 없는 경우 서버는 쿼리 옵션을 무시하는 대신 클라이언트에 오류를 알려야 합니다. 이렇게 하면 클라이언트가 반환된 데이터에 대해 가정할 위험이 줄어듭니다. |
| post(Document |
이 API를 사용하여 문서 번역 서비스에 대량(일괄 처리) 번역 요청을 제출합니다. 각 요청에는 여러 문서가 포함될 수 있으며 각 문서에 대한 원본 및 대상 컨테이너가 포함되어야 합니다. 접두사 및 접미사 필터(제공된 경우)는 폴더를 필터링하는 데 사용됩니다. 접두사는 컨테이너 이름 뒤의 하위 경로에 적용됩니다. 용어집/번역 메모리는 요청에 포함할 수 있으며 문서가 번역될 때 서비스에서 적용됩니다. 번역 중에 용어집이 잘못되었거나 연결할 수 없는 경우 문서 상태에 오류가 표시됩니다. 동일한 이름의 파일이 대상에 이미 있는 경우 덮어씁니다. 각 대상 언어에 대한 targetUrl은 고유해야 합니다. |
메서드 세부 정보
get(DocumentTranslationGetTranslationsStatusParameters)
제출된 일괄 처리 요청 목록과 각 요청의 상태를 반환합니다. 이 목록에는 사용자가 제출한 일괄 처리 요청만 포함됩니다(리소스 기반).
요청 수가 페이징 제한을 초과하면 서버 쪽 페이징이 사용됩니다. 페이지를 매긴 응답은 부분 결과를 나타내며 응답에 연속 토큰을 포함합니다. 연속 토큰이 없으면 추가 페이지를 사용할 수 없습니다.
$top, $skip 및 $maxpagesize 쿼리 매개 변수를 사용하여 반환할 결과 수와 컬렉션에 대한 오프셋을 지정할 수 있습니다.
$top 사용자가 모든 페이지에서 반환하려는 총 레코드 수를 나타냅니다. $skip 지정된 정렬 방법에 따라 일괄 처리 목록에서 건너뛸 레코드 수를 나타냅니다. 기본적으로 시작 시간을 내림차순으로 정렬합니다. $maxpagesize 페이지에서 반환되는 최대 항목입니다. $top 통해 더 많은 항목을 요청하거나 $top 지정하지 않고 반환할 항목이 더 있는 경우 '@nextLink'에는 다음 페이지에 대한 링크가 포함됩니다.
$orderBy 쿼리 매개 변수를 사용하여 반환된 목록(예: "$orderBy=createdDateTimeUtc asc" 또는 "$orderBy=createdDateTimeUtc desc")을 정렬할 수 있습니다. 기본 정렬은 createdDateTimeUtc에 의해 내림차순입니다. 일부 쿼리 매개 변수를 사용하여 반환된 목록을 필터링할 수 있습니다(예: "status=Succeeded,Cancelled")는 성공 및 취소된 작업만 반환합니다. createdDateTimeUtcStart 및 createdDateTimeUtcEnd를 결합하거나 별도로 사용하여 반환된 목록을 필터링할 날짜/시간 범위를 지정할 수 있습니다. 지원되는 필터링 쿼리 매개 변수는 (status, ids, createdDateTimeUtcStart, createdDateTimeUtcEnd)입니다.
서버는 클라이언트에서 지정한 값을 적용합니다. 그러나 클라이언트는 다른 페이지 크기를 포함하거나 연속 토큰을 포함하는 응답을 처리할 준비가 되어 있어야 합니다.
$top 및 $skip 모두 포함되면 서버는 먼저 $skip 적용한 다음 컬렉션에 $top. 참고: 서버가 $top 및/또는 $skip 적용할 수 없는 경우 서버는 쿼리 옵션을 무시하는 대신 클라이언트에 오류를 알려야 합니다. 이렇게 하면 클라이언트가 반환된 데이터에 대해 가정할 위험이 줄어듭니다.
function get(options?: DocumentTranslationGetTranslationsStatusParameters): StreamableMethod<DocumentTranslationGetTranslationsStatus200Response | DocumentTranslationGetTranslationsStatus400Response | DocumentTranslationGetTranslationsStatus401Response | DocumentTranslationGetTranslationsStatus429Response | DocumentTranslationGetTranslationsStatus500Response | DocumentTranslationGetTranslationsStatus503Response>
매개 변수
반환
StreamableMethod<DocumentTranslationGetTranslationsStatus200Response | DocumentTranslationGetTranslationsStatus400Response | DocumentTranslationGetTranslationsStatus401Response | DocumentTranslationGetTranslationsStatus429Response | DocumentTranslationGetTranslationsStatus500Response | DocumentTranslationGetTranslationsStatus503Response>
post(DocumentTranslationStartTranslationParameters)
이 API를 사용하여 문서 번역 서비스에 대량(일괄 처리) 번역 요청을 제출합니다. 각 요청에는 여러 문서가 포함될 수 있으며 각 문서에 대한 원본 및 대상 컨테이너가 포함되어야 합니다.
접두사 및 접미사 필터(제공된 경우)는 폴더를 필터링하는 데 사용됩니다. 접두사는 컨테이너 이름 뒤의 하위 경로에 적용됩니다.
용어집/번역 메모리는 요청에 포함할 수 있으며 문서가 번역될 때 서비스에서 적용됩니다.
번역 중에 용어집이 잘못되었거나 연결할 수 없는 경우 문서 상태에 오류가 표시됩니다. 동일한 이름의 파일이 대상에 이미 있는 경우 덮어씁니다. 각 대상 언어에 대한 targetUrl은 고유해야 합니다.
function post(options: DocumentTranslationStartTranslationParameters): StreamableMethod<DocumentTranslationStartTranslation202Response | DocumentTranslationStartTranslation400Response | DocumentTranslationStartTranslation401Response | DocumentTranslationStartTranslation429Response | DocumentTranslationStartTranslation500Response | DocumentTranslationStartTranslation503Response>
매개 변수
반환
StreamableMethod<DocumentTranslationStartTranslation202Response | DocumentTranslationStartTranslation400Response | DocumentTranslationStartTranslation401Response | DocumentTranslationStartTranslation429Response | DocumentTranslationStartTranslation500Response | DocumentTranslationStartTranslation503Response>