files

Slim per-file rows for the browsable Files index + treemap.

One row per indexed file node, joined in-memory from the artifacts the indexer already uploads (graph nodes, graph metrics, health metrics, git metadata). Importance (pagerank) percentiles are computed once over the full set — before any limit/offset slice, whose window is applied last (totals always reflects the full pre-slice set). Returns state='not_available' when the snapshot has no graph artifact (pre-graph index) so the page renders an honest empty state.

get/snapshots/{snapshot_id}/files

Request

  • Base URL: https://api.repowise.dev (the document declares no server; this is the origin it was published from)
  • URL: https://api.repowise.dev/snapshots/{snapshot_id}/files
  • Auth: HTTP bearer

Path parameters

snapshot_idstring required

Query parameters

limitinteger nullable

Rows returned; omit for the full list (treemap default)

offsetinteger

Rows to skip (with limit)

Response

Successful Response

language_countsobject
totalsobject
loc_unitstring
loc_null_reasonstring nullable
statestring
reasonstring nullable

Changes

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status