Actions36
- File Actions
- Issue Actions
- Organization Actions
- Release Actions
- Repository Actions
- Review Actions
- User Actions
- Workflow Actions
Repository → List Popular Paths
AI-generatedOverview
This node operation 'List Popular Paths' under the 'Repository' resource fetches the top 10 popular content paths in a specified GitHub repository over the last 14 days. It is useful for analyzing which parts of a repository are most frequently accessed or viewed, helping maintainers understand user interest and activity within the repository. For example, a developer or project manager can use this to identify popular documentation files or key source code directories.
Use Case Examples
- A project manager wants to see which documentation files in the 'n8n-io/n8n' repository are most popular to prioritize updates.
- A developer wants to analyze which source code paths in their repository receive the most traffic to optimize performance or add features.
Properties
| Name | Meaning |
|---|---|
| Repository Owner | The owner of the GitHub repository, which can be selected by list, URL, or name. This identifies the user or organization that owns the repository. |
| Repository Name | The name of the GitHub repository to query, selectable by list, URL, or name. This specifies the target repository for which popular paths are listed. |
Output
JSON
path- The path of the content within the repository.count- The number of views or hits the path received in the last 14 days.uniques- The number of unique visitors to the path in the last 14 days.
Dependencies
- Requires GitHub API access authenticated via a GitHub App credential.
Troubleshooting
- Ensure the 'Repository Owner' and 'Repository Name' inputs are valid and correctly formatted URLs or names to avoid validation errors.
- If the API returns an error, check that the GitHub App credentials have the necessary permissions to access repository traffic data.
- Network or permission issues may cause failures; verify the GitHub App installation and token validity.
Links
- GitHub API - Get Popular Content Paths - Official GitHub API documentation for retrieving popular content paths in a repository.