{"openapi":"3.1.0","info":{"title":"11xplay Markdown for Agents API","version":"1.0.0","description":"Returns formatting-stripped markdown for public marketing and legal pages. Prefer content negotiation with Accept: text/markdown on the page URL; /api/markdown is the internal handler."},"servers":[{"url":"https://11xplay.cc"}],"paths":{"/api/markdown":{"get":{"operationId":"getHomeMarkdown","summary":"Homepage markdown","responses":{"200":{"description":"Markdown document","content":{"text/markdown":{"schema":{"type":"string"}}},"headers":{"x-markdown-tokens":{"schema":{"type":"integer"},"description":"Estimated token count of the markdown body"}}}}}},"/api/markdown/{path}":{"get":{"operationId":"getPageMarkdown","summary":"Public page markdown by path","parameters":[{"name":"path","in":"path","required":true,"schema":{"type":"string"},"description":"Public path without leading slash, e.g. online-cricket-id"}],"responses":{"200":{"description":"Markdown document","content":{"text/markdown":{"schema":{"type":"string"}}}},"404":{"description":"Unknown public path"}}}},"/":{"get":{"operationId":"negotiateHomeMarkdown","summary":"Same URL content negotiation","parameters":[{"name":"Accept","in":"header","required":true,"schema":{"type":"string","example":"text/markdown"}}],"responses":{"200":{"description":"Markdown when Accept includes text/markdown; otherwise HTML","content":{"text/markdown":{"schema":{"type":"string"}},"text/html":{"schema":{"type":"string"}}}}}}}}}