Metrics

Top-N read sections or snippets (path + heading), one kind at a time.

Changed on

Returns the top-N most-read sections or code snippets (per kind), keyed by document path + heading.

Distinct sections within the same document rank separately.

Section and snippet reads are never combined in one query: a prose section and a code snippet under the same heading share an identical (path, heading) pair.

Combining kinds would merge their counts.

get/api/v1/orgs/{orgId}/metrics/leaderboard/sections

Request

  • The document declares no server URL.
  • Auth: none declared

Path parameters

orgIdstring required

Query parameters

windowstring
kindstring required
librarystring
integer
OR
string int32
usersstring[]

Response

OK

itemstring required
librarystring nullable required

Changes