Github API - Test Config

CreateTeamDiscussionPayload [object]

Autogenerated return type of CreateTeamDiscussion

Attributes
clientMutationId String

String [scalar]

The String scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.

API:
Github GraphQL API

A unique identifier for the client performing the mutation.

teamDiscussion TeamDiscussion

TeamDiscussion [object]

A team discussion.

Implements
CommentDeletableNodeReactableSubscribableUniformResourceLocatableUpdatableUpdatableComment
Attributes
author Actor

The actor who authored the comment.

authorAssociation CommentAuthorAssociation

Author's association with the discussion's team.

Deprecated: 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.
body String

The body as Markdown.

bodyHTML HTML

The body rendered to HTML.

bodyText String

The body rendered to text.

bodyVersion String

Identifies the discussion body hash.

Deprecated: 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.

Deprecated: 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.
commentsResourcePath URI

The HTTP path for discussion comments

Deprecated: 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.
commentsUrl URI

The HTTP URL for discussion comments

Deprecated: 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.
createdAt DateTime

Identifies the date and time when the object was created.

createdViaEmail Boolean

Check if this comment was created via an email reply.

databaseId Int

Identifies the primary key from the database.

editor Actor

The actor who edited the comment.

id ID

The Node ID of the TeamDiscussion object

includesCreatedEdit Boolean

Check if this comment was edited and includes an edit with the creation data

isPinned Boolean

Whether or not the discussion is pinned.

Deprecated: 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.
isPrivate Boolean

Whether or not the discussion is only visible to team members and organization owners.

Deprecated: 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.
lastEditedAt DateTime

The moment the editor made the last edit

number Int

Identifies the discussion within its team.

Deprecated: 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.
publishedAt DateTime

Identifies when the comment was published at.

reactionGroups ReactionGroup []

A list of reactions grouped by content left on the subject.

reactions ReactionConnection

A list of Reactions left on the Issue.

resourcePath URI

The HTTP path for this discussion

Deprecated: 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.
team Team

The team that defines the context of this discussion.

Deprecated: 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.
title String

The title of the discussion

Deprecated: 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.
updatedAt DateTime

Identifies the date and time when the object was last updated.

url URI

The HTTP URL for this discussion

Deprecated: 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.
userContentEdits UserContentEditConnection

A list of edits to this content.

viewerCanDelete Boolean

Check if the current viewer can delete this object.

viewerCanPin Boolean

Whether or not the current viewer can pin this discussion.

Deprecated: 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.
viewerCanReact Boolean

Can user react to this subject

viewerCanSubscribe Boolean

Check if the viewer is able to change their subscription status for the repository.

viewerCanUpdate Boolean

Check if the current viewer can update this object.

viewerCannotUpdateReasons CommentCannotUpdateReason []

Reasons why the current viewer can not update this comment.

viewerDidAuthor Boolean

Did the viewer author this comment.

viewerSubscription SubscriptionState

Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.

API:
Github GraphQL API

The new discussion.

Deprecated: 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.
API:
Github GraphQL API