Creates a new discussion post on a team's page. 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.
Note: You can also specify a team by org_id
and team_id
using the route POST /organizations/{org_id}/team/{team_id}/discussions
. Create a discussion
Arguments key org org [scalar]
The organization name. The name is not case sensitive.
API:
Github Open API
(version: 1.1.4)
key team-slug team-slug [scalar]
The slug of the team name.
API:
Github Open API
(version: 1.1.4)
Returns 201 application/json team-discussion team-discussion [object]
A team discussion is a persistent record of a free-form conversation within a team.
Attributes
The main text of the discussion.
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.
The unique sequence number of a team discussion.
Whether or not this discussion should be pinned for easy retrieval.
Whether or not this discussion should be restricted to team members and organization administrators.
The title of the discussion.
API:
Github Open API
(version: 1.1.4)
API:
Github Open API
(version: 1.1.4)