{"resourcePath":"/wordList","apis":[{"path":"/wordList.{format}/{permalink}","description":"","operations":[{"parameters":[{"name":"permalink","description":"permalink of WordList to update","required":true,"dataType":"string","allowMultiple":false,"paramType":"path"},{"description":"Updated WordList","required":false,"dataType":"wordList","allowMultiple":false,"paramType":"body"},{"name":"auth_token","description":"The auth token of the logged-in user, obtained by calling /account.{format}/authenticate/{username} (described above)","required":true,"dataType":"string","allowMultiple":false,"paramType":"header"}],"summary":"Updates an existing WordList","httpMethod":"PUT","errorResponses":[{"reason":"Invalid ID supplied","code":400},{"reason":"Not Authorized to update WordList","code":403},{"reason":"WordList not found","code":404}],"nickname":"updateWordList","responseClass":"ok"},{"parameters":[{"name":"permalink","description":"ID of WordList to delete","required":true,"dataType":"string","allowMultiple":false,"paramType":"path"},{"name":"auth_token","description":"The auth token of the logged-in user, obtained by calling /account.{format}/authenticate/{username} (described above)","required":true,"dataType":"string","allowMultiple":false,"paramType":"header"}],"summary":"Deletes an existing WordList","httpMethod":"DELETE","errorResponses":[{"reason":"Invalid ID supplied","code":400},{"reason":"Not Authorized to delete WordList","code":403},{"reason":"WordList not found","code":404}],"nickname":"deleteWordList","responseClass":"ok"},{"parameters":[{"name":"permalink","description":"permalink of WordList to fetch","required":true,"dataType":"string","allowMultiple":false,"paramType":"path"},{"name":"auth_token","description":"The auth token of the logged-in user, obtained by calling /account.{format}/authenticate/{username} (described above)","required":true,"dataType":"string","allowMultiple":false,"paramType":"header"}],"summary":"Fetches a WordList by ID","httpMethod":"GET","errorResponses":[{"reason":"Invalid ID supplied","code":400},{"reason":"Not Authorized to access WordList","code":403},{"reason":"WordList not found","code":404}],"nickname":"getWordListByPermalink","responseClass":"wordList"}]},{"path":"/wordList.{format}/{permalink}/words","description":"","operations":[{"parameters":[{"name":"permalink","description":"permalink of WordList to user","required":true,"dataType":"string","allowMultiple":false,"paramType":"path"},{"description":"Array of words to add to WordList","required":false,"dataType":"Array[StringValue]","allowMultiple":false,"paramType":"body"},{"name":"auth_token","description":"The auth token of the logged-in user, obtained by calling /account.{format}/authenticate/{username} (described above)","required":true,"dataType":"string","allowMultiple":false,"paramType":"header"}],"summary":"Adds words to a WordList","httpMethod":"POST","errorResponses":[{"reason":"Invalid permalink supplied","code":400},{"reason":"Not Authorized to access WordList","code":403},{"reason":"WordList not found","code":404}],"nickname":"addWordsToWordList","responseClass":"ok"},{"parameters":[{"name":"permalink","description":"ID of WordList to use","required":true,"dataType":"string","allowMultiple":false,"paramType":"path"},{"name":"sortBy","defaultValue":"createDate","description":"Field to sort by","required":false,"allowableValues":{"values":["createDate","alpha"],"valueType":"LIST"},"dataType":"string","allowMultiple":false,"paramType":"query"},{"name":"sortOrder","defaultValue":"desc","description":"Direction to sort","required":false,"allowableValues":{"values":["asc","desc"],"valueType":"LIST"},"dataType":"string","allowMultiple":false,"paramType":"query"},{"name":"skip","defaultValue":"0","description":"Results to skip","required":false,"dataType":"int","allowMultiple":false,"paramType":"query"},{"name":"limit","defaultValue":"100","description":"Maximum number of results to return","required":false,"dataType":"int","allowMultiple":false,"paramType":"query"},{"name":"auth_token","description":"The auth token of the logged-in user, obtained by calling /account.{format}/authenticate/{username} (described above)","required":true,"dataType":"string","allowMultiple":false,"paramType":"header"}],"summary":"Fetches words in a WordList","httpMethod":"GET","errorResponses":[{"reason":"Invalid ID supplied","code":400},{"reason":"Not Authorized to access WordList","code":403},{"reason":"WordList not found","code":404}],"nickname":"getWordListWords","responseClass":"List[wordListWord]"}]},{"path":"/wordList.{format}/{permalink}/deleteWords","description":"","operations":[{"parameters":[{"name":"permalink","description":"permalink of WordList to use","required":true,"dataType":"string","allowMultiple":false,"paramType":"path"},{"description":"Words to remove from WordList","required":false,"dataType":"Array[StringValue]","allowMultiple":false,"paramType":"body"},{"name":"auth_token","description":"The auth token of the logged-in user, obtained by calling /account.{format}/authenticate/{username} (described above)","required":true,"dataType":"string","allowMultiple":false,"paramType":"header"}],"summary":"Removes words from a WordList","httpMethod":"POST","errorResponses":[{"reason":"Invalid permalink supplied","code":400},{"reason":"Not Authorized to modify WordList","code":403},{"reason":"WordList not found","code":404}],"nickname":"deleteWordsFromWordList","responseClass":"ok"}]}],"apiVersion":"4.0","swaggerVersion":"1.0","basePath":"http://api.wordnik.com/v4","models":{"WordList":{"uniqueItems":false,"properties":{"updatedAt":{"uniqueItems":false,"type":"Date","required":false},"id":{"uniqueItems":false,"type":"long","required":true},"username":{"uniqueItems":false,"type":"string","required":false},"permalink":{"uniqueItems":false,"type":"string","required":false},"lastActivityAt":{"uniqueItems":false,"type":"Date","required":false},"createdAt":{"uniqueItems":false,"type":"Date","required":false},"description":{"uniqueItems":false,"type":"string","required":false},"userId":{"uniqueItems":false,"type":"long","required":false},"name":{"uniqueItems":false,"type":"string","required":false},"numberWordsInList":{"uniqueItems":false,"type":"long","required":false},"type":{"uniqueItems":false,"type":"string","required":false}},"id":"wordList","type":"any","required":false},"WordListWord":{"uniqueItems":false,"properties":{"id":{"uniqueItems":false,"type":"long","required":true},"username":{"uniqueItems":false,"type":"string","required":false},"createdAt":{"uniqueItems":false,"type":"Date","required":false},"numberCommentsOnWord":{"uniqueItems":false,"type":"long","required":false},"userId":{"uniqueItems":false,"type":"long","required":false},"word":{"uniqueItems":false,"type":"string","required":false},"numberLists":{"uniqueItems":false,"type":"long","required":false}},"id":"wordListWord","type":"any","required":false},"StringValue":{"uniqueItems":false,"properties":{"word":{"uniqueItems":false,"type":"string","required":false}},"id":"StringValue","type":"any","required":false}}}