Github API - Test Config

POST /teams/{team_id}/discussions/{discussion_number}/comments
teams

Deprecation Notice: This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new Create a discussion comment endpoint.

Creates a new comment on a team discussion. OAuth access tokens require the write:discussion scope.

This endpoint triggers notifications. Creating content too quickly using this endpoint may result in secondary rate limiting. See "Secondary rate limits" and "Dealing with secondary rate limits" for details.
Create a discussion comment (Legacy)

Arguments
key team-id

team-id [scalar]

The unique identifier of the team.

API:
Github Open API
(version: 1.1.4)

key discussion-number

discussion-number [scalar]

The number that identifies the discussion.

API:
Github Open API
(version: 1.1.4)

Returns
201 application/json team-discussion-comment

team-discussion-comment [object]

A reply to a discussion within a team.

Attributes
body string

The main text of the comment.

body_html string

body_version string

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.

created_at string

discussion_url string

html_url string

last_edited_at string

node_id string

number integer

The unique sequence number of a team discussion comment.

reactions reaction-rollup

updated_at string

url string

API:
Github Open API
(version: 1.1.4)
API:
Github Open API
(version: 1.1.4)