关于接口
接口可作为供其他对象继承的父对象。
例如,Lockable
是一个接口,因为 Issue
和 PullRequest
对象都可以锁定。 接口拥有自己的指定字段列表,这些字段通过实现对象得以共享。
更多信息请参阅“实现。”
Actor
Represents an object which can take actions on GitHub. Typically a User or Bot.
实施者
字段
名称 | 描述 |
---|---|
|
A URL pointing to the actor's public avatar. 参数
The size of the resulting square image. |
|
The username of the actor. |
|
The HTTP path for this actor. |
|
The HTTP URL for this actor. |
Assignable
An object that can have users assigned to it.
AuditEntry
An entry in the audit log.
实施者
MembersCanDeleteReposClearAuditEntry
MembersCanDeleteReposDisableAuditEntry
MembersCanDeleteReposEnableAuditEntry
OauthApplicationCreateAuditEntry
OrgAddBillingManagerAuditEntry
OrgAddMemberAuditEntry
OrgBlockUserAuditEntry
OrgConfigDisableCollaboratorsOnlyAuditEntry
OrgConfigEnableCollaboratorsOnlyAuditEntry
OrgCreateAuditEntry
OrgDisableOauthAppRestrictionsAuditEntry
OrgDisableSamlAuditEntry
OrgDisableTwoFactorRequirementAuditEntry
OrgEnableOauthAppRestrictionsAuditEntry
OrgEnableSamlAuditEntry
OrgEnableTwoFactorRequirementAuditEntry
OrgInviteMemberAuditEntry
OrgInviteToBusinessAuditEntry
OrgOauthAppAccessApprovedAuditEntry
OrgOauthAppAccessDeniedAuditEntry
OrgOauthAppAccessRequestedAuditEntry
OrgRemoveBillingManagerAuditEntry
OrgRemoveMemberAuditEntry
OrgRemoveOutsideCollaboratorAuditEntry
OrgRestoreMemberAuditEntry
OrgUnblockUserAuditEntry
OrgUpdateDefaultRepositoryPermissionAuditEntry
OrgUpdateMemberAuditEntry
OrgUpdateMemberRepositoryCreationPermissionAuditEntry
OrgUpdateMemberRepositoryInvitationPermissionAuditEntry
PrivateRepositoryForkingDisableAuditEntry
PrivateRepositoryForkingEnableAuditEntry
RepoAccessAuditEntry
RepoAddMemberAuditEntry
RepoAddTopicAuditEntry
RepoArchivedAuditEntry
RepoChangeMergeSettingAuditEntry
RepoConfigDisableAnonymousGitAccessAuditEntry
RepoConfigDisableCollaboratorsOnlyAuditEntry
RepoConfigDisableContributorsOnlyAuditEntry
RepoConfigDisableSockpuppetDisallowedAuditEntry
RepoConfigEnableAnonymousGitAccessAuditEntry
RepoConfigEnableCollaboratorsOnlyAuditEntry
RepoConfigEnableContributorsOnlyAuditEntry
RepoConfigEnableSockpuppetDisallowedAuditEntry
RepoConfigLockAnonymousGitAccessAuditEntry
RepoConfigUnlockAnonymousGitAccessAuditEntry
RepoCreateAuditEntry
RepoDestroyAuditEntry
RepoRemoveMemberAuditEntry
RepoRemoveTopicAuditEntry
RepositoryVisibilityChangeDisableAuditEntry
RepositoryVisibilityChangeEnableAuditEntry
TeamAddMemberAuditEntry
TeamAddRepositoryAuditEntry
TeamChangeParentTeamAuditEntry
TeamRemoveMemberAuditEntry
TeamRemoveRepositoryAuditEntry
字段
名称 | 描述 |
---|---|
|
The action name. |
|
The user who initiated the action. |
|
The IP address of the actor. |
|
A readable representation of the actor's location. |
|
The username of the user who initiated the action. |
|
The HTTP path for the actor. |
|
The HTTP URL for the actor. |
|
The time the action was initiated. |
|
The corresponding operation type for the action. |
|
The user affected by the action. |
|
For actions involving two users, the actor is the initiator and the user is the affected user. |
|
The HTTP path for the user. |
|
The HTTP URL for the user. |
Closable
An object that can be closed.
实施者
字段
名称 | 描述 |
---|---|
|
|
|
Identifies the date and time when the object was closed. |
Comment
Represents a comment.
实施者
CommitComment
GistComment
Issue
IssueComment
PullRequest
PullRequestReview
PullRequestReviewComment
TeamDiscussion
TeamDiscussionComment
字段
名称 | 描述 |
---|---|
|
The actor who authored the comment. |
|
Author's association with the subject of the comment. |
|
The body as Markdown. |
|
The body rendered to HTML. |
|
The body rendered to text. |
|
Identifies the date and time when the object was created. |
|
Check if this comment was created via an email reply. |
|
The actor who edited the comment. |
|
Check if this comment was edited and includes an edit with the creation data. |
|
The moment the editor made the last edit. |
|
Identifies when the comment was published at. |
|
Identifies the date and time when the object was last updated. |
|
A list of edits to this content. |
|
Did the viewer author this comment. |
Contribution
Represents a contribution a user made on GitHub, such as opening an issue.
实施者
CreatedCommitContribution
CreatedIssueContribution
CreatedPullRequestContribution
CreatedPullRequestReviewContribution
CreatedRepositoryContribution
JoinedGitHubContribution
RestrictedContribution
字段
名称 | 描述 |
---|---|
|
Whether this contribution is associated with a record you do not have access to. For example, your own 'first issue' contribution may have been made on a repository you can no longer access. |
|
When this contribution was made. |
|
The HTTP path for this contribution. |
|
The HTTP URL for this contribution. |
|
The user who made this contribution. |
Deletable
Entities that can be deleted.
实施者
CommitComment
GistComment
IssueComment
PullRequestReview
PullRequestReviewComment
TeamDiscussion
TeamDiscussionComment
字段
名称 | 描述 |
---|---|
|
Check if the current viewer can delete this object. |
EnterpriseAuditEntryData
Metadata for an audit entry containing enterprise account information.
实施者
MembersCanDeleteReposClearAuditEntry
MembersCanDeleteReposDisableAuditEntry
MembersCanDeleteReposEnableAuditEntry
OrgInviteToBusinessAuditEntry
PrivateRepositoryForkingDisableAuditEntry
PrivateRepositoryForkingEnableAuditEntry
RepositoryVisibilityChangeDisableAuditEntry
RepositoryVisibilityChangeEnableAuditEntry
字段
名称 | 描述 |
---|---|
|
The HTTP path for this enterprise. |
|
The slug of the enterprise. |
|
The HTTP URL for this enterprise. |
GitObject
Represents a Git object.
实施者
字段
名称 | 描述 |
---|---|
|
An abbreviated version of the Git object ID. |
|
The HTTP path for this Git object. |
|
The HTTP URL for this Git object. |
|
The Git object ID. |
|
The Repository the Git object belongs to. |
GitSignature
Information about a signature (GPG or S/MIME) on a Commit or Tag.
实施者
字段
名称 | 描述 |
---|---|
|
Email used to sign this object. |
|
True if the signature is valid and verified by GitHub. |
|
Payload for GPG signing object. Raw ODB object without the signature header. |
|
ASCII-armored signature header from object. |
|
GitHub user corresponding to the email signing this commit. |
|
The state of this signature. |
|
True if the signature was made with GitHub's signing key. |
HovercardContext
An individual line of a hovercard.
实施者
GenericHovercardContext
OrganizationTeamsHovercardContext
OrganizationsHovercardContext
ReviewStatusHovercardContext
ViewerHovercardContext
字段
名称 | 描述 |
---|---|
|
A string describing this context. |
|
An octicon to accompany this context. |
Labelable
An object that can have labels assigned to it.
Lockable
An object that can be locked.
实施者
字段
名称 | 描述 |
---|---|
|
Reason that the conversation was locked. |
|
|
MemberStatusable
Entities that have members who can set status messages.
实施者
字段
名称 | 描述 |
---|---|
|
Get the status messages members of this entity have set that are either public or visible only to the organization. 参数
Returns the elements in the list that come after the specified cursor.
Returns the elements in the list that come before the specified cursor.
Returns the first n elements from the list.
Returns the last n elements from the list.
Ordering options for user statuses returned from the connection. |
Minimizable
Entities that can be minimized.
预览通知
Minimizable
is available under the Minimize comments preview. During the preview period, the API may change without notice.
实施者
字段
名称 | 描述 |
---|---|
|
Returns whether or not a comment has been minimized. |
|
Returns why the comment was minimized. |
|
Check if the current viewer can minimize this object. |
Node
An object with an ID.
实施者
AddedToProjectEvent
App
AssignedEvent
BaseRefChangedEvent
BaseRefForcePushedEvent
Blob
Bot
BranchProtectionRule
CheckRun
CheckSuite
ClosedEvent
CodeOfConduct
CommentDeletedEvent
Commit
CommitComment
CommitCommentThread
ConvertedNoteToIssueEvent
CrossReferencedEvent
DemilestonedEvent
DeployKey
DeployedEvent
Deployment
DeploymentEnvironmentChangedEvent
DeploymentStatus
Enterprise
EnterpriseAdministratorInvitation
EnterpriseIdentityProvider
EnterpriseRepositoryInfo
EnterpriseServerInstallation
EnterpriseServerUserAccount
EnterpriseServerUserAccountEmail
EnterpriseServerUserAccountsUpload
EnterpriseUserAccount
ExternalIdentity
Gist
GistComment
HeadRefDeletedEvent
HeadRefForcePushedEvent
HeadRefRestoredEvent
Issue
IssueComment
Label
LabeledEvent
Language
License
LockedEvent
Mannequin
MarkedAsDuplicateEvent
MembersCanDeleteReposClearAuditEntry
MembersCanDeleteReposDisableAuditEntry
MembersCanDeleteReposEnableAuditEntry
MentionedEvent
MergedEvent
Milestone
MilestonedEvent
MovedColumnsInProjectEvent
OauthApplicationCreateAuditEntry
OrgAddBillingManagerAuditEntry
OrgAddMemberAuditEntry
OrgBlockUserAuditEntry
OrgConfigDisableCollaboratorsOnlyAuditEntry
OrgConfigEnableCollaboratorsOnlyAuditEntry
OrgCreateAuditEntry
OrgDisableOauthAppRestrictionsAuditEntry
OrgDisableSamlAuditEntry
OrgDisableTwoFactorRequirementAuditEntry
OrgEnableOauthAppRestrictionsAuditEntry
OrgEnableSamlAuditEntry
OrgEnableTwoFactorRequirementAuditEntry
OrgInviteMemberAuditEntry
OrgInviteToBusinessAuditEntry
OrgOauthAppAccessApprovedAuditEntry
OrgOauthAppAccessDeniedAuditEntry
OrgOauthAppAccessRequestedAuditEntry
OrgRemoveBillingManagerAuditEntry
OrgRemoveMemberAuditEntry
OrgRemoveOutsideCollaboratorAuditEntry
OrgRestoreMemberAuditEntry
OrgUnblockUserAuditEntry
OrgUpdateDefaultRepositoryPermissionAuditEntry
OrgUpdateMemberAuditEntry
OrgUpdateMemberRepositoryCreationPermissionAuditEntry
OrgUpdateMemberRepositoryInvitationPermissionAuditEntry
Organization
OrganizationIdentityProvider
OrganizationInvitation
PinnedEvent
PinnedIssue
PrivateRepositoryForkingDisableAuditEntry
PrivateRepositoryForkingEnableAuditEntry
Project
ProjectCard
ProjectColumn
PublicKey
PullRequest
PullRequestCommit
PullRequestCommitCommentThread
PullRequestReview
PullRequestReviewComment
PullRequestReviewThread
Push
PushAllowance
Reaction
ReadyForReviewEvent
Ref
ReferencedEvent
RegistryPackage
RegistryPackageDependency
RegistryPackageFile
RegistryPackageTag
RegistryPackageVersion
Release
ReleaseAsset
RemovedFromProjectEvent
RenamedTitleEvent
ReopenedEvent
RepoAccessAuditEntry
RepoAddMemberAuditEntry
RepoAddTopicAuditEntry
RepoArchivedAuditEntry
RepoChangeMergeSettingAuditEntry
RepoConfigDisableAnonymousGitAccessAuditEntry
RepoConfigDisableCollaboratorsOnlyAuditEntry
RepoConfigDisableContributorsOnlyAuditEntry
RepoConfigDisableSockpuppetDisallowedAuditEntry
RepoConfigEnableAnonymousGitAccessAuditEntry
RepoConfigEnableCollaboratorsOnlyAuditEntry
RepoConfigEnableContributorsOnlyAuditEntry
RepoConfigEnableSockpuppetDisallowedAuditEntry
RepoConfigLockAnonymousGitAccessAuditEntry
RepoConfigUnlockAnonymousGitAccessAuditEntry
RepoCreateAuditEntry
RepoDestroyAuditEntry
RepoRemoveMemberAuditEntry
RepoRemoveTopicAuditEntry
Repository
RepositoryInvitation
RepositoryTopic
RepositoryVisibilityChangeDisableAuditEntry
RepositoryVisibilityChangeEnableAuditEntry
RepositoryVulnerabilityAlert
ReviewDismissalAllowance
ReviewDismissedEvent
ReviewRequest
ReviewRequestRemovedEvent
ReviewRequestedEvent
SavedReply
SecurityAdvisory
Sponsorship
Status
StatusContext
SubscribedEvent
Tag
Team
TeamAddMemberAuditEntry
TeamAddRepositoryAuditEntry
TeamChangeParentTeamAuditEntry
TeamDiscussion
TeamDiscussionComment
TeamRemoveMemberAuditEntry
TeamRemoveRepositoryAuditEntry
Topic
TransferredEvent
Tree
UnassignedEvent
UnlabeledEvent
UnlockedEvent
UnpinnedEvent
UnsubscribedEvent
User
UserBlockedEvent
UserContentEdit
UserStatus
字段
名称 | 描述 |
---|---|
|
ID of the object. |
OauthApplicationAuditEntryData
Metadata for an audit entry with action oauth_application.*.
实施者
OauthApplicationCreateAuditEntry
OrgOauthAppAccessApprovedAuditEntry
OrgOauthAppAccessDeniedAuditEntry
OrgOauthAppAccessRequestedAuditEntry
字段
名称 | 描述 |
---|---|
|
The name of the OAuth Application. |
|
The HTTP path for the OAuth Application. |
|
The HTTP URL for the OAuth Application. |
OrganizationAuditEntryData
Metadata for an audit entry with action org.*.
实施者
MembersCanDeleteReposClearAuditEntry
MembersCanDeleteReposDisableAuditEntry
MembersCanDeleteReposEnableAuditEntry
OauthApplicationCreateAuditEntry
OrgAddBillingManagerAuditEntry
OrgAddMemberAuditEntry
OrgBlockUserAuditEntry
OrgConfigDisableCollaboratorsOnlyAuditEntry
OrgConfigEnableCollaboratorsOnlyAuditEntry
OrgCreateAuditEntry
OrgDisableOauthAppRestrictionsAuditEntry
OrgDisableSamlAuditEntry
OrgDisableTwoFactorRequirementAuditEntry
OrgEnableOauthAppRestrictionsAuditEntry
OrgEnableSamlAuditEntry
OrgEnableTwoFactorRequirementAuditEntry
OrgInviteMemberAuditEntry
OrgInviteToBusinessAuditEntry
OrgOauthAppAccessApprovedAuditEntry
OrgOauthAppAccessDeniedAuditEntry
OrgOauthAppAccessRequestedAuditEntry
OrgRemoveBillingManagerAuditEntry
OrgRemoveMemberAuditEntry
OrgRemoveOutsideCollaboratorAuditEntry
OrgRestoreMemberAuditEntry
OrgRestoreMemberMembershipOrganizationAuditEntryData
OrgUnblockUserAuditEntry
OrgUpdateDefaultRepositoryPermissionAuditEntry
OrgUpdateMemberAuditEntry
OrgUpdateMemberRepositoryCreationPermissionAuditEntry
OrgUpdateMemberRepositoryInvitationPermissionAuditEntry
PrivateRepositoryForkingDisableAuditEntry
PrivateRepositoryForkingEnableAuditEntry
RepoAccessAuditEntry
RepoAddMemberAuditEntry
RepoAddTopicAuditEntry
RepoArchivedAuditEntry
RepoChangeMergeSettingAuditEntry
RepoConfigDisableAnonymousGitAccessAuditEntry
RepoConfigDisableCollaboratorsOnlyAuditEntry
RepoConfigDisableContributorsOnlyAuditEntry
RepoConfigDisableSockpuppetDisallowedAuditEntry
RepoConfigEnableAnonymousGitAccessAuditEntry
RepoConfigEnableCollaboratorsOnlyAuditEntry
RepoConfigEnableContributorsOnlyAuditEntry
RepoConfigEnableSockpuppetDisallowedAuditEntry
RepoConfigLockAnonymousGitAccessAuditEntry
RepoConfigUnlockAnonymousGitAccessAuditEntry
RepoCreateAuditEntry
RepoDestroyAuditEntry
RepoRemoveMemberAuditEntry
RepoRemoveTopicAuditEntry
RepositoryVisibilityChangeDisableAuditEntry
RepositoryVisibilityChangeEnableAuditEntry
TeamAddMemberAuditEntry
TeamAddRepositoryAuditEntry
TeamChangeParentTeamAuditEntry
TeamRemoveMemberAuditEntry
TeamRemoveRepositoryAuditEntry
字段
名称 | 描述 |
---|---|
|
The Organization associated with the Audit Entry. |
|
The name of the Organization. |
|
The HTTP path for the organization. |
|
The HTTP URL for the organization. |
ProfileOwner
Represents any entity on GitHub that has a profile page.
实施者
字段
名称 | 描述 |
---|---|
|
Determine if this repository owner has any items that can be pinned to their profile. 参数
Filter to only a particular kind of pinnable item. |
|
The public profile email. |
|
Showcases a selection of repositories and gists that the profile owner has either curated or that have been selected automatically based on popularity. |
|
The public profile location. |
|
The username used to login. |
|
The public profile name. |
|
A list of repositories and gists this profile owner can pin to their profile. 参数
Returns the elements in the list that come after the specified cursor.
Returns the elements in the list that come before the specified cursor.
Returns the first n elements from the list.
Returns the last n elements from the list.
Filter the types of pinnable items that are returned. |
|
A list of repositories and gists this profile owner has pinned to their profile. 参数
Returns the elements in the list that come after the specified cursor.
Returns the elements in the list that come before the specified cursor.
Returns the first n elements from the list.
Returns the last n elements from the list.
Filter the types of pinned items that are returned. |
|
Returns how many more items this profile owner can pin to their profile. |
|
Can the viewer pin repositories and gists to the profile?. |
|
The public profile website URL. |
ProjectOwner
Represents an owner of a Project.
实施者
字段
名称 | 描述 |
---|---|
|
Find project by number. 参数
The project number to find. |
|
A list of projects under the owner. 参数
Returns the elements in the list that come after the specified cursor.
Returns the elements in the list that come before the specified cursor.
Returns the first n elements from the list.
Returns the last n elements from the list.
Ordering options for projects returned from the connection.
Query to search projects by, currently only searching by name.
A list of states to filter the projects by. |
|
The HTTP path listing owners projects. |
|
The HTTP URL listing owners projects. |
|
Can the current viewer create new projects on this owner. |
Reactable
Represents a subject that can be reacted on.
实施者
CommitComment
Issue
IssueComment
PullRequest
PullRequestReview
PullRequestReviewComment
TeamDiscussion
TeamDiscussionComment
字段
名称 | 描述 |
---|---|
|
Identifies the primary key from the database. |
|
A list of reactions grouped by content left on the subject. |
|
A list of Reactions left on the Issue. 参数
Returns the elements in the list that come after the specified cursor.
Returns the elements in the list that come before the specified cursor.
Allows filtering Reactions by emoji.
Returns the first n elements from the list.
Returns the last n elements from the list.
Allows specifying the order in which reactions are returned. |
|
Can user react to this subject. |
RegistryPackageOwner
Represents an owner of a registry package.
实施者
字段
名称 | 描述 |
---|---|
|
A list of registry packages under the owner. 参数
Returns the elements in the list that come after the specified cursor.
Returns the elements in the list that come before the specified cursor.
Returns the first n elements from the list.
Returns the last n elements from the list.
Find registry package by name.
Find registry packages by their names.
Filter registry package by type.
Filter registry package by whether it is publicly visible. The default value is
Filter registry package by type (string).
Find registry packages in a repository. |
RegistryPackageSearch
Represents an interface to search packages on an object.
实施者
字段
名称 | 描述 |
---|---|
|
A list of registry packages for a particular search query. 参数
Returns the elements in the list that come after the specified cursor.
Returns the elements in the list that come before the specified cursor.
Returns the first n elements from the list.
Returns the last n elements from the list.
Filter registry package by type.
Find registry package by search query. |
RepositoryAuditEntryData
Metadata for an audit entry with action repo.*.
实施者
OrgRestoreMemberMembershipRepositoryAuditEntryData
PrivateRepositoryForkingDisableAuditEntry
PrivateRepositoryForkingEnableAuditEntry
RepoAccessAuditEntry
RepoAddMemberAuditEntry
RepoAddTopicAuditEntry
RepoArchivedAuditEntry
RepoChangeMergeSettingAuditEntry
RepoConfigDisableAnonymousGitAccessAuditEntry
RepoConfigDisableCollaboratorsOnlyAuditEntry
RepoConfigDisableContributorsOnlyAuditEntry
RepoConfigDisableSockpuppetDisallowedAuditEntry
RepoConfigEnableAnonymousGitAccessAuditEntry
RepoConfigEnableCollaboratorsOnlyAuditEntry
RepoConfigEnableContributorsOnlyAuditEntry
RepoConfigEnableSockpuppetDisallowedAuditEntry
RepoConfigLockAnonymousGitAccessAuditEntry
RepoConfigUnlockAnonymousGitAccessAuditEntry
RepoCreateAuditEntry
RepoDestroyAuditEntry
RepoRemoveMemberAuditEntry
RepoRemoveTopicAuditEntry
TeamAddRepositoryAuditEntry
TeamRemoveRepositoryAuditEntry
字段
名称 | 描述 |
---|---|
|
The repository associated with the action. |
|
The name of the repository. |
|
The HTTP path for the repository. |
|
The HTTP URL for the repository. |
RepositoryInfo
A subset of repository info.
实施者
字段
名称 | 描述 |
---|---|
|
Identifies the date and time when the object was created. |
|
The description of the repository. |
|
The description of the repository rendered to HTML. |
|
Returns how many forks there are of this repository in the whole network. |
|
Indicates if the repository has anonymous Git read access feature enabled. |
|
Indicates if the repository has issues feature enabled. |
|
Indicates if the repository has wiki feature enabled. |
|
The repository's URL. |
|
Indicates if the repository is unmaintained. |
|
Identifies if the repository is a fork. |
|
Indicates if the repository has been locked or not. |
|
Identifies if the repository is a mirror. |
|
Identifies if the repository is private. |
|
Identifies if the repository is a template that can be used to generate new repositories. |
|
The license associated with the repository. |
|
The reason the repository has been locked. |
|
The repository's original mirror URL. |
|
The name of the repository. |
|
The repository's name with owner. |
|
The image used to represent this repository in Open Graph data. |
|
The User owner of the repository. |
|
Identifies when the repository was last pushed to. |
|
The HTTP path for this repository. |
|
A description of the repository, rendered to HTML without any links in it. 参数 |
|
Identifies the date and time when the object was last updated. |
|
The HTTP URL for this repository. |
|
Whether this repository has a custom image to use with Open Graph as opposed to being represented by the owner's avatar. |
RepositoryNode
Represents a object that belongs to a repository.
实施者
CommitComment
CommitCommentThread
Issue
IssueComment
PullRequest
PullRequestCommitCommentThread
PullRequestReview
PullRequestReviewComment
RepositoryVulnerabilityAlert
字段
名称 | 描述 |
---|---|
|
The repository associated with this node. |
RepositoryOwner
Represents an owner of a Repository.
实施者
字段
名称 | 描述 |
---|---|
|
A URL pointing to the owner's public avatar. 参数
The size of the resulting square image. |
|
The username used to login. |
|
A list of repositories this user has pinned to their profile. 废弃通知
pinnedRepositories will be removed Use ProfileOwner.pinnedItems instead. Removal on 2019-10-01 UTC. 参数
Array of viewer's affiliation options for repositories returned from the connection. For example, OWNER will include only repositories that the current viewer owns.
Returns the elements in the list that come after the specified cursor.
Returns the elements in the list that come before the specified cursor.
Returns the first n elements from the list.
If non-null, filters repositories according to whether they have been locked.
Returns the last n elements from the list.
Ordering options for repositories returned from the connection.
Array of owner's affiliation options for repositories returned from the connection. For example, OWNER will include only repositories that the organization or user being viewed owns.
If non-null, filters repositories according to privacy. |
|
A list of repositories that the user owns. 参数
Array of viewer's affiliation options for repositories returned from the connection. For example, OWNER will include only repositories that the current viewer owns.
Returns the elements in the list that come after the specified cursor.
Returns the elements in the list that come before the specified cursor.
Returns the first n elements from the list.
If non-null, filters repositories according to whether they are forks of another repository.
If non-null, filters repositories according to whether they have been locked.
Returns the last n elements from the list.
Ordering options for repositories returned from the connection.
Array of owner's affiliation options for repositories returned from the connection. For example, OWNER will include only repositories that the organization or user being viewed owns.
If non-null, filters repositories according to privacy. |
|
Find Repository. 参数
Name of Repository to find. |
|
The HTTP URL for the owner. |
|
The HTTP URL for the owner. |
Sponsorable
Entities that can be sponsored through GitHub Sponsors.
实施者
字段
名称 | 描述 |
---|---|
|
This object's sponsorships as the maintainer. 参数
Returns the elements in the list that come after the specified cursor.
Returns the elements in the list that come before the specified cursor.
Returns the first n elements from the list.
Whether or not to include private sponsorships in the result set. The default value is
Returns the last n elements from the list.
Ordering options for sponsorships returned from this connection. If left blank, the sponsorships will be ordered based on relevancy to the viewer. |
|
This object's sponsorships as the sponsor. 参数
Returns the elements in the list that come after the specified cursor.
Returns the elements in the list that come before the specified cursor.
Returns the first n elements from the list.
Returns the last n elements from the list.
Ordering options for sponsorships returned from this connection. If left blank, the sponsorships will be ordered based on relevancy to the viewer. |
Starrable
Things that can be starred.
实施者
字段
名称 | 描述 |
---|---|
|
A list of users who have starred this starrable. 参数
Returns the elements in the list that come after the specified cursor.
Returns the elements in the list that come before the specified cursor.
Returns the first n elements from the list.
Returns the last n elements from the list.
Order for connection. |
|
Returns a boolean indicating whether the viewing user has starred this starrable. |
Subscribable
Entities that can be subscribed to for web and email notifications.
实施者
字段
名称 | 描述 |
---|---|
|
Check if the viewer is able to change their subscription status for the repository. |
|
Identifies if the viewer is watching, not watching, or ignoring the subscribable entity. |
TeamAuditEntryData
Metadata for an audit entry with action team.*.
实施者
OrgRestoreMemberMembershipTeamAuditEntryData
TeamAddMemberAuditEntry
TeamAddRepositoryAuditEntry
TeamChangeParentTeamAuditEntry
TeamRemoveMemberAuditEntry
TeamRemoveRepositoryAuditEntry
字段
名称 | 描述 |
---|---|
|
The team associated with the action. |
|
The name of the team. |
|
The HTTP path for this team. |
|
The HTTP URL for this team. |
TopicAuditEntryData
Metadata for an audit entry with a topic.
实施者
字段
名称 | 描述 |
---|---|
|
The name of the topic added to the repository. |
|
The name of the topic added to the repository. |
UniformResourceLocatable
Represents a type that can be retrieved by a URL.
实施者
Bot
CheckRun
ClosedEvent
Commit
CrossReferencedEvent
Gist
Issue
Mannequin
MergedEvent
Milestone
Organization
PullRequest
PullRequestCommit
ReadyForReviewEvent
Release
Repository
RepositoryTopic
ReviewDismissedEvent
TeamDiscussion
TeamDiscussionComment
User
字段
名称 | 描述 |
---|---|
|
The HTML path to this resource. |
|
The URL to this resource. |
Updatable
Entities that can be updated.
实施者
CommitComment
GistComment
Issue
IssueComment
Project
PullRequest
PullRequestReview
PullRequestReviewComment
TeamDiscussion
TeamDiscussionComment
字段
名称 | 描述 |
---|---|
|
Check if the current viewer can update this object. |
UpdatableComment
Comments that can be updated.
实施者
CommitComment
GistComment
Issue
IssueComment
PullRequest
PullRequestReview
PullRequestReviewComment
TeamDiscussion
TeamDiscussionComment
字段
名称 | 描述 |
---|---|
|
Reasons why the current viewer can not update this comment. |