DeepL (Independent Publisher) (#2060)
* DeepL (Independent Publisher) * Fixes * Change the name of the connector
This commit is contained in:
Родитель
2cfd8b6cb8
Коммит
44e98c7919
|
@ -0,0 +1,36 @@
|
|||
# DeepLIP
|
||||
DeepL Translator is a neural machine translation service.
|
||||
|
||||
## Publisher: Michał Romiszewski
|
||||
|
||||
## Prerequisites
|
||||
You will need a free or paid [DeepL](https://www.deepl.com/pro?cta=header-prices/) account in order to use this connector.
|
||||
|
||||
## Obtaining Credentials
|
||||
Your API key will be shown in your dashboard in the Account section.
|
||||
|
||||
## Supported Operations
|
||||
The connector supports the following operations:
|
||||
|
||||
### Translate text
|
||||
- `Request Translation`: Translates input text, detects the language of text, returning translated text.
|
||||
|
||||
### Translate documents
|
||||
- `Upload and Translate a Document`: Uploads a document and queues it for translation.
|
||||
- `Check Document Status`: Retrieve the current status of a document translation process.
|
||||
- `Download Translated Document`: Once the status of the document translation process is done, the result can be downloaded.
|
||||
|
||||
### Manage glossaries
|
||||
- `List all Glossaries`: List all glossaries and their meta-information, but not the glossary entries.
|
||||
- `List Language Pairs Supported by Glossaries`: Retrieve the list of language pairs supported by the glossary feature.
|
||||
- `Create a Glossary`: Create a Glossary.
|
||||
- `Retrieve Glossary Details`: Retrieve meta information for a single glossary, omitting the glossary entries.
|
||||
- `Retrieve Glossary Entries`: List the entries of a single glossary in the format specified by the Accept header.
|
||||
- `Delete a Glossary`: Deletes the specified glossary.
|
||||
|
||||
### Information
|
||||
- `Retrieve Supported Languages`: Retrieve the list of languages that are currently supported for translation.
|
||||
- `Check Usage and Limits`: Retrieve usage information within the current billing period together with the corresponding account limits.
|
||||
|
||||
## Known Issues and Limitations
|
||||
There are no known issues at this time.
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -0,0 +1,63 @@
|
|||
{
|
||||
"properties": {
|
||||
"connectionParameters": {
|
||||
"api_key": {
|
||||
"type": "securestring",
|
||||
"uiDefinition": {
|
||||
"displayName": "API Key",
|
||||
"description": "The API Key for this api",
|
||||
"tooltip": "Provide your API Key",
|
||||
"constraints": {
|
||||
"tabIndex": 2,
|
||||
"clearText": false,
|
||||
"required": "true"
|
||||
}
|
||||
}
|
||||
},
|
||||
"environment": {
|
||||
"type": "string",
|
||||
"uiDefinition": {
|
||||
"displayName": "Plan",
|
||||
"description": "The API pricing plan to use; either Free or Pro",
|
||||
"tooltip": "Select an API pricing plan to use",
|
||||
"constraints": {
|
||||
"required": "true",
|
||||
"allowedValues": [
|
||||
{
|
||||
"text": "DeepL API Free",
|
||||
"value": "https://api-free.deepl.com/v2"
|
||||
},
|
||||
{
|
||||
"text": "DeepL API Pro",
|
||||
"value": "https://api.deepl.com/v2"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"iconBrandColor": "#da3b01",
|
||||
"capabilities": [],
|
||||
"policyTemplateInstances": [
|
||||
{
|
||||
"templateId": "setheader",
|
||||
"title": "Override Authorization Header",
|
||||
"parameters": {
|
||||
"x-ms-apimTemplateParameter.name": "Authorization",
|
||||
"x-ms-apimTemplateParameter.value": "DeepL-Auth-Key @headers('Authorization')",
|
||||
"x-ms-apimTemplateParameter.existsAction": "override",
|
||||
"x-ms-apimTemplate-policySection": "Request"
|
||||
}
|
||||
},
|
||||
{
|
||||
"templateId": "dynamichosturl",
|
||||
"title": "Host URL",
|
||||
"parameters": {
|
||||
"x-ms-apimTemplateParameter.urlTemplate": "@connectionParameters('environment')"
|
||||
}
|
||||
}
|
||||
],
|
||||
"publisher": "Michal Romiszewski",
|
||||
"stackOwner": "DeepL"
|
||||
}
|
||||
}
|
Загрузка…
Ссылка в новой задаче