Github API - Test Config

GET /orgs/{org}/teams/{team_slug}/discussions
orgs
teams

List all discussions on a team's page. OAuth access tokens require the read:discussion scope.

Note: You can also specify a team by org_id and team_id using the route GET /organizations/{org_id}/team/{team_id}/discussions.
List discussions

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)

key direction

direction [scalar]

The direction to sort the results by.

API:
Github Open API
(version: 1.1.4)

key per-page

per-page [scalar]

The number of results per page (max 100).

API:
Github Open API
(version: 1.1.4)

key page

page [scalar]

Page number of the results to fetch.

API:
Github Open API
(version: 1.1.4)

pinned string

string [scalar]

The OpenAPI string type

API:
Github Open API
(version: 1.1.4)

Returns
200 application/json team-discussion []

team-discussion [object]

A team discussion is a persistent record of a free-form conversation within a team.

Attributes
body string

The main text of the discussion.

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.

comments_count integer

comments_url string

created_at string

html_url string

last_edited_at string

node_id string

number integer

The unique sequence number of a team discussion.

pinned boolean

Whether or not this discussion should be pinned for easy retrieval.

private boolean

Whether or not this discussion should be restricted to team members and organization administrators.

reactions reaction-rollup

team_url string

title string

The title of the discussion.

updated_at string

url string

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