GithubClient
GithubClient.Repositories
Repository Class
The ultimate source for the network
public class Repository : GithubClient.Repositories.GitObject
Inheritance System.Object 🡒 GitObject 🡒 Repository
See Also
| Constructors | Â |
|---|---|
| Repository(string) | Default ctor with required properties |
| Fields | Â |
|---|---|
| Api | Github API Url |
| Properties | Â |
|---|---|
| AllowForking | Either true to allow private forks, or false to prevent private forks |
| Archived | true to archive this repository. Note: You cannot unarchive repositories through the API |
| ArchiveUrl | Github API Endpoint Url |
| AssigneesUrl | Github API Endpoint Url |
| BlobsUrl | Github API Endpoint Url |
| BranchesUrl | Github API Endpoint Url |
| CloneUrl | Http Clone Url |
| CollaboratorsUrl | Github API Endpoint Url |
| CommentsUrl | Github API Endpoint Url |
| CommitsUrl | Github API Endpoint Url |
| CompareUrl | Github API Endpoint Url |
| ContentsUrl | Github API Endpoint Url |
| ContributorsUrl | Github API Endpoint Url |
| CreatedAt | Repository Creation Date |
| DefaultBranch | Default repository branch |
| DeploymentsUrl | Github API Endpoint Url |
| Description | A short description of the repository |
| Disabled | True or False |
| DownloadsUrl | Github API Endpoint Url |
| EventsUrl | Github API Endpoint Url |
| Fork | True if this repository is forked |
| Forks | Number of forks |
| ForksCount | Count of Forks |
| ForksUrl | Github API Endpoint Url |
| FullName | A short description of the repository |
| GitCommitsUrl | Github API Endpoint Url |
| GitRefsUrl | Github API Endpoint Url |
| GitTagsUrl | Github API Endpoint Url |
| GitUrl | Git Clone Url |
| HasDownloads | True or False if downloads are available |
| HasIssues | Either true to enable issues for this repository or false to disable them |
| HasPages | Either true to enable the pages for this repository or false to disable it. |
| HasProjects | Either true to enable projects for this repository or false to disable them |
| HasWiki | Either true to enable the wiki for this repository or false to disable it. |
| Homepage | A URL with more information about the repository |
| HooksUrl | Github API Endpoint Url |
| HtmlUrl | A Url to view this object in a browser |
| Id | Github Id |
| IssueCommentUrl | Github API Endpoint Url |
| IssueEventsUrl | Github API Endpoint Url |
| IssuesUrl | Github API Endpoint Url |
| IsTemplate | Either true to make this repo available as a template repository or false to prevent it |
| KeysUrl | Github API Endpoint Url |
| LabelsUrl | Github API Endpoint Url |
| Language | Repository Language |
| LanguagesUrl | Github API Endpoint Url |
| License | License Object |
| MergesUrl | Github API Endpoint Url |
| MilestonesUrl | Github API Endpoint Url |
| MirrorUrl | Mirror Url |
| Name | The name of the repository. |
| NodeId | Id of a Node (Node is a generic term for an object) used in GraphQL |
| NotificationsUrl | Github API Endpoint Url |
| OpenIssues | Count of Open issues |
| OpenIssuesCount | Count of open issues |
| Owner | Owner object |
| Permissions | Permissions object |
| Private | Either true to make the repository private or false to make it public |
| PullsUrl | Github API Endpoint Url |
| PushedAt | Most recent push |
| ReleasesUrl | Github API Endpoint Url |
| Size | Size in bytes |
| SshUrl | Ssh Clone Url |
| StargazersCount | Count of Stargazers |
| StargazersUrl | Github API Endpoint Url |
| StatusesUrl | Github API Endpoint Url |
| SubscribersUrl | Github API Endpoint Url |
| SubscriptionUrl | Github API Endpoint Url |
| SvnUrl | Svn Clone Url |
| TagsUrl | Github API Endpoint Url |
| TeamsUrl | Github API Endpoint Url |
| Topics | Topic List |
| TreesUrl | Github API Endpoint Url |
| UpdatedAt | Repository Update Date |
| Visibility | Can be public or private |
| Watchers | Number of watchers |
| WatchersCount | Count of Watchers |
| WebCommitSignoffRequired | True or False for signoff |
| Methods | Â |
|---|---|
| GetApiUrl() | A method to return the API Url |
| GetEndpoint(string, string) | Â |
| GetHeader() | A method to return the default header |
| GetOrgEndpoint(string) | Â |
| GetOrgEndpoint(string, int, int) | Â |
| GetOrgEndpoint(string, int, int, string, string) | Â |
| PostEndpoint() | Â |
| PostOrgEndpoint(string) | Â |