{"openapi":"3.0.3","info":{"title":"BerryC Public Knowledge","version":"1.0.0","description":"Read-only public data. No API key or SQL. Internal ERP APIs are separate and require authentication."},"servers":[{"url":"https:\/\/app.berryc.id"}],"paths":{"\/api\/public\/products":{"get":{"operationId":"searchPublicProducts","summary":"Find active catalog products and retail prices","parameters":[{"name":"q","in":"query","required":false,"schema":{"type":"string","maxLength":100}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100000}},{"name":"category","in":"query","required":false,"schema":{"type":"string"}},{"name":"min_price","in":"query","required":false,"schema":{"type":"number","minimum":0}},{"name":"max_price","in":"query","required":false,"schema":{"type":"number","minimum":0}}],"responses":{"200":{"description":"Published records only. Prices are IDR; null means confirm with the published contact.","content":{"application\/json":{"schema":{"type":"object","properties":{"source":{"type":"string","format":"uri"},"currency":{"type":"string","enum":["IDR"]},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/Product"}},"pagination":{"type":"object","properties":{"page":{"type":"integer"},"last_page":{"type":"integer"},"total":{"type":"integer"},"next":{"type":"string","format":"uri","nullable":true}}}}}}}},"422":{"description":"Invalid search filters"},"429":{"description":"Rate limit exceeded"}}}},"\/api\/public\/content":{"get":{"operationId":"searchPublicContent","summary":"Find published services, locations, FAQ, profiles and promotions","parameters":[{"name":"q","in":"query","required":false,"schema":{"type":"string","maxLength":100}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100000}},{"name":"type","in":"query","required":false,"schema":{"type":"string","enum":["profile","service","location","faq","promotion"]}},{"name":"location","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Published records only. Prices are IDR; null means confirm with the published contact.","content":{"application\/json":{"schema":{"type":"object","properties":{"source":{"type":"string","format":"uri"},"currency":{"type":"string","enum":["IDR"]},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/Content"}},"pagination":{"type":"object","properties":{"page":{"type":"integer"},"last_page":{"type":"integer"},"total":{"type":"integer"},"next":{"type":"string","format":"uri","nullable":true}}}}}}}},"422":{"description":"Invalid search filters"},"429":{"description":"Rate limit exceeded"}}}}},"components":{"schemas":{"Product":{"type":"object","properties":{"type":{"type":"string"},"title":{"type":"string"},"url":{"type":"string","format":"uri"},"updated_at":{"type":"string","format":"date-time","nullable":true},"price":{"type":"number","nullable":true},"currency":{"type":"string","enum":["IDR"]},"id":{"type":"integer"},"sku":{"type":"string"},"brand":{"type":"string","nullable":true},"category":{"type":"string","nullable":true},"size":{"type":"string","nullable":true},"unit":{"type":"string","nullable":true},"price_note":{"type":"string"}}},"Content":{"type":"object","properties":{"type":{"type":"string","enum":["profile","service","location","faq","promotion"]},"title":{"type":"string"},"url":{"type":"string","format":"uri"},"updated_at":{"type":"string","format":"date-time","nullable":true},"price":{"type":"number","nullable":true},"currency":{"type":"string","enum":["IDR"]},"slug":{"type":"string"},"summary":{"type":"string"},"body":{"type":"string","nullable":true},"price_unit":{"type":"string","nullable":true},"location":{"type":"string","nullable":true},"contact_url":{"type":"string","format":"uri","nullable":true}}}}}}