[codex] Add certificate index endpoint#19
Conversation
Review Summary by QodoAdd certificate index endpoint for efficient discovery
WalkthroughsDescription• Adds /api/certificates/index.json endpoint for certificate discovery • Includes compact summary rows with certificate metadata and algorithm counts • Provides certificate_paths lookup for efficient path resolution • Generates JSON Schema and OpenAPI specifications for the new endpoint • Updates documentation, validation, and API reference artifacts Diagramflowchart LR
A["Certificate Data"] -->|build_certificate_index_entry| B["Index Entries"]
B -->|build_certificate_index_payload| C["Index Payload"]
C -->|save_json| D["api/certificates/index.json"]
D -->|validate_certificate_index| E["Validation"]
C -->|generate_json_schema_artifacts| F["certificate-index.schema.json"]
C -->|generate_openapi_spec| G["OpenAPI Spec"]
File Changes1. scraper.py
|
Code Review by Qodo
1. Docs check coverage reduced
|
Summary
Adds a generated
api/certificates/index.jsonendpoint that lets consumers discover every per-certificate detail file without guessing paths or loading each detail payload individually.The endpoint includes shared metadata, a
certificate_pathslookup, and compact certificate summary rows with dataset, status, standard, vendor/module names, URLs, validation dates, algorithm counts, and detail availability.Validation
venv/bin/python -m py_compile scraper.py test_scraper.py validate_api.pyvenv/bin/python test_scraper.pyvenv/bin/python validate_api.pygit diff --checkNotes
The current checked-in data still predates the full post-merge refresh, so algorithm extraction provenance fields remain nullable in this generated index until the long-running update workflow regenerates the data.