{"openapi":"3.1.0","info":{"title":"ITFixDB API","version":"0.1.0","description":"Structured technical troubleshooting records for humans and machines."},"servers":[{"url":"https://itfixdb.com"}],"paths":{"/api/v1/health":{"get":{"summary":"Health check","responses":{"200":{"description":"OK"}}}},"/api/v1/search":{"get":{"summary":"Search published fixes","parameters":[{"name":"q","in":"query","schema":{"type":"string","maxLength":200}},{"name":"error_code","in":"query","schema":{"type":"string"}},{"name":"vendor","in":"query","schema":{"type":"string"}},{"name":"product","in":"query","schema":{"type":"string"}},{"name":"verification","in":"query","schema":{"type":"string"}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":50}}],"responses":{"200":{"description":"Search results"},"400":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}}}}},"/api/v1/fixes/{idOrSlug}":{"get":{"summary":"Get a full fix record","parameters":[{"name":"idOrSlug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Fix record"},"404":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}}}}},"/api/v1/errors/{code}":{"get":{"summary":"Exact error-code lookup","parameters":[{"name":"code","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Matching fixes"}}}},"/api/v1/products/{vendor}/{product}/fixes":{"get":{"summary":"List fixes for a product","parameters":[{"name":"vendor","in":"path","required":true,"schema":{"type":"string"}},{"name":"product","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Matching fixes"}}}},"/api/v1/changes":{"get":{"summary":"Fixes changed since a timestamp","parameters":[{"name":"since","in":"query","required":true,"schema":{"type":"string","format":"date-time"}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100}}],"responses":{"200":{"description":"Changed fixes"},"400":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}}}}}}}