{"openapi":"3.1.0","info":{"title":"Schugar Natursteine Public Content API","version":"1.0.0","description":"Read-only public WordPress REST API endpoints for retrieving pages, cemetery guides, pricing articles, and public site content from Schugar Natursteine (Frankfurt am Main). No authentication required.","contact":{"name":"Schugar Natursteine","url":"https:\/\/www.schugar.de\/kontakt\/","email":"info@schugar.de"}},"servers":[{"url":"https:\/\/www.schugar.de\/wp-json","description":"Production WordPress REST API"}],"paths":{"\/wp\/v2\/pages":{"get":{"operationId":"listPages","summary":"List published informational, service, and regional hub pages","description":"Returns a paginated list of published WordPress pages on schugar.de. Supports keyword search and exact slug filtering.","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1},"description":"Page number for pagination."},{"name":"per_page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100,"default":10},"description":"Number of pages per response."},{"name":"search","in":"query","required":false,"schema":{"type":"string"},"description":"Keyword search term (German)."},{"name":"slug","in":"query","required":false,"schema":{"type":"string"},"description":"Filter by exact page slug."}],"responses":{"200":{"description":"Array of published WordPress pages","content":{"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/WpContentItem"}}}}},"400":{"description":"Invalid query parameter","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/WpError"}}}}}}},"\/wp\/v2\/pages\/{id}":{"get":{"operationId":"getPageById","summary":"Retrieve a single published page by ID","description":"Fetches full rendered content, title, canonical link, and modification timestamp for a published page.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","minimum":1},"description":"Unique numeric WordPress page ID."}],"responses":{"200":{"description":"Published WordPress page object","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/WpContentItem"}}}},"404":{"description":"Page not found or not publicly readable","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/WpError"}}}}}}},"\/wp\/v2\/posts":{"get":{"operationId":"listPosts","summary":"List published cemetery guides and stonemason articles","description":"Returns paginated published articles under \/wissenwertes\/ covering cemetery rules, gravestone pricing, materials, and care.","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1},"description":"Page number for pagination."},{"name":"per_page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100,"default":10},"description":"Number of articles per response."},{"name":"search","in":"query","required":false,"schema":{"type":"string"},"description":"Keyword search term (German)."},{"name":"slug","in":"query","required":false,"schema":{"type":"string"},"description":"Filter by exact post slug."}],"responses":{"200":{"description":"Array of published articles","content":{"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/WpContentItem"}}}}},"400":{"description":"Invalid query parameter","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/WpError"}}}}}}},"\/wp\/v2\/posts\/{id}":{"get":{"operationId":"getPostById","summary":"Retrieve a single published article by ID","description":"Fetches full rendered content, title, canonical link, and modification timestamp for a published cemetery guide or article.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","minimum":1},"description":"Unique numeric WordPress post ID."}],"responses":{"200":{"description":"Published WordPress post object","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/WpContentItem"}}}},"404":{"description":"Post not found or not publicly readable","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/WpError"}}}}}}}},"components":{"schemas":{"RenderedField":{"type":"object","properties":{"rendered":{"type":"string"}},"required":["rendered"]},"WpContentItem":{"type":"object","properties":{"id":{"type":"integer"},"date_gmt":{"type":"string","format":"date-time"},"modified_gmt":{"type":"string","format":"date-time"},"slug":{"type":"string"},"link":{"type":"string","format":"uri"},"title":{"$ref":"#\/components\/schemas\/RenderedField"},"content":{"$ref":"#\/components\/schemas\/RenderedField"},"excerpt":{"$ref":"#\/components\/schemas\/RenderedField"}},"required":["id","slug","link","title"]},"WpError":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"data":{"type":"object","properties":{"status":{"type":"integer"}}}},"required":["code","message"]}}}}