{
  "opencollection": "1.0.0",
  "info": {
    "name": "Github Discussions API",
    "version": "1.1.4"
  },
  "items": [
    {
      "info": {
        "name": "Discussions",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "GitHub List Discussions",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{protocol}://{hostname}/api/v3/orgs/:org/teams/:team_slug/discussions",
            "params": [
              {
                "name": "org",
                "value": "",
                "type": "path",
                "description": "The organization name. The name is not case sensitive."
              },
              {
                "name": "team_slug",
                "value": "",
                "type": "path",
                "description": "The slug of the team name."
              },
              {
                "name": "direction",
                "value": "",
                "type": "query",
                "description": "The direction to sort the results by."
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query",
                "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.9/rest/using-the-rest-api/using-pagination-in-the-rest-api).\""
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.9/rest/using-the-rest-api/using-pagination-in-the-rest-api).\""
              },
              {
                "name": "pinned",
                "value": "example_value",
                "type": "query",
                "description": "Pinned discussions only filter"
              }
            ]
          },
          "docs": "List all discussions on a team's page.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions`.\n\nOAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint."
        },
        {
          "info": {
            "name": "GitHub Create Discussion",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{protocol}://{hostname}/api/v3/orgs/:org/teams/:team_slug/discussions",
            "params": [
              {
                "name": "org",
                "value": "",
                "type": "path",
                "description": "The organization name. The name is not case sensitive."
              },
              {
                "name": "team_slug",
                "value": "",
                "type": "path",
                "description": "The slug of the team name."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new discussion post on a team's page.\n\nThis endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.9/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see \"[Rate limits for the API](https://docs.github.com/enterprise-server@3.9/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)\" and \"[Best practices for u"
        },
        {
          "info": {
            "name": "GitHub Get Discussion",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{protocol}://{hostname}/api/v3/orgs/:org/teams/:team_slug/discussions/:discussion_number",
            "params": [
              {
                "name": "org",
                "value": "",
                "type": "path",
                "description": "The organization name. The name is not case sensitive."
              },
              {
                "name": "team_slug",
                "value": "",
                "type": "path",
                "description": "The slug of the team name."
              },
              {
                "name": "discussion_number",
                "value": "",
                "type": "path",
                "description": "The number that identifies the discussion."
              }
            ]
          },
          "docs": "Get a specific discussion on a team's page.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.\n\nOAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint."
        },
        {
          "info": {
            "name": "GitHub Update Discussion",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "{protocol}://{hostname}/api/v3/orgs/:org/teams/:team_slug/discussions/:discussion_number",
            "params": [
              {
                "name": "org",
                "value": "",
                "type": "path",
                "description": "The organization name. The name is not case sensitive."
              },
              {
                "name": "team_slug",
                "value": "",
                "type": "path",
                "description": "The slug of the team name."
              },
              {
                "name": "discussion_number",
                "value": "",
                "type": "path",
                "description": "The number that identifies the discussion."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Edits the title and body text of a discussion post. Only the parameters you provide are updated.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.\n\nOAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint."
        },
        {
          "info": {
            "name": "GitHub Delete Discussion",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{protocol}://{hostname}/api/v3/orgs/:org/teams/:team_slug/discussions/:discussion_number",
            "params": [
              {
                "name": "org",
                "value": "",
                "type": "path",
                "description": "The organization name. The name is not case sensitive."
              },
              {
                "name": "team_slug",
                "value": "",
                "type": "path",
                "description": "The slug of the team name."
              },
              {
                "name": "discussion_number",
                "value": "",
                "type": "path",
                "description": "The number that identifies the discussion."
              }
            ]
          },
          "docs": "Delete a discussion from a team's page.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.\n\nOAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint."
        },
        {
          "info": {
            "name": "GitHub List Discussion Comments",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{protocol}://{hostname}/api/v3/orgs/:org/teams/:team_slug/discussions/:discussion_number/comments",
            "params": [
              {
                "name": "org",
                "value": "",
                "type": "path",
                "description": "The organization name. The name is not case sensitive."
              },
              {
                "name": "team_slug",
                "value": "",
                "type": "path",
                "description": "The slug of the team name."
              },
              {
                "name": "discussion_number",
                "value": "",
                "type": "path",
                "description": "The number that identifies the discussion."
              },
              {
                "name": "direction",
                "value": "",
                "type": "query",
                "description": "The direction to sort the results by."
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query",
                "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.9/rest/using-the-rest-api/using-pagination-in-the-rest-api).\""
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.9/rest/using-the-rest-api/using-pagination-in-the-rest-api).\""
              }
            ]
          },
          "docs": "List all comments on a team discussion.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`.\n\nOAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint."
        },
        {
          "info": {
            "name": "GitHub Create Discussion Comment",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{protocol}://{hostname}/api/v3/orgs/:org/teams/:team_slug/discussions/:discussion_number/comments",
            "params": [
              {
                "name": "org",
                "value": "",
                "type": "path",
                "description": "The organization name. The name is not case sensitive."
              },
              {
                "name": "team_slug",
                "value": "",
                "type": "path",
                "description": "The slug of the team name."
              },
              {
                "name": "discussion_number",
                "value": "",
                "type": "path",
                "description": "The number that identifies the discussion."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new comment on a team discussion.\n\nThis endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.9/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see \"[Rate limits for the API](https://docs.github.com/enterprise-server@3.9/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)\" and \"[Best practices for using"
        },
        {
          "info": {
            "name": "GitHub Get Discussion Comment",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{protocol}://{hostname}/api/v3/orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number",
            "params": [
              {
                "name": "org",
                "value": "",
                "type": "path",
                "description": "The organization name. The name is not case sensitive."
              },
              {
                "name": "team_slug",
                "value": "",
                "type": "path",
                "description": "The slug of the team name."
              },
              {
                "name": "discussion_number",
                "value": "",
                "type": "path",
                "description": "The number that identifies the discussion."
              },
              {
                "name": "comment_number",
                "value": "",
                "type": "path",
                "description": "The number that identifies the comment."
              }
            ]
          },
          "docs": "Get a specific comment on a team discussion.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.\n\nOAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint."
        },
        {
          "info": {
            "name": "GitHub Update Discussion Comment",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "{protocol}://{hostname}/api/v3/orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number",
            "params": [
              {
                "name": "org",
                "value": "",
                "type": "path",
                "description": "The organization name. The name is not case sensitive."
              },
              {
                "name": "team_slug",
                "value": "",
                "type": "path",
                "description": "The slug of the team name."
              },
              {
                "name": "discussion_number",
                "value": "",
                "type": "path",
                "description": "The number that identifies the discussion."
              },
              {
                "name": "comment_number",
                "value": "",
                "type": "path",
                "description": "The number that identifies the comment."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Edits the body text of a discussion comment.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.\n\nOAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint."
        },
        {
          "info": {
            "name": "GitHub Delete Discussion Comment",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{protocol}://{hostname}/api/v3/orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number",
            "params": [
              {
                "name": "org",
                "value": "",
                "type": "path",
                "description": "The organization name. The name is not case sensitive."
              },
              {
                "name": "team_slug",
                "value": "",
                "type": "path",
                "description": "The slug of the team name."
              },
              {
                "name": "discussion_number",
                "value": "",
                "type": "path",
                "description": "The number that identifies the discussion."
              },
              {
                "name": "comment_number",
                "value": "",
                "type": "path",
                "description": "The number that identifies the comment."
              }
            ]
          },
          "docs": "Deletes a comment on a team discussion.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.\n\nOAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint."
        },
        {
          "info": {
            "name": "GitHub List Reactions for Team Discussion Comment",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{protocol}://{hostname}/api/v3/orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number/reactions",
            "params": [
              {
                "name": "org",
                "value": "",
                "type": "path",
                "description": "The organization name. The name is not case sensitive."
              },
              {
                "name": "team_slug",
                "value": "",
                "type": "path",
                "description": "The slug of the team name."
              },
              {
                "name": "discussion_number",
                "value": "",
                "type": "path",
                "description": "The number that identifies the discussion."
              },
              {
                "name": "comment_number",
                "value": "",
                "type": "path",
                "description": "The number that identifies the comment."
              },
              {
                "name": "content",
                "value": "+1",
                "type": "query",
                "description": "Returns a single [reaction type](https://docs.github.com/enterprise-server@3.9/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment."
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query",
                "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.9/rest/using-the-rest-api/using-pagination-in-the-rest-api).\""
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.9/rest/using-the-rest-api/using-pagination-in-the-rest-api).\""
              }
            ]
          },
          "docs": "List the reactions to a [team discussion comment](https://docs.github.com/enterprise-server@3.9/rest/teams/discussion-comments#get-a-discussion-comment).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.\n\nOAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint."
        },
        {
          "info": {
            "name": "GitHub Create Reaction for Team Discussion Comment",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{protocol}://{hostname}/api/v3/orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number/reactions",
            "params": [
              {
                "name": "org",
                "value": "",
                "type": "path",
                "description": "The organization name. The name is not case sensitive."
              },
              {
                "name": "team_slug",
                "value": "",
                "type": "path",
                "description": "The slug of the team name."
              },
              {
                "name": "discussion_number",
                "value": "",
                "type": "path",
                "description": "The number that identifies the discussion."
              },
              {
                "name": "comment_number",
                "value": "",
                "type": "path",
                "description": "The number that identifies the comment."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a reaction to a [team discussion comment](https://docs.github.com/enterprise-server@3.9/rest/teams/discussion-comments#get-a-discussion-comment).\n\nA response with an HTTP `200` status means that you already added the reaction type to this team discussion comment.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.\n\nOAuth app tokens and personal access"
        },
        {
          "info": {
            "name": "GitHub Delete Team Discussion Comment Reaction",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{protocol}://{hostname}/api/v3/orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number/reactions/:reaction_id",
            "params": [
              {
                "name": "org",
                "value": "",
                "type": "path",
                "description": "The organization name. The name is not case sensitive."
              },
              {
                "name": "team_slug",
                "value": "",
                "type": "path",
                "description": "The slug of the team name."
              },
              {
                "name": "discussion_number",
                "value": "",
                "type": "path",
                "description": "The number that identifies the discussion."
              },
              {
                "name": "comment_number",
                "value": "",
                "type": "path",
                "description": "The number that identifies the comment."
              },
              {
                "name": "reaction_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the reaction."
              }
            ]
          },
          "docs": "**Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions/:reaction_id`.\n\nDelete a reaction to a [team discussion comment](https://docs.github.com/enterprise-server@3.9/rest/teams/discussion-comments#get-a-discussion-comment).\n\nOAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint."
        },
        {
          "info": {
            "name": "GitHub List Reactions for Team Discussion",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{protocol}://{hostname}/api/v3/orgs/:org/teams/:team_slug/discussions/:discussion_number/reactions",
            "params": [
              {
                "name": "org",
                "value": "",
                "type": "path",
                "description": "The organization name. The name is not case sensitive."
              },
              {
                "name": "team_slug",
                "value": "",
                "type": "path",
                "description": "The slug of the team name."
              },
              {
                "name": "discussion_number",
                "value": "",
                "type": "path",
                "description": "The number that identifies the discussion."
              },
              {
                "name": "content",
                "value": "+1",
                "type": "query",
                "description": "Returns a single [reaction type](https://docs.github.com/enterprise-server@3.9/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion."
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query",
                "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.9/rest/using-the-rest-api/using-pagination-in-the-rest-api).\""
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.9/rest/using-the-rest-api/using-pagination-in-the-rest-api).\""
              }
            ]
          },
          "docs": "List the reactions to a [team discussion](https://docs.github.com/enterprise-server@3.9/rest/teams/discussions#get-a-discussion).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.\n\nOAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint."
        },
        {
          "info": {
            "name": "GitHub Create Reaction for Team Discussion",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{protocol}://{hostname}/api/v3/orgs/:org/teams/:team_slug/discussions/:discussion_number/reactions",
            "params": [
              {
                "name": "org",
                "value": "",
                "type": "path",
                "description": "The organization name. The name is not case sensitive."
              },
              {
                "name": "team_slug",
                "value": "",
                "type": "path",
                "description": "The slug of the team name."
              },
              {
                "name": "discussion_number",
                "value": "",
                "type": "path",
                "description": "The number that identifies the discussion."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a reaction to a [team discussion](https://docs.github.com/enterprise-server@3.9/rest/teams/discussions#get-a-discussion).\n\nA response with an HTTP `200` status means that you already added the reaction type to this team discussion.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.\n\nOAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to us"
        },
        {
          "info": {
            "name": "GitHub Delete Team Discussion Reaction",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{protocol}://{hostname}/api/v3/orgs/:org/teams/:team_slug/discussions/:discussion_number/reactions/:reaction_id",
            "params": [
              {
                "name": "org",
                "value": "",
                "type": "path",
                "description": "The organization name. The name is not case sensitive."
              },
              {
                "name": "team_slug",
                "value": "",
                "type": "path",
                "description": "The slug of the team name."
              },
              {
                "name": "discussion_number",
                "value": "",
                "type": "path",
                "description": "The number that identifies the discussion."
              },
              {
                "name": "reaction_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the reaction."
              }
            ]
          },
          "docs": "**Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions/:reaction_id`.\n\nDelete a reaction to a [team discussion](https://docs.github.com/enterprise-server@3.9/rest/teams/discussions#get-a-discussion).\n\nOAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint."
        },
        {
          "info": {
            "name": "GitHub List Discussions (legacy)",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{protocol}://{hostname}/api/v3/teams/:team_id/discussions",
            "params": [
              {
                "name": "team_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the team."
              },
              {
                "name": "direction",
                "value": "",
                "type": "query",
                "description": "The direction to sort the results by."
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query",
                "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.9/rest/using-the-rest-api/using-pagination-in-the-rest-api).\""
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.9/rest/using-the-rest-api/using-pagination-in-the-rest-api).\""
              }
            ]
          },
          "docs": "**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 [`List discussions`](https://docs.github.com/enterprise-server@3.9/rest/teams/discussions#list-discussions) endpoint.\n\nList all discussions on a team's page.\n\nOAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint."
        },
        {
          "info": {
            "name": "GitHub Create Discussion (legacy)",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{protocol}://{hostname}/api/v3/teams/:team_id/discussions",
            "params": [
              {
                "name": "team_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the team."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "**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`](https://docs.github.com/enterprise-server@3.9/rest/teams/discussions#create-a-discussion) endpoint.\n\nCreates a new discussion post on a team's page.\n\nThis endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.9/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creati"
        },
        {
          "info": {
            "name": "GitHub Get Discussion (legacy)",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{protocol}://{hostname}/api/v3/teams/:team_id/discussions/:discussion_number",
            "params": [
              {
                "name": "team_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the team."
              },
              {
                "name": "discussion_number",
                "value": "",
                "type": "path",
                "description": "The number that identifies the discussion."
              }
            ]
          },
          "docs": "**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](https://docs.github.com/enterprise-server@3.9/rest/teams/discussions#get-a-discussion) endpoint.\n\nGet a specific discussion on a team's page.\n\nOAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint."
        },
        {
          "info": {
            "name": "GitHub Update Discussion (legacy)",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "{protocol}://{hostname}/api/v3/teams/:team_id/discussions/:discussion_number",
            "params": [
              {
                "name": "team_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the team."
              },
              {
                "name": "discussion_number",
                "value": "",
                "type": "path",
                "description": "The number that identifies the discussion."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "**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 [Update a discussion](https://docs.github.com/enterprise-server@3.9/rest/teams/discussions#update-a-discussion) endpoint.\n\nEdits the title and body text of a discussion post. Only the parameters you provide are updated.\n\nOAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint."
        },
        {
          "info": {
            "name": "GitHub Delete Discussion (legacy)",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{protocol}://{hostname}/api/v3/teams/:team_id/discussions/:discussion_number",
            "params": [
              {
                "name": "team_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the team."
              },
              {
                "name": "discussion_number",
                "value": "",
                "type": "path",
                "description": "The number that identifies the discussion."
              }
            ]
          },
          "docs": "**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 [`Delete a discussion`](https://docs.github.com/enterprise-server@3.9/rest/teams/discussions#delete-a-discussion) endpoint.\n\nDelete a discussion from a team's page.\n\nOAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint."
        },
        {
          "info": {
            "name": "GitHub List Discussion Comments (legacy)",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{protocol}://{hostname}/api/v3/teams/:team_id/discussions/:discussion_number/comments",
            "params": [
              {
                "name": "team_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the team."
              },
              {
                "name": "discussion_number",
                "value": "",
                "type": "path",
                "description": "The number that identifies the discussion."
              },
              {
                "name": "direction",
                "value": "",
                "type": "query",
                "description": "The direction to sort the results by."
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query",
                "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.9/rest/using-the-rest-api/using-pagination-in-the-rest-api).\""
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.9/rest/using-the-rest-api/using-pagination-in-the-rest-api).\""
              }
            ]
          },
          "docs": "**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 [List discussion comments](https://docs.github.com/enterprise-server@3.9/rest/teams/discussion-comments#list-discussion-comments) endpoint.\n\nList all comments on a team discussion.\n\nOAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint."
        },
        {
          "info": {
            "name": "GitHub Create Discussion Comment (legacy)",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{protocol}://{hostname}/api/v3/teams/:team_id/discussions/:discussion_number/comments",
            "params": [
              {
                "name": "team_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the team."
              },
              {
                "name": "discussion_number",
                "value": "",
                "type": "path",
                "description": "The number that identifies the discussion."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "**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](https://docs.github.com/enterprise-server@3.9/rest/teams/discussion-comments#create-a-discussion-comment) endpoint.\n\nCreates a new comment on a team discussion.\n\nThis endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.9/github/managing-subscriptions-and-notifications-on-github/about-noti"
        },
        {
          "info": {
            "name": "GitHub Get Discussion Comment (legacy)",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{protocol}://{hostname}/api/v3/teams/:team_id/discussions/:discussion_number/comments/:comment_number",
            "params": [
              {
                "name": "team_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the team."
              },
              {
                "name": "discussion_number",
                "value": "",
                "type": "path",
                "description": "The number that identifies the discussion."
              },
              {
                "name": "comment_number",
                "value": "",
                "type": "path",
                "description": "The number that identifies the comment."
              }
            ]
          },
          "docs": "**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/enterprise-server@3.9/rest/teams/discussion-comments#get-a-discussion-comment) endpoint.\n\nGet a specific comment on a team discussion.\n\nOAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint."
        },
        {
          "info": {
            "name": "GitHub Update Discussion Comment (legacy)",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "{protocol}://{hostname}/api/v3/teams/:team_id/discussions/:discussion_number/comments/:comment_number",
            "params": [
              {
                "name": "team_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the team."
              },
              {
                "name": "discussion_number",
                "value": "",
                "type": "path",
                "description": "The number that identifies the discussion."
              },
              {
                "name": "comment_number",
                "value": "",
                "type": "path",
                "description": "The number that identifies the comment."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "**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 [Update a discussion comment](https://docs.github.com/enterprise-server@3.9/rest/teams/discussion-comments#update-a-discussion-comment) endpoint.\n\nEdits the body text of a discussion comment.\n\nOAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint."
        },
        {
          "info": {
            "name": "GitHub Delete Discussion Comment (legacy)",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{protocol}://{hostname}/api/v3/teams/:team_id/discussions/:discussion_number/comments/:comment_number",
            "params": [
              {
                "name": "team_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the team."
              },
              {
                "name": "discussion_number",
                "value": "",
                "type": "path",
                "description": "The number that identifies the discussion."
              },
              {
                "name": "comment_number",
                "value": "",
                "type": "path",
                "description": "The number that identifies the comment."
              }
            ]
          },
          "docs": "**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 [Delete a discussion comment](https://docs.github.com/enterprise-server@3.9/rest/teams/discussion-comments#delete-a-discussion-comment) endpoint.\n\nDeletes a comment on a team discussion.\n\nOAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint."
        },
        {
          "info": {
            "name": "GitHub List Reactions for Team Discussion Comment (legacy)",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{protocol}://{hostname}/api/v3/teams/:team_id/discussions/:discussion_number/comments/:comment_number/reactions",
            "params": [
              {
                "name": "team_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the team."
              },
              {
                "name": "discussion_number",
                "value": "",
                "type": "path",
                "description": "The number that identifies the discussion."
              },
              {
                "name": "comment_number",
                "value": "",
                "type": "path",
                "description": "The number that identifies the comment."
              },
              {
                "name": "content",
                "value": "+1",
                "type": "query",
                "description": "Returns a single [reaction type](https://docs.github.com/enterprise-server@3.9/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment."
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query",
                "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.9/rest/using-the-rest-api/using-pagination-in-the-rest-api).\""
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.9/rest/using-the-rest-api/using-pagination-in-the-rest-api).\""
              }
            ]
          },
          "docs": "**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 [`List reactions for a team discussion comment`](https://docs.github.com/enterprise-server@3.9/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment) endpoint.\n\nList the reactions to a [team discussion comment](https://docs.github.com/enterprise-server@3.9/rest/teams/discussion-comments#get-a-discussion-comment).\n\nOAuth app tok"
        },
        {
          "info": {
            "name": "GitHub Create Reaction for Team Discussion Comment (legacy)",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{protocol}://{hostname}/api/v3/teams/:team_id/discussions/:discussion_number/comments/:comment_number/reactions",
            "params": [
              {
                "name": "team_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the team."
              },
              {
                "name": "discussion_number",
                "value": "",
                "type": "path",
                "description": "The number that identifies the discussion."
              },
              {
                "name": "comment_number",
                "value": "",
                "type": "path",
                "description": "The number that identifies the comment."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "**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 reaction for a team discussion comment](https://docs.github.com/enterprise-server@3.9/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment)\" endpoint.\n\nCreate a reaction to a [team discussion comment](https://docs.github.com/enterprise-server@3.9/rest/teams/discussion-comments#get-a-discussion-comment).\n\nA response w"
        },
        {
          "info": {
            "name": "GitHub List Reactions for Team Discussion (legacy)",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{protocol}://{hostname}/api/v3/teams/:team_id/discussions/:discussion_number/reactions",
            "params": [
              {
                "name": "team_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the team."
              },
              {
                "name": "discussion_number",
                "value": "",
                "type": "path",
                "description": "The number that identifies the discussion."
              },
              {
                "name": "content",
                "value": "+1",
                "type": "query",
                "description": "Returns a single [reaction type](https://docs.github.com/enterprise-server@3.9/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion."
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query",
                "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.9/rest/using-the-rest-api/using-pagination-in-the-rest-api).\""
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.9/rest/using-the-rest-api/using-pagination-in-the-rest-api).\""
              }
            ]
          },
          "docs": "**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 [`List reactions for a team discussion`](https://docs.github.com/enterprise-server@3.9/rest/reactions/reactions#list-reactions-for-a-team-discussion) endpoint.\n\nList the reactions to a [team discussion](https://docs.github.com/enterprise-server@3.9/rest/teams/discussions#get-a-discussion).\n\nOAuth app tokens and personal access tokens (classic)"
        },
        {
          "info": {
            "name": "GitHub Create Reaction for Team Discussion (legacy)",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{protocol}://{hostname}/api/v3/teams/:team_id/discussions/:discussion_number/reactions",
            "params": [
              {
                "name": "team_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the team."
              },
              {
                "name": "discussion_number",
                "value": "",
                "type": "path",
                "description": "The number that identifies the discussion."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "**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 reaction for a team discussion`](https://docs.github.com/enterprise-server@3.9/rest/reactions/reactions#create-reaction-for-a-team-discussion) endpoint.\n\nCreate a reaction to a [team discussion](https://docs.github.com/enterprise-server@3.9/rest/teams/discussions#get-a-discussion).\n\nA response with an HTTP `200` status means that you "
        }
      ]
    }
  ],
  "bundled": true
}