repos

Get top referral paths

Get the top 10 popular contents over the last 14 days.

get/repos/{owner}/{repo}/traffic/popular/paths

Request

  • Base URL: https://api.github.com
  • URL: https://api.github.com/repos/{owner}/{repo}/traffic/popular/paths
  • Auth: none declared

Path parameters

ownerstring required

The account owner of the repository. The name is not case sensitive.

repostring required

The name of the repository without the .git extension. The name is not case sensitive.

Response

Response

pathstring required
titlestring required
countinteger required
uniquesinteger required

Example response

[
  {
    "path": "/github/hubot",
    "title": "github/hubot: A customizable life embetterment robot.",
    "count": 3542,
    "uniques": 2225
  }
]

Changes

No recorded changes to this operation across all 23 revisions of this API.