Queries
id
ID of the object.
Type: ID!
relay
Workaround for re-exposing the root query object. (Refer to https://github.com/facebook/relay/issues/112 for more information.).
Type: Query!
Mutations
addEnterpriseAdmin
Adds an administrator to the global enterprise account.
Input fields for addEnterpriseAdmin
input(AddEnterpriseAdminInput!)
Return fields for addEnterpriseAdmin
| Name | Description |
|---|---|
| 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.
Input fields for createTeamDiscussion
input(CreateTeamDiscussionInput!)
Return fields for createTeamDiscussion
| Name | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The new discussion. Warning
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.
Input fields for createTeamDiscussionComment
Return fields for createTeamDiscussionComment
| Name | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The new comment. Warning
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.
Input fields for deleteTeamDiscussion
input(DeleteTeamDiscussionInput!)
Return fields for deleteTeamDiscussion
| Name | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
deleteTeamDiscussionComment
Deletes a team discussion comment.
Input fields for deleteTeamDiscussionComment
Return fields for deleteTeamDiscussionComment
| Name | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
updateEnterpriseTeamDiscussionsSetting
Sets whether team discussions are enabled for an enterprise.
Input fields for updateEnterpriseTeamDiscussionsSetting
Return fields for updateEnterpriseTeamDiscussionsSetting
| Name | Description |
|---|---|
| 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.
Input fields for updateTeamDiscussion
input(UpdateTeamDiscussionInput!)
Return fields for updateTeamDiscussion
| Name | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The updated discussion. |
updateTeamDiscussionComment
Updates a discussion comment.
Input fields for updateTeamDiscussionComment
Return fields for updateTeamDiscussionComment
| Name | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The updated comment. |
Objects
PageInfo
Information about pagination in a connection.
Fields for PageInfo
| Name | Description |
|---|---|
| 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 Implements
Fields for TeamDiscussion
| Name | Description |
|---|---|
| The actor who authored the comment. |
| Author's association with the discussion's team. Warning
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. Warning
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. Warning
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. Arguments for
|
| The HTTP path for discussion comments. Warning
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. Warning
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. Warning
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. Warning
|