Returns the count of likes of specific blog post.
Permissions required: Permission to view the content of the blog post and its corresponding space.
read:page:confluence
Connect app scope required: READ
integer
RequiredReturned if the requested count is returned.
1
2
3
4
5
6
7
8
9
10
11
12
// This sample uses Atlassian Forge
// https://developer.atlassian.com/platform/forge/
import api, { route } from "@forge/api";
const response = await api.asUser().requestConfluence(route`/wiki/api/v2/blogposts/{id}/likes/count`, {
headers: {
'Accept': 'application/json'
}
});
console.log(`Response: ${response.status} ${response.statusText}`);
console.log(await response.json());
1
2
3
{
"count": 16
}
Returns the account IDs of likes of specific blog post.
Permissions required: Permission to view the content of the blog post and its corresponding space.
read:page:confluence
Connect app scope required: READ
integer
Requiredstring
integer
Returned if the requested account IDs are returned.
string
1
2
3
4
5
6
7
8
9
10
11
12
// This sample uses Atlassian Forge
// https://developer.atlassian.com/platform/forge/
import api, { route } from "@forge/api";
const response = await api.asUser().requestConfluence(route`/wiki/api/v2/blogposts/{id}/likes/users`, {
headers: {
'Accept': 'application/json'
}
});
console.log(`Response: ${response.status} ${response.statusText}`);
console.log(await response.json());
1
2
3
4
5
6
7
8
9
10
11
{
"results": [
{
"accountId": "<string>"
}
],
"_links": {
"next": "<string>",
"base": "<string>"
}
}
Returns the count of likes of specific page.
Permissions required: Permission to view the content of the page and its corresponding space.
read:page:confluence
Connect app scope required: READ
integer
RequiredReturned if the requested count is returned.
1
2
3
4
5
6
7
8
9
10
11
12
// This sample uses Atlassian Forge
// https://developer.atlassian.com/platform/forge/
import api, { route } from "@forge/api";
const response = await api.asUser().requestConfluence(route`/wiki/api/v2/pages/{id}/likes/count`, {
headers: {
'Accept': 'application/json'
}
});
console.log(`Response: ${response.status} ${response.statusText}`);
console.log(await response.json());
1
2
3
{
"count": 16
}
Returns the account IDs of likes of specific page.
Permissions required: Permission to view the content of the page and its corresponding space.
read:page:confluence
Connect app scope required: READ
integer
Requiredstring
integer
Returned if the requested account IDs are returned.
string
1
2
3
4
5
6
7
8
9
10
11
12
// This sample uses Atlassian Forge
// https://developer.atlassian.com/platform/forge/
import api, { route } from "@forge/api";
const response = await api.asUser().requestConfluence(route`/wiki/api/v2/pages/{id}/likes/users`, {
headers: {
'Accept': 'application/json'
}
});
console.log(`Response: ${response.status} ${response.statusText}`);
console.log(await response.json());
1
2
3
4
5
6
7
8
9
10
11
{
"results": [
{
"accountId": "<string>"
}
],
"_links": {
"next": "<string>",
"base": "<string>"
}
}
Returns the count of likes of specific footer comment.
Permissions required: Permission to view the content of the page/blogpost and its corresponding space.
read:comment:confluence
Connect app scope required: READ
integer
RequiredReturned if the requested count is returned.
1
2
3
4
5
6
7
8
9
10
11
12
// This sample uses Atlassian Forge
// https://developer.atlassian.com/platform/forge/
import api, { route } from "@forge/api";
const response = await api.asUser().requestConfluence(route`/wiki/api/v2/footer-comments/{id}/likes/count`, {
headers: {
'Accept': 'application/json'
}
});
console.log(`Response: ${response.status} ${response.statusText}`);
console.log(await response.json());
1
2
3
{
"count": 16
}
Returns the account IDs of likes of specific footer comment.
Permissions required: Permission to view the content of the page/blogpost and its corresponding space.
read:comment:confluence
Connect app scope required: READ
integer
Requiredstring
integer
Returned if the requested account IDs are returned.
string
1
2
3
4
5
6
7
8
9
10
11
12
// This sample uses Atlassian Forge
// https://developer.atlassian.com/platform/forge/
import api, { route } from "@forge/api";
const response = await api.asUser().requestConfluence(route`/wiki/api/v2/footer-comments/{id}/likes/users`, {
headers: {
'Accept': 'application/json'
}
});
console.log(`Response: ${response.status} ${response.statusText}`);
console.log(await response.json());
1
2
3
4
5
6
7
8
9
10
11
{
"results": [
{
"accountId": "<string>"
}
],
"_links": {
"next": "<string>",
"base": "<string>"
}
}
Returns the count of likes of specific inline comment.
Permissions required: Permission to view the content of the page/blogpost and its corresponding space.
read:comment:confluence
Connect app scope required: READ
integer
RequiredReturned if the requested count is returned.
1
2
3
4
5
6
7
8
9
10
11
12
// This sample uses Atlassian Forge
// https://developer.atlassian.com/platform/forge/
import api, { route } from "@forge/api";
const response = await api.asUser().requestConfluence(route`/wiki/api/v2/inline-comments/{id}/likes/count`, {
headers: {
'Accept': 'application/json'
}
});
console.log(`Response: ${response.status} ${response.statusText}`);
console.log(await response.json());
1
2
3
{
"count": 16
}
Returns the account IDs of likes of specific inline comment.
Permissions required: Permission to view the content of the page/blogpost and its corresponding space.
read:comment:confluence
Connect app scope required: READ
integer
Requiredstring
integer
Returned if the requested account IDs are returned.
string
1
2
3
4
5
6
7
8
9
10
11
12
// This sample uses Atlassian Forge
// https://developer.atlassian.com/platform/forge/
import api, { route } from "@forge/api";
const response = await api.asUser().requestConfluence(route`/wiki/api/v2/inline-comments/{id}/likes/users`, {
headers: {
'Accept': 'application/json'
}
});
console.log(`Response: ${response.status} ${response.statusText}`);
console.log(await response.json());
1
2
3
4
5
6
7
8
9
10
11
{
"results": [
{
"accountId": "<string>"
}
],
"_links": {
"next": "<string>",
"base": "<string>"
}
}
Rate this page: