mirror of
https://github.com/jlengrand/jetbrains-client-api-repository.git
synced 2026-03-10 08:31:24 +00:00
199 lines
6.5 KiB
HTTP
199 lines
6.5 KiB
HTTP
## ReactionsApi
|
|
|
|
### Create reaction for a commit comment
|
|
## Create reaction for a commit comment
|
|
POST https://api.github.com/repos/{{owner}}/{{repo}}/comments/{{comment_id}}/reactions
|
|
Content-Type: application/json
|
|
Accept: application/json
|
|
Authorization: Bearer {{bearerToken}}
|
|
|
|
{
|
|
"content" : "heart"
|
|
}
|
|
|
|
|
|
### Create reaction for an issue
|
|
## Create reaction for an issue
|
|
POST https://api.github.com/repos/{{owner}}/{{repo}}/issues/{{issue_number}}/reactions
|
|
Content-Type: application/json
|
|
Accept: application/json
|
|
Authorization: Bearer {{bearerToken}}
|
|
|
|
{
|
|
"content" : "heart"
|
|
}
|
|
|
|
|
|
### Create reaction for an issue comment
|
|
## Create reaction for an issue comment
|
|
POST https://api.github.com/repos/{{owner}}/{{repo}}/issues/comments/{{comment_id}}/reactions
|
|
Content-Type: application/json
|
|
Accept: application/json
|
|
Authorization: Bearer {{bearerToken}}
|
|
|
|
{
|
|
"content" : "heart"
|
|
}
|
|
|
|
|
|
### Create reaction for a pull request review comment
|
|
## Create reaction for a pull request review comment
|
|
POST https://api.github.com/repos/{{owner}}/{{repo}}/pulls/comments/{{comment_id}}/reactions
|
|
Content-Type: application/json
|
|
Accept: application/json
|
|
Authorization: Bearer {{bearerToken}}
|
|
|
|
{
|
|
"content" : "heart"
|
|
}
|
|
|
|
|
|
### Create reaction for a release
|
|
## Create reaction for a release
|
|
POST https://api.github.com/repos/{{owner}}/{{repo}}/releases/{{release_id}}/reactions
|
|
Content-Type: application/json
|
|
Accept: application/json
|
|
Authorization: Bearer {{bearerToken}}
|
|
|
|
{
|
|
"content" : "heart"
|
|
}
|
|
|
|
|
|
### Create reaction for a team discussion comment
|
|
## Create reaction for a team discussion comment
|
|
POST https://api.github.com/orgs/{{org}}/teams/{{team_slug}}/discussions/{{discussion_number}}/comments/{{comment_number}}/reactions
|
|
Content-Type: application/json
|
|
Accept: application/json
|
|
Authorization: Bearer {{bearerToken}}
|
|
|
|
{
|
|
"content" : "heart"
|
|
}
|
|
|
|
|
|
### Create reaction for a team discussion comment (Legacy)
|
|
## Create reaction for a team discussion comment (Legacy)
|
|
POST https://api.github.com/teams/{{team_id}}/discussions/{{discussion_number}}/comments/{{comment_number}}/reactions
|
|
Content-Type: application/json
|
|
Accept: application/json
|
|
Authorization: Bearer {{bearerToken}}
|
|
|
|
{
|
|
"content" : "heart"
|
|
}
|
|
|
|
|
|
### Create reaction for a team discussion
|
|
## Create reaction for a team discussion
|
|
POST https://api.github.com/orgs/{{org}}/teams/{{team_slug}}/discussions/{{discussion_number}}/reactions
|
|
Content-Type: application/json
|
|
Accept: application/json
|
|
Authorization: Bearer {{bearerToken}}
|
|
|
|
{
|
|
"content" : "heart"
|
|
}
|
|
|
|
|
|
### Create reaction for a team discussion (Legacy)
|
|
## Create reaction for a team discussion (Legacy)
|
|
POST https://api.github.com/teams/{{team_id}}/discussions/{{discussion_number}}/reactions
|
|
Content-Type: application/json
|
|
Accept: application/json
|
|
Authorization: Bearer {{bearerToken}}
|
|
|
|
{
|
|
"content" : "heart"
|
|
}
|
|
|
|
|
|
### Delete a commit comment reaction
|
|
## Delete a commit comment reaction
|
|
DELETE https://api.github.com/repos/{{owner}}/{{repo}}/comments/{{comment_id}}/reactions/{{reaction_id}}
|
|
Authorization: Bearer {{bearerToken}}
|
|
|
|
### Delete an issue reaction
|
|
## Delete an issue reaction
|
|
DELETE https://api.github.com/repos/{{owner}}/{{repo}}/issues/{{issue_number}}/reactions/{{reaction_id}}
|
|
Authorization: Bearer {{bearerToken}}
|
|
|
|
### Delete an issue comment reaction
|
|
## Delete an issue comment reaction
|
|
DELETE https://api.github.com/repos/{{owner}}/{{repo}}/issues/comments/{{comment_id}}/reactions/{{reaction_id}}
|
|
Authorization: Bearer {{bearerToken}}
|
|
|
|
### Delete a pull request comment reaction
|
|
## Delete a pull request comment reaction
|
|
DELETE https://api.github.com/repos/{{owner}}/{{repo}}/pulls/comments/{{comment_id}}/reactions/{{reaction_id}}
|
|
Authorization: Bearer {{bearerToken}}
|
|
|
|
### Delete a release reaction
|
|
## Delete a release reaction
|
|
DELETE https://api.github.com/repos/{{owner}}/{{repo}}/releases/{{release_id}}/reactions/{{reaction_id}}
|
|
Authorization: Bearer {{bearerToken}}
|
|
|
|
### Delete team discussion reaction
|
|
## Delete team discussion reaction
|
|
DELETE https://api.github.com/orgs/{{org}}/teams/{{team_slug}}/discussions/{{discussion_number}}/reactions/{{reaction_id}}
|
|
Authorization: Bearer {{bearerToken}}
|
|
|
|
### Delete team discussion comment reaction
|
|
## Delete team discussion comment reaction
|
|
DELETE https://api.github.com/orgs/{{org}}/teams/{{team_slug}}/discussions/{{discussion_number}}/comments/{{comment_number}}/reactions/{{reaction_id}}
|
|
Authorization: Bearer {{bearerToken}}
|
|
|
|
### List reactions for a commit comment
|
|
## List reactions for a commit comment
|
|
GET https://api.github.com/repos/{{owner}}/{{repo}}/comments/{{comment_id}}/reactions
|
|
Accept: application/json
|
|
Authorization: Bearer {{bearerToken}}
|
|
|
|
### List reactions for an issue
|
|
## List reactions for an issue
|
|
GET https://api.github.com/repos/{{owner}}/{{repo}}/issues/{{issue_number}}/reactions
|
|
Accept: application/json
|
|
Authorization: Bearer {{bearerToken}}
|
|
|
|
### List reactions for an issue comment
|
|
## List reactions for an issue comment
|
|
GET https://api.github.com/repos/{{owner}}/{{repo}}/issues/comments/{{comment_id}}/reactions
|
|
Accept: application/json
|
|
Authorization: Bearer {{bearerToken}}
|
|
|
|
### List reactions for a pull request review comment
|
|
## List reactions for a pull request review comment
|
|
GET https://api.github.com/repos/{{owner}}/{{repo}}/pulls/comments/{{comment_id}}/reactions
|
|
Accept: application/json
|
|
Authorization: Bearer {{bearerToken}}
|
|
|
|
### List reactions for a release
|
|
## List reactions for a release
|
|
GET https://api.github.com/repos/{{owner}}/{{repo}}/releases/{{release_id}}/reactions
|
|
Accept: application/json
|
|
Authorization: Bearer {{bearerToken}}
|
|
|
|
### List reactions for a team discussion comment
|
|
## List reactions for a team discussion comment
|
|
GET https://api.github.com/orgs/{{org}}/teams/{{team_slug}}/discussions/{{discussion_number}}/comments/{{comment_number}}/reactions
|
|
Accept: application/json
|
|
Authorization: Bearer {{bearerToken}}
|
|
|
|
### List reactions for a team discussion comment (Legacy)
|
|
## List reactions for a team discussion comment (Legacy)
|
|
GET https://api.github.com/teams/{{team_id}}/discussions/{{discussion_number}}/comments/{{comment_number}}/reactions
|
|
Accept: application/json
|
|
Authorization: Bearer {{bearerToken}}
|
|
|
|
### List reactions for a team discussion
|
|
## List reactions for a team discussion
|
|
GET https://api.github.com/orgs/{{org}}/teams/{{team_slug}}/discussions/{{discussion_number}}/reactions
|
|
Accept: application/json
|
|
Authorization: Bearer {{bearerToken}}
|
|
|
|
### List reactions for a team discussion (Legacy)
|
|
## List reactions for a team discussion (Legacy)
|
|
GET https://api.github.com/teams/{{team_id}}/discussions/{{discussion_number}}/reactions
|
|
Accept: application/json
|
|
Authorization: Bearer {{bearerToken}}
|