swagger: '2.0' info: contact: x-twitter: languagetoolorg description: 'Check texts for style and grammar issues with LanguageTool. Please consider the following default limitations: Need more generous limits? Just contact us.' title: LanguageTool Check Words API version: 1.1.2 x-apisguru-categories: - text x-logo: url: https://api.apis.guru/v2/cache/logo/https_twitter.com_languagetoolorg_profile_image.jpeg x-origin: - format: swagger url: https://languagetool.org/http-api/languagetool-swagger.json version: '2.0' x-providerName: languagetool.org host: api.languagetoolplus.com basePath: /v2 schemes: - https produces: - application/json tags: - name: Words paths: /words: get: description: List words in the user's personal dictionaries. parameters: - description: Offset of where to start in the list of words. Defaults to 0. in: query name: offset type: integer - description: Maximum number of words to return. Defaults to 10. in: query name: limit type: integer - description: Your username as used to log in at languagetool.org. in: query name: username required: true type: string - description: Your API key format: password in: query name: apiKey required: true type: string - description: Comma-separated list of dictionaries to include words from; uses special default dictionary if this is unset in: query name: dicts type: string responses: '200': description: the user's words from the given user dictionaries schema: properties: words: description: array of words items: type: string type: array summary: List words in dictionaries tags: - Words /words/add: post: description: Add a word to one of the user's personal dictionaries. Please note that this feature is considered to be used for personal dictionaries which must not contain more than 500 words. If this is an issue for you, please contact us. parameters: - description: The word to be added. Must not be a phrase, i.e. cannot contain white space. The word is added to a global dictionary that applies to all languages. in: formData name: word required: true type: string - description: Your username as used to log in at languagetool.org. in: formData name: username required: true type: string - description: Your API key format: password in: formData name: apiKey required: true type: string - description: Name of the dictionary to add the word to; non-existent dictionaries are created after calling this; if unset, adds to special default dictionary in: formData name: dict type: string responses: '200': description: the result of adding the word schema: properties: added: description: true if the word has been added. false means the word hasn't been added because it had been added before. type: boolean summary: Add word to a dictionary tags: - Words /words/delete: post: description: Remove a word from one of the user's personal dictionaries. parameters: - description: The word to be removed. in: formData name: word required: true type: string - description: Your username as used to log in at languagetool.org. in: formData name: username required: true type: string - description: Your API key format: password in: formData name: apiKey required: true type: string - description: Name of the dictionary to remove the word from; if the dictionary is empty upon calling this, it is deleted; if unset, removes from special default dictionary in: formData name: dict type: string responses: '200': description: the result of removing the word schema: properties: deleted: description: true if the word has been removed. false means the word hasn't been removed because it was not in the dictionary. type: boolean summary: Remove word from a dictionary tags: - Words