@@ -58,24 +58,20 @@ RESTful principles for predictability and ease of consumption.
5858### Ecosystem Projects
5959
6060- ` GET /projects ` — List projects with pagination and filters.
61-
6261 - Query params: ` type=pg_root ` , ` activity_status=live ` , ` search=keyword ` , ` limit=50 ` , ` offset=0 ` .
6362 - Response: Paginated list with basic fields (canonical_id, display_name, type, activity_status,
6463 git_org_url, criticality_score, pony_factor, adoption_score).
6564
6665- ` GET /projects/{canonical_id} ` — Detailed project view.
67-
6866 - Includes: metadata, activity_status, aggregated metrics (criticality_score, pony_factor,
6967 adoption_score), list of child repos with their metrics.
7068
7169- ` GET /projects/{canonical_id}/repos ` — List all repos belonging to this project.
72-
7370 - Response: Array of repo objects with per-repo metrics and metadata.
7471
7572### Repos
7673
7774- ` GET /repos ` — List repos with pagination and filters.
78-
7975 - Query params: ` project_id=... ` , ` activity_status=live ` , ` search=keyword ` , ` limit=50 ` , ` offset=0 ` .
8076 - Response: Paginated list with basic fields (canonical_id, display_name, project_id,
8177 activity_status, latest_version, latest_commit_date, criticality_score, pony_factor,
@@ -88,11 +84,9 @@ RESTful principles for predictability and ease of consumption.
8884### Dependencies
8985
9086- ` GET /repos/{canonical_id}/dependents ` — Direct (active) dependents of this repo.
91-
9287 - Query: ` active=true ` , ` within_ecosystem=true ` .
9388
9489- ` GET /repos/{canonical_id}/dependencies ` — Direct/upstream dependencies of this repo.
95-
9690 - Query: ` active=true ` , ` within_ecosystem=true ` .
9791
9892- ` GET /repos/{canonical_id}/blast-radius ` — Transitive within-ecosystem dependents. Only available
@@ -109,7 +103,6 @@ RESTful principles for predictability and ease of consumption.
109103These are early thoughts. Needs to be revisited after fleshing out use cases.
110104
111105- ` GET /scores ` — Leaderboard of PGs sorted by composite or individual metric.
112-
113106 - Query: ` sort=-criticality_score ` , ` min_criticality=5 ` , ` level=project ` (default) or ` level=repo ` .
114107
115108- ` GET /scores/{canonical_id} ` — Full PG Score breakdown (components JSON).
0 commit comments