{"openapi":"3.1.0","info":{"title":"Geekboots AI & Content Discovery API","version":"1.0.0","description":"Machine-readable search and Markdown content endpoints for Geekboots technical articles, programming tutorials, and source code examples.","contact":{"name":"Geekboots","url":"https://www.geekboots.com/contact-us"}},"servers":[{"url":"https://www.geekboots.com","description":"Geekboots Production"}],"paths":{"/api/ai/search":{"get":{"operationId":"searchGeekbootsContent","summary":"Search Geekboots articles and code examples","description":"Search published technical articles, tutorials, and programming code guides on Geekboots. Returns structured metadata along with direct HTML and clean Markdown URLs.","parameters":[{"name":"q","in":"query","required":false,"description":"Search keywords or phrase (e.g., 'nextjs caching', 'python sort').","schema":{"type":"string"}},{"name":"type","in":"query","required":false,"description":"Filter by content type.","schema":{"type":"string","enum":["all","story","code"],"default":"all"}},{"name":"category","in":"query","required":false,"description":"Filter by category slug (e.g., web-dev, ai, programming, cyber-security, python, javascript, nextjs).","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Number of results to return (1-50).","schema":{"type":"integer","minimum":1,"maximum":50,"default":10}},{"name":"page","in":"query","required":false,"description":"Page number for pagination (1-based).","schema":{"type":"integer","minimum":1,"default":1}}],"responses":{"200":{"description":"Structured search results","content":{"application/json":{"schema":{"type":"object","properties":{"site":{"type":"string"},"baseUrl":{"type":"string"},"query":{"type":"string"},"type":{"type":"string"},"category":{"type":["string","null"]},"page":{"type":"integer"},"limit":{"type":"integer"},"total":{"type":"integer"},"count":{"type":"integer"},"results":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["story","code"]},"title":{"type":"string"},"description":{"type":"string"},"url":{"type":"string","format":"uri"},"markdownUrl":{"type":"string","format":"uri"},"category":{"type":"object","properties":{"name":{"type":"string"},"slug":{"type":"string"}}},"tags":{"type":"array","items":{"type":"string"}},"author":{"type":"string"},"publishedAt":{"type":"string"},"updatedAt":{"type":"string"},"viewers":{"type":"integer"}}}}}}}}}}}},"/story/{slug}/md":{"get":{"operationId":"getArticleMarkdown","summary":"Get a technical article as clean Markdown","description":"Returns a published Geekboots article formatted as clean Markdown with YAML frontmatter, body content, FAQs, and related links.","parameters":[{"name":"slug","in":"path","required":true,"description":"Article URL slug.","schema":{"type":"string"}}],"responses":{"200":{"description":"Article in Markdown format","content":{"text/markdown":{"schema":{"type":"string"}}}},"404":{"description":"Article not found"}}}},"/{cate}/{slug}/md":{"get":{"operationId":"getCodeExampleMarkdown","summary":"Get a code example/guide as clean Markdown with source code","description":"Returns a published Geekboots code example formatted as clean Markdown with YAML frontmatter, explanation, and fenced source code blocks.","parameters":[{"name":"cate","in":"path","required":true,"description":"Programming category slug (e.g., python, javascript, nextjs, nodejs, java, c, cpp, css, html5, php, datastructure).","schema":{"type":"string"}},{"name":"slug","in":"path","required":true,"description":"Code example URL slug.","schema":{"type":"string"}}],"responses":{"200":{"description":"Code example in Markdown format","content":{"text/markdown":{"schema":{"type":"string"}}}},"404":{"description":"Code example not found"}}}},"/llms.txt":{"get":{"operationId":"getLlmsIndex","summary":"Concise LLM context index (llmstxt.org)","responses":{"200":{"description":"Markdown site index for LLMs","content":{"text/markdown":{"schema":{"type":"string"}}}}}}},"/llms-full.txt":{"get":{"operationId":"getLlmsFullManifest","summary":"Extended LLM knowledge manifest with recent articles and FAQs","responses":{"200":{"description":"Extended Markdown knowledge manifest","content":{"text/markdown":{"schema":{"type":"string"}}}}}}},"/feed.xml":{"get":{"operationId":"getRssFeed","summary":"RSS 2.0 feed of latest articles and code guides","responses":{"200":{"description":"RSS 2.0 XML feed","content":{"application/rss+xml":{"schema":{"type":"string"}}}}}}}}}