Network content GET resource

GET /statistics/network/content
Parameter Type Default Required Description
tag string content numbers for a specific tag
user_id Int content numbers for a specific user

Returns the total number of questions, solutions given, solution accepts, comments, ratings, user follows, recommendations, ratio of questions to solutions, ratio of questions to accepted solutions in the network if the tag and user_id query parameters are not given.

recommendations_sent and recommendations_received will return the same amount if no tag or user_id parameters were supplied. accept_solutions_received and accept_solutions_sent will return the same amount if no tag or user_id parameters were supplied.

If the tag query parameter is given, the results will be filtered where applicable (for instance, user follows are not tag specific). If the user_id query parameter is given, it returns the content numbers for this user. Only if the user_id is given, will we return solutions_received.

The parameters tag and user_id can be combined.

Response

{
    "questions": 21,
    "solutions": 42,
    "comments": 44,
    "recommendations_sent": 26,
    "recommendations_received": 43,
    "solution_ratings": 89,
    "accept_solutions_received": 18,
    "accept_solutions_sent": 23,
    "user_follows_sent": 13,
    "solutions_ratio_received": 0.9,
    "accept_solutions_ratio_sent": 0.8,
    "solutions_received": 13
}

Breakdown

Field Name Description Tag Filterable User Filterable
questions Questions asked
solutions Solutions posted
comments Comments made
recommendations_sent Expert recommendations sent
recommendations_received Expert recommendations received
solution_ratings Solution ratings sent
accept_solutions_received Accepted Solutions received
accept_solutions_sent Accepted Solutions Sent
user_follows_sent User follows sent
solutions_ratio_received Ratio of questions to solutions
accept_solutions_ratio_sent Ratio of questions to accepted solutions
solutions_received Number of solutions received (only present if user_id supplied)