Multi-tenant platform (182 pages, 228 API routes, ~30 modules) built on a deterministic verification core: clinical-trial claims checked against ClinicalTrials.gov registered results and raw event counts (ARR/NNT/RR+CI recomputed in code, oracle-tested), code-enforced exact-span grounding, and multi-source cross-verification. Auth/RBAC/multi-tenancy, document processing at scale (unpdf + Docling), agentic workflows, Claude Science connector, compliance/audit, billing, public API, and more. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
23 lines
797 B
TypeScript
23 lines
797 B
TypeScript
import { API_SPEC } from "@/lib/apiSpec";
|
|
import { MethodBadge } from "./MethodBadge";
|
|
|
|
export function EndpointList() {
|
|
return (
|
|
<section className="mt-10">
|
|
<h2 className="text-sm font-medium uppercase tracking-wide text-ink/40">Endpoints</h2>
|
|
<ul className="mt-3 flex flex-col gap-2">
|
|
{API_SPEC.map((e) => (
|
|
<li
|
|
key={`${e.method} ${e.path}`}
|
|
className="flex items-center gap-3 rounded-lg border border-ink/10 bg-white p-3"
|
|
>
|
|
<MethodBadge method={e.method} />
|
|
<code className="min-w-0 shrink-0 font-mono text-sm text-ink/90">{e.path}</code>
|
|
<span className="min-w-0 flex-1 text-right text-xs text-ink/50">{e.description}</span>
|
|
</li>
|
|
))}
|
|
</ul>
|
|
</section>
|
|
);
|
|
}
|