Get a page of users who liked a commit comment in the specified repository, identified by commitId
and commentId
.
The authenticated user must have the REPO_READ (or higher) permission for the specified repository to access this resource.
Deprecated in 8.0 to be removed in 9.0.
string
Requiredinteger
Requiredstring
Requiredstring
Requirednumber
number
Page of users who liked the specified comment
1
2
3
curl --request GET \
--url 'http://{baseurl}/rest/comment-likes/latest/projects/{projectKey}/repos/{repositorySlug}/commits/{commitId}/comments/{commentId}/likes' \
--header 'Accept: application/json'
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{
"values": [
{
"slug": "jcitizen",
"emailAddress": "jane@example.com",
"displayName": "Jane Citizen",
"name": "jcitizen",
"id": 101,
"type": "NORMAL",
"active": true
}
],
"size": 1,
"isLastPage": true,
"nextPageStart": 2154,
"start": 2154,
"limit": 25
}
Like a commit comment in the specified repository, identified by commitId
and commentId
.
The authenticated user must have the REPO_READ (or higher) permission for the specified repository to access this resource.
Deprecated in 8.0 to be removed in 9.0. Likes have been replaced with reactions. For backwards compatibility, the
thumbsupreaction is treated as a like.
string
Requiredinteger
Requiredstring
Requiredstring
RequiredNo content response indicating that the request succeeded
1
2
curl --request POST \
--url 'http://{baseurl}/rest/comment-likes/latest/projects/{projectKey}/repos/{repositorySlug}/commits/{commitId}/comments/{commentId}/likes'
Unlike a commit comment in the specified repository, identified by commitId
and commentId
.
The authenticated user must have the REPO_READ (or higher) permission for the specified repository to access this resource.
Deprecated in 8.0 to be removed in 9.0. Likes have been replaced with reactions. For backwards compatibility, the
thumbsupreaction is treated as a like.
string
Requiredinteger
Requiredstring
Requiredstring
RequiredNo content response indicating that the request succeeded
1
2
curl --request DELETE \
--url 'http://{baseurl}/rest/comment-likes/latest/projects/{projectKey}/repos/{repositorySlug}/commits/{commitId}/comments/{commentId}/likes'
string
Requiredstring
Requiredstring
Requiredstring
Requiredstring
Requireddefault response
any
1
2
curl --request PUT \
--url 'http://{baseurl}/rest/comment-likes/latest/projects/{projectKey}/repos/{repositorySlug}/commits/{commitId}/comments/{commentId}/reactions/{emoticon}'
string
Requiredstring
Requiredstring
Requiredstring
Requiredstring
Requireddefault response
any
1
2
curl --request DELETE \
--url 'http://{baseurl}/rest/comment-likes/latest/projects/{projectKey}/repos/{repositorySlug}/commits/{commitId}/comments/{commentId}/reactions/{emoticon}'
Get a page of users who liked a pull request comment in the specified repository, identified by pullRequestId
and commentId
.
The authenticated user must have the REPO_READ (or higher) permission for the specified repository to access this resource.
Deprecated in 8.0 to be removed in 9.0.
string
Requiredstring
Requiredstring
Requiredstring
Requirednumber
number
Page of users who liked the specified comment
1
2
3
curl --request GET \
--url 'http://{baseurl}/rest/comment-likes/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/comments/{commentId}/likes' \
--header 'Accept: application/json'
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{
"values": [
{
"slug": "jcitizen",
"emailAddress": "jane@example.com",
"displayName": "Jane Citizen",
"name": "jcitizen",
"id": 101,
"type": "NORMAL",
"active": true
}
],
"size": 1,
"isLastPage": true,
"nextPageStart": 2154,
"start": 2154,
"limit": 25
}
Like a pull request comment in the specified repository, identified by pullRequestId
and commentId
. The like will be recorded against the requesting user.
The authenticated user must have the REPO_READ (or higher) permission for the specified repository to access this resource.
Deprecated in 8.0 to be removed in 9.0. Likes have been replaced with reactions. For backwards compatibility, the
thumbsupreaction is treated as a like.
string
Requiredstring
Requiredstring
Requiredstring
RequiredNo content response indicating that the request succeeded
1
2
curl --request POST \
--url 'http://{baseurl}/rest/comment-likes/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/comments/{commentId}/likes'
Unlike a pull request comment in the specified repository, identified by pullRequestId
and commentId
.
The authenticated user must have the REPO_READ (or higher) permission for the specified repository to access this resource.
Deprecated in 8.0 to be removed in 9.0. Likes have been replaced with reactions. For backwards compatibility, the
thumbsupreaction is treated as a like.
string
Requiredstring
Requiredstring
Requiredstring
RequiredNo content response indicating that the request succeeded
1
2
curl --request DELETE \
--url 'http://{baseurl}/rest/comment-likes/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/comments/{commentId}/likes'
string
Requiredstring
Requiredstring
Requiredstring
Requiredstring
Requireddefault response
any
1
2
curl --request PUT \
--url 'http://{baseurl}/rest/comment-likes/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/comments/{commentId}/reactions/{emoticon}'
string
Requiredstring
Requiredstring
Requiredstring
Requiredstring
Requireddefault response
any
1
2
curl --request DELETE \
--url 'http://{baseurl}/rest/comment-likes/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/comments/{commentId}/reactions/{emoticon}'
Rate this page: