{"openapi":"3.1.0","info":{"title":"Anti Reteste V2","description":"API de verificação anti-reteste — consulte cartões e detecte repetições.","version":"2.0.0"},"paths":{"/health":{"get":{"summary":"Health","operationId":"health_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":{"type":"string"},"type":"object","title":"Response Health Health Get"}}}}}}},"/api/stats":{"get":{"summary":"Api Stats","operationId":"api_stats_api_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatsResponse"}}}}}}},"/api/check":{"post":{"summary":"Api Check","operationId":"api_check_api_check_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/documentacao":{"get":{"summary":"Documentacao","operationId":"documentacao_documentacao_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/bin-checker":{"get":{"summary":"Bin Checker Page","operationId":"bin_checker_page_bin_checker_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/bin/consultar":{"post":{"summary":"Bin Consultar","operationId":"bin_consultar_bin_consultar_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BinRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Bin Consultar Bin Consultar Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/":{"get":{"summary":"Index","operationId":"index__get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"post":{"summary":"Verify","operationId":"verify__post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_verify__post"}}}},"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/verificar":{"post":{"summary":"Verificar","operationId":"verificar_verificar_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerificarRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Verificar Verificar Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"BinRequest":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""},"linhas":{"type":"string","title":"Linhas","default":""}},"type":"object","title":"BinRequest"},"Body_verify__post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""},"vulgo":{"type":"string","title":"Vulgo","default":""},"numeros":{"type":"string","title":"Numeros","default":""}},"type":"object","title":"Body_verify__post"},"CheckItem":{"properties":{"line":{"type":"integer","title":"Line"},"status":{"type":"string","title":"Status"},"masked":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Masked"},"cc_full":{"type":"string","title":"Cc Full","default":""},"fingerprint":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fingerprint"},"is_retest":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Retest"},"added_on":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Added On"},"days_since_added":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Days Since Added"},"attempts":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Attempts"},"expiry":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expiry"},"expired":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Expired"},"vulgo":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Vulgo"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"},"first_line":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"First Line"}},"type":"object","required":["line","status"],"title":"CheckItem"},"CheckRequest":{"properties":{"vulgo":{"type":"string","maxLength":40,"minLength":1,"title":"Vulgo","description":"Store ou vulgo de quem consulta"},"lines":{"items":{"type":"string"},"type":"array","minItems":1,"title":"Lines","description":"Linhas número|mês|ano|cvv ou hash SHA-256"},"record":{"type":"boolean","title":"Record","description":"Gravar novos e incrementar tentativas","default":true}},"type":"object","required":["vulgo","lines"],"title":"CheckRequest"},"CheckResponse":{"properties":{"total":{"type":"integer","title":"Total"},"new":{"type":"integer","title":"New"},"known":{"type":"integer","title":"Known"},"duplicated":{"type":"integer","title":"Duplicated"},"invalid":{"type":"integer","title":"Invalid"},"items":{"items":{"$ref":"#/components/schemas/CheckItem"},"type":"array","title":"Items"}},"type":"object","required":["total","new","known","duplicated","invalid","items"],"title":"CheckResponse"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"StatsResponse":{"properties":{"total":{"type":"integer","title":"Total"},"attempts":{"type":"integer","title":"Attempts"},"consultas":{"type":"integer","title":"Consultas","description":"Consultas exibidas no painel (attempts − baseline)"},"repetidos":{"type":"integer","title":"Repetidos"},"retested":{"type":"integer","title":"Retested"},"first_day":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"First Day"},"last_day":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Day"}},"type":"object","required":["total","attempts","consultas","repetidos","retested","first_day","last_day"],"title":"StatsResponse"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"VerificarRequest":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""},"vulgo":{"type":"string","maxLength":40,"title":"Vulgo","default":""},"numeros":{"type":"string","title":"Numeros","default":""}},"type":"object","title":"VerificarRequest"}}}}