Forum Discussion

Mswetsky's avatar
11 years ago

REST API to retrieve a User search report

In the community Admin there are standard User report searchh results that show # posts, views etc.

I have attached a sample csv output.

I am looking for a snipet to get a report like that through the REST API so I can automate getting the data.

1 Reply

  • This is one of the oldest questions here in the Lithium Community (See also "Retrieving metrics using the REST API"). And although you can pull user data via a Community/users call, you cannot

    1. filter this user list by roles, ranks, timespan or area of activity on the community.
    2. Nor can you directly define which user metrics you would like to return.

    You can work with Endpoints to work out 2., but can't adress 1. easily as far as I can tell with the current scope of the Community API. Sounds like a good product idea though...