{ "opencollection": "1.0.0", "info": { "name": "Microsoft Azure AccessControlClient AccessConnector Document:translate API", "version": "2020-08-01-preview" }, "items": [ { "info": { "name": "Document:translate", "type": "folder" }, "items": [ { "info": { "name": "Microsoft Azure Post Document:translate", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/document:translate", "headers": [ { "name": "x-ms-client-request-id", "value": "" } ], "params": [ { "name": "api-version", "value": "", "type": "query", "description": "The API version to use for this operation." }, { "name": "sourceLanguage", "value": "", "type": "query", "description": "Specifies source language of the input document.\nIf this parameter isn't specified, automatic language detection is applied to determine the source language.\nFor example if the source document is written in English, then use sourceLanguage=en" }, { "name": "targetLanguage", "value": "", "type": "query", "description": "Specifies the language of the output document.\nThe target language must be one of the supported languages included in the translation scope.\nFor example if you want to translate the document in German language, then use targetLanguage=de" }, { "name": "category", "value": "", "type": "query", "description": "A string specifying the category (domain) of the translation. This parameter is used to get translations \n from a customized system built with Custom Translator. Add the Category ID from your Custom Translator \n project details to this parameter to use your deployed customized system. Default value is: general." }, { "name": "allowFallback", "value": "", "type": "query", "description": "Specifies that the service is allowed to fall back to a general system when a custom system doesn't exist. \n Possible values are: true (default) or false." } ] }, "docs": "API to translate a document." } ] } ], "bundled": true }