{"resourcePath":"/system","models":{"Long":{"properties":{"value":{"type":"long"}},"id":"long"},"Word":{"properties":{"word":{"type":"string"}},"id":"word"},"WordStats":{"properties":{"wordsListedCount":{"type":"long"},"externalApiCallsCount":{"type":"long"},"favoritesCount":{"type":"long"},"wordViewCount":{"type":"long"},"sentencesCount":{"type":"long"},"tokensCount":{"type":"long"},"apiUsersCount":{"type":"long"},"commentsCount":{"type":"long"},"audioPronsCount":{"type":"long"},"listsCount":{"type":"long"},"documentsCount":{"type":"long"},"createdAt":{"type":"Date"},"elapsedMillis":{"type":"long"},"userLoginCount":{"type":"long"},"prettyWordsCount":{"type":"long"},"usersCount":{"type":"long"},"taggedObjectsCount":{"type":"long"},"uniqueWordsCount":{"type":"long"},"tagsCount":{"type":"long"}},"id":"wordStats"},"ContentProvider":{"properties":{"id":{"type":"int"},"name":{"type":"string"}},"id":"contentProvider"},"Graph":{"properties":{"elements":{"type":"array","items":{"$ref":"element"}}},"id":"graph"},"RelatedWord":{"properties":{"relationship":{"type":"string"},"weight":{"type":"double"},"word":{"type":"string"}},"id":"relatedWord"},"Element":{"properties":{"id":{"type":"string"},"weight":{"type":"float"},"type":{"type":"string"}},"id":"element"}},"apis":[{"path":"/system.{format}/providers","description":"","operations":[{"summary":"Returns all defined ContentProviders.","responseTypeInternal":"com.wordnik.corpus.document.model.ContentProvider","nickname":"getProviders","responseClass":"List[contentProvider]","httpMethod":"GET"}]},{"path":"/system.{format}/stats","description":"","operations":[{"parameters":[{"name":"skip","required":true,"dataType":"string","allowMultiple":false,"paramType":"query"},{"name":"limit","required":true,"dataType":"string","allowMultiple":false,"paramType":"query"},{"name":"delta","required":true,"dataType":"string","allowMultiple":false,"paramType":"query"}],"summary":"Returns system-wide statistics for the platform.","responseTypeInternal":"com.wordnik.system.model.SystemStats","nickname":"getStats","responseClass":"List[wordStats]","httpMethod":"GET"}]},{"path":"/system.{format}/{word}/related","description":"","operations":[{"parameters":[{"name":"word","description":"Word to find related items for","required":true,"dataType":"string","allowMultiple":false,"paramType":"path"},{"name":"limit","description":"Maximum number of results to return","required":false,"dataType":"string","allowMultiple":false,"paramType":"query"},{"name":"type","description":"Relationship type","required":false,"dataType":"string","allowableValues":{"values":["synonym","antonym","variant","equivalent","cross-reference","related-word","rhyme","form","etymologically-related-term","hypernym","hyponym","inflected-form","primary","same-context","verb-form","verb-stem","unknown"],"valueType":"LIST"},"allowMultiple":false,"paramType":"query"}],"summary":"Returns weighted terms related to the input word","responseTypeInternal":"com.wordnik.graph.WeightedRelatedWord","errorResponses":[{"reason":"No data found.","code":404}],"nickname":"getRelatedWords","responseClass":"relatedWord","httpMethod":"GET"}]},{"path":"/system.{format}/{word}","description":"","operations":[{"parameters":[{"name":"word","description":"Word to find attributes for","required":true,"dataType":"string","allowMultiple":false,"paramType":"path"},{"name":"useLiteral","description":"Use exact word","required":false,"dataType":"string","allowMultiple":false,"paramType":"query"}],"summary":"Returns a word with attributes","responseTypeInternal":"com.wordnik.graph.DetailedNode","errorResponses":[{"reason":"No data found.","code":404}],"nickname":"getRelatedWords","responseClass":"word","httpMethod":"GET"}]},{"path":"/system.{format}/graph","description":"","operations":[{"parameters":[{"name":"term","description":"Term to query","required":false,"dataType":"string","allowMultiple":false,"paramType":"query"},{"name":"objectType","description":"Object type","required":false,"dataType":"string","allowableValues":{"values":["word"],"valueType":"LIST"},"allowMultiple":false,"paramType":"query"},{"name":"excludeEdgeTypes","description":"Relationships to exclude","required":false,"dataType":"string","allowMultiple":false,"paramType":"query"},{"name":"includeEdgeTypes","description":"Specifies the only relationship to include (note, this overrides the exclusions)","required":false,"dataType":"string","allowMultiple":false,"paramType":"query"},{"name":"startConstraints","description":"Edge start constraints to enforce","required":false,"dataType":"string","allowMultiple":false,"paramType":"query"},{"name":"endConstraints","description":"Edge end constraints to enforce","required":false,"dataType":"string","allowMultiple":false,"paramType":"query"},{"name":"maxHops","defaultValue":"2","description":"Maximum number of to route","required":false,"dataType":"string","allowMultiple":false,"paramType":"query"},{"name":"maxResults","defaultValue":"2","description":"Maximum number of routes to return","required":false,"dataType":"string","allowMultiple":false,"paramType":"query"},{"name":"destination","description":"Destination to route to (VERY inefficient)","required":false,"dataType":"string","allowMultiple":false,"paramType":"query"},{"name":"useGraphML","description":"Return is GraphML format","required":false,"dataType":"string","allowableValues":{"values":["true","false"],"valueType":"LIST"},"allowMultiple":false,"paramType":"query"},{"name":"goal","description":"Selection goal","required":false,"dataType":"string","allowableValues":{"values":["content","similar","basic-form"],"valueType":"LIST"},"allowMultiple":false,"paramType":"query"}],"summary":"Returns a graph response for the supplied terms","responseTypeInternal":"com.wordnik.graph.route.RouteResponse","errorResponses":[{"reason":"Invalid query.","code":400},{"reason":"No data found.","code":404}],"nickname":"getWordById","responseClass":"graph","httpMethod":"GET"}]},{"path":"/system.{format}/audioRecordId","description":"","operations":[{"summary":"Gets an Audio File ID for recording.","responseTypeInternal":"com.wordnik.system.model.LongResult","nickname":"getAudioRecordId","responseClass":"long","httpMethod":"GET"}]},{"path":"/system.{format}/audioDuration","description":"","operations":[{"parameters":[{"name":"audioFileId","description":"Audio file id","required":true,"dataType":"string","allowMultiple":false,"paramType":"path"},{"name":"duration","description":"Audio duration","required":true,"dataType":"string","allowMultiple":false,"paramType":"path"}],"summary":"Sets duration of an Audio File","responseTypeInternal":"ok","errorResponses":[{"reason":"Invalid audio file id supplied.","code":400}],"nickname":"setAudioDuration","responseClass":"ok","httpMethod":"POST"}]}],"basePath":"http://api.wordnik.com/v4","swaggerVersion":"1.1-SNAPSHOT.121130","apiVersion":"4.0"}