Skip to main content

Get User's Insight Counters

This endpoint retrieves a specific user's insight counters.

HTTP Request

GET /api/v2/insight/user/counters/

Parameters

NameInTypeRequiredDescription
user_idpathintegertrueThe user id
category_idpathstringfalseCan be a single category id or list (comma separated) of categories ids. 0 means empty (no category)
created_at__gtepathstring(date-time)falseDatetime of creation(greater than or equal to the given value)
created_at__ltepathstring(date-time)falseDatetime of creation(less than or equal to the given value)

Example Request

const headers = {
'Accept':'application/json',
'Authorization': 'Bearer {access_token}'
};

fetch('/api/v2/insight/user/counters/',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});

Responses

StatusMeaningDescriptionSchema
200OKResponse status codeInline

Response Schema

NameTypeRequiredRestrictionsDescription
num_contributesintegerfalsenoneThe number of contributes
num_commentsintegerfalsenoneThe number of comments
num_answers_receivedintegerfalsenoneThe number of answers received
num_comments_receivedintegerfalsenoneThe number of comments received
num_votesintegerfalsenoneThe number of votes
num_votes_receivedintegerfalsenoneThe number of votes received
num_connectionsintegerfalsenoneThe number of connections
num_followingsintegerfalsenoneThe number of followings
num_followersintegerfalsenoneThe number of followers
num_sharesintegerfalsenoneThe number of shares
num_posts_visitsintegerfalsenoneThe number of posts visits
num_embed_custom_click_receivedintegerfalsenoneThe number of embed custom click received

Example responses

{
"num_contributes": "integer",
"num_comments": "integer",
"num_answers_received": "integer",
"num_comments_received": "integer",
"num_votes": "integer",
"num_votes_received": "integer",
"num_connections": "integer",
"num_followings": "integer",
"num_followers": "integer",
"num_shares": "integer",
"num_posts_visits": "integer",
"num_embed_custom_click_received": "integer"
}