|
1 | 1 | openapi: 3.0.1
|
2 | 2 | info:
|
3 |
| - contact: |
4 |
| - email: support@lilt.com |
5 |
| - name: Lilt REST API Support |
6 |
| - url: https://developers.lilt.com/ |
7 |
| - description: | |
8 |
| - The Lilt REST API enables programmatic access to the full-range of Lilt backend services including: |
9 |
| - * Training of and translating with interactive, adaptive machine translation |
10 |
| - * Large-scale translation memory |
11 |
| - * The Lexicon (a large-scale termbase) |
12 |
| - * Programmatic control of the Lilt CAT environment |
13 |
| - * Translation memory synchronization |
14 |
| -
|
15 |
| - Requests and responses are in JSON format. The REST API only responds to HTTPS / SSL requests. |
16 |
| -
|
17 |
| - ## Authentication |
18 |
| -
|
19 |
| - Requests are authenticated via REST API key, which requires the Business plan. |
20 |
| -
|
21 |
| - Requests are authenticated using [HTTP Basic Auth](https://en.wikipedia.org/wiki/Basic_access_authentication). Add your REST API key as both the `username` and `password`. |
22 |
| -
|
23 |
| - For development, you may also pass the REST API key via the `key` query parameter. This is less secure than HTTP Basic Auth, and is not recommended for production use. |
24 |
| -
|
25 |
| - ## Quotas |
26 |
| -
|
27 |
| - Our services have a general quota of 4000 requests per minute. Should you hit the maximum requests per minute, you will need to wait 60 seconds before you can send another request. |
| 3 | + description: "Lilt REST API Support: https://lilt.atlassian.net/servicedesk/customer/portals\ |
| 4 | + \ \nThe Lilt REST API enables programmatic access to the full-range of Lilt\ |
| 5 | + \ backend services including:\n * Training of and translating with interactive,\ |
| 6 | + \ adaptive machine translation\n * Large-scale translation memory\n * The Lexicon\ |
| 7 | + \ (a large-scale termbase)\n * Programmatic control of the Lilt CAT environment\n\ |
| 8 | + \ * Translation memory synchronization\n\nRequests and responses are in JSON\ |
| 9 | + \ format. The REST API only responds to HTTPS / SSL requests. \nThe base url for\ |
| 10 | + \ this REST API is `https://api.lilt.com/`.\n\n## Authentication\n\nRequests are\ |
| 11 | + \ authenticated via REST API key, which requires the Business plan.\n\nRequests\ |
| 12 | + \ are authenticated using [HTTP Basic Auth](https://en.wikipedia.org/wiki/Basic_access_authentication).\ |
| 13 | + \ Add your REST API key as both the `username` and `password`.\n\nFor development,\ |
| 14 | + \ you may also pass the REST API key via the `key` query parameter. This is less\ |
| 15 | + \ secure than HTTP Basic Auth, and is not recommended for production use.\n\n\ |
| 16 | + ## Quotas\n\nOur services have a general quota of 4000 requests per minute. Should\ |
| 17 | + \ you hit the maximum requests per minute, you will need to wait 60 seconds before\ |
| 18 | + \ you can send another request.\n" |
28 | 19 | title: Lilt REST API
|
29 | 20 | version: v3.0
|
30 | 21 | servers:
|
31 |
| -- url: https://api.lilt.com/ |
| 22 | +- url: https://api.lilt.com |
32 | 23 | security:
|
33 | 24 | - ApiKeyAuth: []
|
34 | 25 | - BasicAuth: []
|
@@ -2789,35 +2780,31 @@ components:
|
2789 | 2780 | description: |
|
2790 | 2781 | Content Parameters for LiltCreate.
|
2791 | 2782 | example:
|
2792 |
| - summary: summary |
2793 |
| - tone: tone |
2794 |
| - terms: terms |
| 2783 | + template: template |
| 2784 | + preferences: |
| 2785 | + styleguide: styleguide |
| 2786 | + tone: tone |
| 2787 | + templateParams: |
| 2788 | + summary: summary |
| 2789 | + contentLength: 0 |
| 2790 | + language: language |
| 2791 | + sections: sections |
2795 | 2792 | language: language
|
2796 |
| - memoryId: memoryId |
2797 |
| - sections: |
2798 |
| - - sections |
2799 |
| - - sections |
2800 | 2793 | properties:
|
2801 |
| - tone: |
2802 |
| - description: The tone of the content. |
2803 |
| - type: string |
2804 |
| - terms: |
2805 |
| - description: The terms of the content. |
2806 |
| - type: string |
2807 |
| - summary: |
2808 |
| - description: The summary of the content. |
2809 |
| - type: string |
2810 | 2794 | language:
|
2811 | 2795 | description: The language of the content.
|
2812 | 2796 | type: string
|
2813 |
| - memoryId: |
2814 |
| - description: The memory ID of the content. |
| 2797 | + template: |
| 2798 | + description: The template of the content. |
2815 | 2799 | type: string
|
2816 |
| - sections: |
2817 |
| - description: The sections of the content. |
2818 |
| - items: |
2819 |
| - type: string |
2820 |
| - type: array |
| 2800 | + templateParams: |
| 2801 | + $ref: '#/components/schemas/LiltCreateContent_templateParams' |
| 2802 | + preferences: |
| 2803 | + $ref: '#/components/schemas/LiltCreateContent_preferences' |
| 2804 | + required: |
| 2805 | + - language |
| 2806 | + - template |
| 2807 | + - templateParams |
2821 | 2808 | type: object
|
2822 | 2809 | JobProject:
|
2823 | 2810 | description: |
|
@@ -4266,6 +4253,42 @@ components:
|
4266 | 4253 | type: string
|
4267 | 4254 | title: AddFileLabelRequest
|
4268 | 4255 | type: object
|
| 4256 | + LiltCreateContent_templateParams: |
| 4257 | + description: The template parameters of the content. |
| 4258 | + example: |
| 4259 | + summary: summary |
| 4260 | + contentLength: 0 |
| 4261 | + language: language |
| 4262 | + sections: sections |
| 4263 | + properties: |
| 4264 | + contentLength: |
| 4265 | + description: The length of the content. |
| 4266 | + type: integer |
| 4267 | + language: |
| 4268 | + description: The language of the content. |
| 4269 | + type: string |
| 4270 | + sections: |
| 4271 | + description: The section of the content. |
| 4272 | + type: string |
| 4273 | + summary: |
| 4274 | + description: The summary of the content. |
| 4275 | + type: string |
| 4276 | + required: |
| 4277 | + - language |
| 4278 | + type: object |
| 4279 | + LiltCreateContent_preferences: |
| 4280 | + description: The preferences of the content. |
| 4281 | + example: |
| 4282 | + styleguide: styleguide |
| 4283 | + tone: tone |
| 4284 | + properties: |
| 4285 | + tone: |
| 4286 | + description: The tone of the content. |
| 4287 | + type: string |
| 4288 | + styleguide: |
| 4289 | + description: The styleguide of the content. |
| 4290 | + type: string |
| 4291 | + type: object |
4269 | 4292 | DocumentWithoutSegments_status:
|
4270 | 4293 | description: A list of translations for the query term.
|
4271 | 4294 | example:
|
|
0 commit comments