Get a discussion comment (Legacy)
Deprecated**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 [Get a discussion comment](https://docs.github.com/[email protected]/rest/reference/teams#get-a-discussion-comment) endpoint. Get a specific comment on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/[email protected]/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).
/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}- Source
github-v3-rest.json- Revision
f5f067c1e6f6- Active snapshot
85e53e3d0d65
Request
Path Parameters
- team_id integerrequired
- discussion_number integerrequired
- comment_number integerrequired
Responses
Response
author Simple User objectrequirednullable Simple User
Simple User
Example: https://github.com/images/error/octocat_happy.gif
Example: https://api.github.com/users/octocat/events{/privacy}
Example: https://api.github.com/users/octocat/followers
Example: https://api.github.com/users/octocat/following{/other_user}
Example: https://api.github.com/users/octocat/gists{/gist_id}
Example: 41d064eb2195891e12d0413f63227ea7
Example: https://github.com/octocat
Example: 1
Example: octocat
Example: MDQ6VXNlcjE=
Example: https://api.github.com/users/octocat/orgs
Example: https://api.github.com/users/octocat/received_events
Example: https://api.github.com/users/octocat/repos
Example: "2020-07-09T00:17:55Z"
Example: https://api.github.com/users/octocat/starred{/owner}{/repo}
Example: https://api.github.com/users/octocat/subscriptions
Example: User
Example: https://api.github.com/users/octocat
The main text of the comment.
Example: I agree with this suggestion.
Example: <p>Do you like apples?</p>
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.
Example: 0307116bbf7ced493b8d8a346c650b71
Example: 2018-01-15T23:53:58Z
Example: https://api.github.com/organizations/1/team/2403582/discussions/1
Example: https://github.com/orgs/github/teams/justice-league/discussions/1/comments/1
Example: MDIxOlRlYW1EaXNjdXNzaW9uQ29tbWVudDE=
The unique sequence number of a team discussion comment.
Example: 42
reactions Reaction Rollup objectoptional
Example: 2018-01-15T23:53:58Z
Example: https://api.github.com/organizations/1/team/2403582/discussions/1/comments/1