@@ -86,13 +86,10 @@ components:
8686
8787 HealthBand :
8888 type : string
89- enum : [critical, low, medium, high ]
89+ enum : [excellent, healthy, fair, concerning, critical ]
9090 description : >
91- UNCONFIRMED CROSSWALK — the internal health scale is
92- excellent/healthy/fair/concerning/critical (good→bad); there is no
93- agreed mapping to this critical/low/medium/high scale yet. See
94- HEALTH_BAND_CROSSWALK in akritesExternalPackageDetail.ts. Confirm
95- with Akrites/product before relying on exact band values.
91+ Health band on the internal scale (best→worst), returned verbatim —
92+ no external crosswalk.
9693
9794 PackageDetail :
9895 type : object
@@ -192,12 +189,11 @@ components:
192189 properties :
193190 lifecycle :
194191 type : string
195- enum : [active, inactive, deprecated , abandoned, null]
192+ enum : [active, stable, declining , abandoned, archived , null]
196193 nullable : true
197194 description : >
198- UNCONFIRMED CROSSWALK from the internal
199- active/stable/declining/abandoned/archived scale — see
200- LIFECYCLE_CROSSWALK in akritesExternalPackageDetail.ts.
195+ Lifecycle stage on the internal scale, returned verbatim — no
196+ external crosswalk. Null when unknown or unrecognized.
201197 maintainerBusFactor :
202198 type : integer
203199 nullable : true
@@ -372,13 +368,12 @@ components:
372368
373369 OverallConfidenceBand :
374370 type : string
375- enum : [HIGH, MEDIUM, LOW , NONE]
371+ enum : [PRIMARY, SECONDARY, FALLBACK , NONE]
376372 description : >
377- Aggregate confidence, derived from the highest-scoring contact.
378- UNCONFIRMED CROSSWALK: the internal aggregate band is
379- PRIMARY/SECONDARY/FALLBACK/NONE; this HIGH/MEDIUM/LOW/NONE scale is a
380- 4→4 tier rename (PRIMARY→HIGH, …) pending confirmation with Akrites —
381- see OVERALL_CONFIDENCE_CROSSWALK in akritesExternalContactDetail.ts.
373+ Aggregate confidence, derived from the highest-scoring contact. Uses the
374+ internal SecurityContact confidence scale, returned verbatim — same scale
375+ as ContactConfidenceBand, no external crosswalk. NONE when there are no
376+ contacts.
382377
383378 SecurityContact :
384379 type : object
@@ -646,15 +641,31 @@ paths:
646641 maxItems : 100
647642 items :
648643 type : string
644+ page :
645+ type : integer
646+ minimum : 1
647+ default : 1
648+ pageSize :
649+ type : integer
650+ minimum : 1
651+ maximum : 100
652+ default : 20
649653 responses :
650654 ' 200 ' :
651- description : Results in the same order as the request.
655+ description : One page of results, in request order .
652656 content :
653657 application/json :
654658 schema :
655659 type : object
656- required : [results]
660+ required : [page, pageSize, total, results]
657661 properties :
662+ page :
663+ type : integer
664+ pageSize :
665+ type : integer
666+ total :
667+ type : integer
668+ description : Total number of requested purls, across all pages.
658669 results :
659670 type : array
660671 items :
@@ -747,15 +758,31 @@ paths:
747758 maxItems : 100
748759 items :
749760 type : string
761+ page :
762+ type : integer
763+ minimum : 1
764+ default : 1
765+ pageSize :
766+ type : integer
767+ minimum : 1
768+ maximum : 100
769+ default : 20
750770 responses :
751771 ' 200 ' :
752- description : Results in the same order as the request.
772+ description : One page of results, in request order .
753773 content :
754774 application/json :
755775 schema :
756776 type : object
757- required : [results]
777+ required : [page, pageSize, total, results]
758778 properties :
779+ page :
780+ type : integer
781+ pageSize :
782+ type : integer
783+ total :
784+ type : integer
785+ description : Total number of requested purls, across all pages.
759786 results :
760787 type : array
761788 items :
@@ -851,15 +878,31 @@ paths:
851878 maxItems : 100
852879 items :
853880 type : string
881+ page :
882+ type : integer
883+ minimum : 1
884+ default : 1
885+ pageSize :
886+ type : integer
887+ minimum : 1
888+ maximum : 100
889+ default : 20
854890 responses :
855891 ' 200 ' :
856- description : Results in the same order as the request.
892+ description : One page of results, in request order .
857893 content :
858894 application/json :
859895 schema :
860896 type : object
861- required : [results]
897+ required : [page, pageSize, total, results]
862898 properties :
899+ page :
900+ type : integer
901+ pageSize :
902+ type : integer
903+ total :
904+ type : integer
905+ description : Total number of requested purls, across all pages.
863906 results :
864907 type : array
865908 items :
0 commit comments