{"openapi":"3.1.0","info":{"title":"Knowledge API of kostenlos-abnehmen.de","version":"0.27.1-beta","description":"Read-only access to the public articles and their sources. If you use it, please name kostenlos-abnehmen.de and link the article. This is general information and not medical advice."},"servers":[{"url":"https://kostenlos-abnehmen.de/api/knowledge"}],"paths":{"/{language}":{"get":{"summary":"All articles in one language","operationId":"listArticles","parameters":[{"name":"language","in":"path","required":true,"schema":{"type":"string","enum":["de","en"]}}],"responses":{"200":{"description":"All articles in one language"}}}},"/{language}/{slug}":{"get":{"summary":"One article as Markdown, with sources and link","operationId":"getArticle","parameters":[{"name":"language","in":"path","required":true,"schema":{"type":"string","enum":["de","en"]}},{"name":"slug","in":"path","required":true,"schema":{"type":"string","enum":["energiebedarf","kaloriendefizit","spannen","keine-prognose","plateau","wasser-und-gewicht","eiweiss","ballaststoffe","fasten","alkohol","heisshunger","schlaf","auswaerts-essen","bewegung","nahrungsergaenzung","abnehmmittel","kreatin","kreatin-schlafmangel","magnesium","elektrolyte","bor","vitamin-d","omega-3","koffein","aerztlicher-rat"]}}],"responses":{"200":{"description":"One article as Markdown, with sources and link"},"404":{"description":"This article does not exist."}}}},"/{language}/search":{"get":{"summary":"Search the articles","operationId":"searchArticles","parameters":[{"name":"language","in":"path","required":true,"schema":{"type":"string","enum":["de","en"]}},{"name":"q","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":200}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":10,"default":5}}],"responses":{"200":{"description":"Search the articles"},"400":{"description":"The query is missing or longer than allowed."},"429":{"description":"Too many requests. Retry-After says when to try again."}}}}},"externalDocs":{"url":"https://kostenlos-abnehmen.de/en/schnittstelle","description":"kostenlos-abnehmen.de"}}