Github API - Test Config

mutation createTeamDiscussion
teams

Creates a new team discussion.

Arguments
input CreateTeamDiscussionInput

CreateTeamDiscussionInput [input]

Autogenerated input type of CreateTeamDiscussion

Attributes
body String

The content of the discussion. This field is required.

Upcoming Change on 2024-07-01 UTC
Description: body will be removed. Follow the guide at
https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to
find a suitable replacement.
Reason: The Team Discussions feature is deprecated in favor of Organization Discussions.

clientMutationId String

A unique identifier for the client performing the mutation.

private Boolean

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: private will be removed. Follow the guide at
https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to
find a suitable replacement.
Reason: The Team Discussions feature is deprecated in favor of Organization Discussions.

teamId ID

The ID of the team to which the discussion belongs. This field is required.

Upcoming Change on 2024-07-01 UTC
Description: teamId will be removed. Follow the guide at
https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to
find a suitable replacement.
Reason: The Team Discussions feature is deprecated in favor of Organization Discussions.

title String

The title of the discussion. This field is required.

Upcoming Change on 2024-07-01 UTC
Description: title will be removed. Follow the guide at
https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to
find a suitable replacement.
Reason: The Team Discussions feature is deprecated in favor of Organization Discussions.

API:
Github GraphQL API

Parameters for CreateTeamDiscussion

Returns
CreateTeamDiscussionPayload

CreateTeamDiscussionPayload [object]

Autogenerated return type of CreateTeamDiscussion

Attributes
clientMutationId String

A unique identifier for the client performing the mutation.

teamDiscussion TeamDiscussion

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