team_slug parameter
Create reaction for a team discussion comment
Create a reaction to a team discussion comment. OAuth access tokens require the write:discussion
scope. A response with an HTTP 200
status means that you already added the reaction type to this team discussion comment.
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
.
Path Parameters
Body
application/json
Body
The reaction type to add to the team discussion comment.
Allowed values:+1-1laughconfusedhearthoorayrocketeyes
Response
application/json
Response
Response
Reaction
Reactions to conversations provide a way to help people express their feelings more simply and effectively.
Example:1
Example:MDg6UmVhY3Rpb24x
Simple User
Show Child Parameters
The reaction to use
Allowed values:+1-1laughconfusedhearthoorayrocketeyes
Example:heart
Example:2016-05-20T20:09:31Z
Path Parameters
Body
Delete team discussion comment reaction
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
.
Delete a reaction to a team discussion comment. OAuth access tokens require the write:discussion
scope.
Path Parameters
team_slug parameter
Response
204
Response
Response
Path Parameters
List reactions for a team discussion
List the reactions to a team discussion. 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/:discussion_number/reactions
.
Query Parameters
Returns a single reaction type. Omit this parameter to list all reactions to a team discussion.
Allowed values:+1-1laughconfusedhearthoorayrocketeyes
Results per page (max 100)
Default:30
Page number of the results to fetch.
Default:1
Path Parameters
team_slug parameter
Response
200 application/json
Response
Response
Reactions to conversations provide a way to help people express their feelings more simply and effectively.
Example:1
Example:MDg6UmVhY3Rpb24x
Simple User
Show Child Parameters
The reaction to use
Allowed values:+1-1laughconfusedhearthoorayrocketeyes
Example:heart
Example:2016-05-20T20:09:31Z
Path Parameters
Query Parameters
Create reaction for a team discussion
Create a reaction to a team discussion. OAuth access tokens require the write:discussion
scope. A response with an HTTP 200
status means that you already added the reaction type to this team discussion.
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
.
Path Parameters
team_slug parameter
Body
application/json
Body
The reaction type to add to the team discussion.
Allowed values:+1-1laughconfusedhearthoorayrocketeyes
Response
application/json
Response
Response
Reaction
Reactions to conversations provide a way to help people express their feelings more simply and effectively.
Example:1
Example:MDg6UmVhY3Rpb24x
Simple User
Show Child Parameters
The reaction to use
Allowed values:+1-1laughconfusedhearthoorayrocketeyes
Example:heart
Example:2016-05-20T20:09:31Z
Path Parameters
Body
Delete team discussion reaction
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
.
Delete a reaction to a team discussion. OAuth access tokens require the write:discussion
scope.
Path Parameters
team_slug parameter
Response
204
Response
Response