Queries
id
ID of the object.
Tipo: ID!
relay
Workaround for re-exposing the root query object. (Refer to https://github.com/facebook/relay/issues/112 for more information.).
Tipo: Query!
Mutations
addEnterpriseAdmin
Adds an administrator to the global enterprise account.
Campos de entrada para addEnterpriseAdmin
input(AddEnterpriseAdminInput!)
Campos de retorno para addEnterpriseAdmin
| Nome | Descrição |
|---|---|
| The user who was added as an administrator. |
| A unique identifier for the client performing the mutation. |
| The updated enterprise. |
| The role of the administrator. |
| The viewer performing the mutation. |
createTeamDiscussion
Creates a new team discussion.
Campos de entrada para createTeamDiscussion
input(CreateTeamDiscussionInput!)
Campos de retorno para createTeamDiscussion
| Nome | Descrição |
|---|---|
| A unique identifier for the client performing the mutation. |
| The new discussion. Aviso
The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC. |
createTeamDiscussionComment
Creates a new team discussion comment.
Campos de entrada para createTeamDiscussionComment
Campos de retorno para createTeamDiscussionComment
| Nome | Descrição |
|---|---|
| A unique identifier for the client performing the mutation. |
| The new comment. Aviso
The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC. |
deleteTeamDiscussion
Deletes a team discussion.
Campos de entrada para deleteTeamDiscussion
input(DeleteTeamDiscussionInput!)
Campos de retorno para deleteTeamDiscussion
| Nome | Descrição |
|---|---|
| A unique identifier for the client performing the mutation. |
deleteTeamDiscussionComment
Deletes a team discussion comment.
Campos de entrada para deleteTeamDiscussionComment
Campos de retorno para deleteTeamDiscussionComment
| Nome | Descrição |
|---|---|
| A unique identifier for the client performing the mutation. |
updateEnterpriseTeamDiscussionsSetting
Sets whether team discussions are enabled for an enterprise.
Campos de entrada para updateEnterpriseTeamDiscussionsSetting
Campos de retorno para updateEnterpriseTeamDiscussionsSetting
| Nome | Descrição |
|---|---|
| A unique identifier for the client performing the mutation. |
| The enterprise with the updated team discussions setting. |
| A message confirming the result of updating the team discussions setting. |
updateTeamDiscussion
Updates a team discussion.
Campos de entrada para updateTeamDiscussion
input(UpdateTeamDiscussionInput!)
Campos de retorno para updateTeamDiscussion
| Nome | Descrição |
|---|---|
| A unique identifier for the client performing the mutation. |
| The updated discussion. |
updateTeamDiscussionComment
Updates a discussion comment.
Campos de entrada para updateTeamDiscussionComment
Campos de retorno para updateTeamDiscussionComment
| Nome | Descrição |
|---|---|
| A unique identifier for the client performing the mutation. |
| The updated comment. |
Objects
PageInfo
Information about pagination in a connection.
Campos para PageInfo
| Nome | Descrição |
|---|---|
| When paginating forwards, the cursor to continue. |
| When paginating forwards, are there more items?. |
| When paginating backwards, are there more items?. |
| When paginating backwards, the cursor to continue. |
TeamDiscussion
A team discussion.
TeamDiscussion Implementa
Campos para TeamDiscussion
| Nome | Descrição |
|---|---|
| The actor who authored the comment. |
| Author's association with the discussion's team. Aviso
The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC. |
| The body as Markdown. |
| The body rendered to HTML. |
| The body rendered to text. |
| Identifies the discussion body hash. Aviso
The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC. |
| A list of comments on this discussion. Aviso
The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC. Argumentos para
|
| The HTTP path for discussion comments. Aviso
The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC. |
| The HTTP URL for discussion comments. Aviso
The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC. |
| Identifies the date and time when the object was created. |
| Check if this comment was created via an email reply. |
| Identifies the primary key from the database. |
| The actor who edited the comment. |
| The Node ID of the TeamDiscussion object. |
| Check if this comment was edited and includes an edit with the creation data. |
| Whether or not the discussion is pinned. Aviso
The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC. |
| Whether or not the discussion is only visible to team members and organization owners. Aviso
The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC. |
| The moment the editor made the last edit. |
| Identifies the discussion within its team. Aviso
The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC. |
| Identifies when the comment was published at. |
| A list of reactions grouped by content left on the subject. |
| A list of Reactions left on the Issue. Argumentos para
|
| The HTTP path for this discussion. Aviso
The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC. |
| The team that defines the context of this discussion. Aviso
The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC. |
| The title of the discussion. Aviso
The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC. |
| Identifies the date and time when the object was last updated. |
| The HTTP URL for this discussion. Aviso
The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC. |
| A list of edits to this content. Argumentos para
|
| Check if the current viewer can delete this object. |
| Whether or not the current viewer can pin this discussion. Aviso
The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC. |
| Can user react to this subject. |
| Check if the viewer is able to change their subscription status for the repository. |
| Check if the current viewer can update this object. |
| Reasons why the current viewer can not update this comment. |
| Did the viewer author this comment. |
| Identifies if the viewer is watching, not watching, or ignoring the subscribable entity. |
TeamDiscussionComment
A comment on a team discussion.
TeamDiscussionComment Implementa
Campos para TeamDiscussionComment
| Nome | Descrição |
|---|---|
| The actor who authored the comment. |
| Author's association with the comment's team. Aviso
The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC. |
| The body as Markdown. |
| The body rendered to HTML. |
| The body rendered to text. |
| The current version of the body content. Aviso
The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC. |
| Identifies the date and time when the object was created. |
| Check if this comment was created via an email reply. |
| Identifies the primary key from the database. |
| The discussion this comment is about. Aviso
The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC. |
| The actor who edited the comment. |
| The Node ID of the TeamDiscussionComment object. |
| Check if this comment was edited and includes an edit with the creation data. |
| The moment the editor made the last edit. |
| Identifies the comment number. Aviso
The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC. |
| Identifies when the comment was published at. |
| A list of reactions grouped by content left on the subject. |
| A list of Reactions left on the Issue. Argumentos para
|
| The HTTP path for this comment. Aviso
The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC. |
| Identifies the date and time when the object was last updated. |
| The HTTP URL for this comment. Aviso
The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC. |
| A list of edits to this content. Argumentos para
|
| Check if the current viewer can delete this object. |
| Can user react to this subject. |
| Check if the current viewer can update this object. |
| Reasons why the current viewer can not update this comment. |
| Did the viewer author this comment. |
TeamDiscussionCommentConnection
The connection type for TeamDiscussionComment.
Campos para TeamDiscussionCommentConnection
| Nome | Descrição |
|---|---|
| A list of edges. |
| A list of nodes. |
| Information to aid in pagination. |
| Identifies the total count of items in the connection. |
TeamDiscussionCommentEdge
An edge in a connection.
Campos para TeamDiscussionCommentEdge
| Nome | Descrição |
|---|---|
| A cursor for use in pagination. |
| The item at the end of the edge. |
TeamDiscussionConnection
The connection type for TeamDiscussion.
Campos para TeamDiscussionConnection
| Nome | Descrição |
|---|---|
| A list of edges. |
| A list of nodes. |
| Information to aid in pagination. |
| Identifies the total count of items in the connection. |
TeamDiscussionEdge
An edge in a connection.
Campos para TeamDiscussionEdge
| Nome | Descrição |
|---|---|
| A cursor for use in pagination. |
| The item at the end of the edge. |
Interfaces
AnnouncementBannerI
Represents an announcement banner.
AnnouncementBannerI é implementado por
Campos para AnnouncementBannerI
| Nome | Descrição |
|---|---|
| The text of the announcement. Aviso
The individual |
| The date the announcement was created. Aviso
The individual |
| The expiration date of the announcement, if any. Aviso
The individual |
| Whether the announcement can be dismissed by the user. Aviso
The individual |
Enums
TeamDiscussionCommentOrderField
Properties by which team discussion comment connections can be ordered.
Valores para TeamDiscussionCommentOrderField
| Nome | Descrição |
|---|---|
NUMBER | Allows sequential ordering of team discussion comments (which is equivalent to chronological ordering). |
Input objects
AddEnterpriseAdminInput
Autogenerated input type of AddEnterpriseAdmin.
Campos de entrada para AddEnterpriseAdminInput
| Nome | Descrição |
|---|---|
| A unique identifier for the client performing the mutation. |
| The ID of the enterprise account to which the administrator should be added. |
| The login of the user to add as an administrator. |
CreateTeamDiscussionCommentInput
Autogenerated input type of CreateTeamDiscussionComment.
Campos de entrada para CreateTeamDiscussionCommentInput
| Nome | Descrição |
|---|---|
| The content of the comment. This field is required. Upcoming Change on 2024-07-01 UTC
Description: |
| A unique identifier for the client performing the mutation. |
| The ID of the discussion to which the comment belongs. This field is required. Upcoming Change on 2024-07-01 UTC
Description: |
CreateTeamDiscussionInput
Autogenerated input type of CreateTeamDiscussion.
Campos de entrada para CreateTeamDiscussionInput
| Nome | Descrição |
|---|---|
| The content of the discussion. This field is required. Upcoming Change on 2024-07-01 UTC
Description: |
| A unique identifier for the client performing the mutation. |
| If true, restricts the visibility of this discussion to team members and organization owners. If false or not specified, allows any organization member to view this discussion. Upcoming Change on 2024-07-01 UTC
Description: |
| The ID of the team to which the discussion belongs. This field is required. Upcoming Change on 2024-07-01 UTC
Description: |
| The title of the discussion. This field is required. Upcoming Change on 2024-07-01 UTC
Description: |
DeleteTeamDiscussionCommentInput
Autogenerated input type of DeleteTeamDiscussionComment.
Campos de entrada para DeleteTeamDiscussionCommentInput
| Nome | Descrição |
|---|---|
| A unique identifier for the client performing the mutation. |
| The ID of the comment to delete. |
DeleteTeamDiscussionInput
Autogenerated input type of DeleteTeamDiscussion.
Campos de entrada para DeleteTeamDiscussionInput
| Nome | Descrição |
|---|---|
| A unique identifier for the client performing the mutation. |
| The discussion ID to delete. |
TeamDiscussionCommentOrder
Ways in which team discussion comment connections can be ordered.
Campos de entrada para TeamDiscussionCommentOrder
| Nome | Descrição |
|---|---|
| The direction in which to order nodes. |
| The field by which to order nodes. |
UpdateEnterpriseTeamDiscussionsSettingInput
Autogenerated input type of UpdateEnterpriseTeamDiscussionsSetting.
Campos de entrada para UpdateEnterpriseTeamDiscussionsSettingInput
| Nome | Descrição |
|---|---|
| A unique identifier for the client performing the mutation. |
| The ID of the enterprise on which to set the team discussions setting. |
| The value for the team discussions setting on the enterprise. |
UpdateTeamDiscussionCommentInput
Autogenerated input type of UpdateTeamDiscussionComment.
Campos de entrada para UpdateTeamDiscussionCommentInput
| Nome | Descrição |
|---|---|
| The updated text of the comment. |
| The current version of the body content. |
| A unique identifier for the client performing the mutation. |
| The ID of the comment to modify. |
UpdateTeamDiscussionInput
Autogenerated input type of UpdateTeamDiscussion.
Campos de entrada para UpdateTeamDiscussionInput
| Nome | Descrição |
|---|---|
| The updated text of the discussion. |
| The current version of the body content. If provided, this update operation will be rejected if the given version does not match the latest version on the server. |
| A unique identifier for the client performing the mutation. |
| The Node ID of the discussion to modify. |
| If provided, sets the pinned state of the updated discussion. |
| The updated title of the discussion. |
Scalars
Base64String
A (potentially binary) string encoded using base64.
BigInt
Represents non-fractional signed whole numeric values. Since the value may exceed the size of a 32-bit integer, it's encoded as a string.
Boolean
Represents true or false values.
Date
An ISO-8601 encoded date string.
DateTime
An ISO-8601 encoded UTC date string.
Float
Represents signed double-precision fractional values as specified by IEEE 754.
GitObjectID
A Git object ID.
GitRefname
A fully qualified reference name (e.g. refs/heads/master).
GitSSHRemote
Git SSH string.
GitTimestamp
An ISO-8601 encoded date string. Unlike the DateTime type, GitTimestamp is not converted in UTC.
HTML
A string containing HTML code.
ID
Represents a unique identifier that is Base64 obfuscated. It is often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as "VXNlci0xMA==") or integer (such as 4) input value will be accepted as an ID.
Int
Represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
PreciseDateTime
An ISO-8601 encoded UTC date string with millisecond precision.
String
Represents textual data as UTF-8 character sequences. This type is most often used by GraphQL to represent free-form human-readable text.
URI
An RFC 3986, RFC 3987, and RFC 6570 (level 4) compliant URI string.
X509Certificate
A valid x509 certificate string.