Forum Discussion
Thanks a lot for your answer.
I have checked that there is data in the Web UI first.
The search that I do from the Web UI is this (Reports -> User Search Reports):
(this search if for an entire week)
I can see at least 15 results. Then I copy the URL to use it through the REST API like this:
And the response is this:
<response status="success">
<metrics type="metrics" href="/metrics">
<metric name="board_views" type="long">543122</metric>
<metric name="message_views" type="long">27896002</metric>
<metric name="subscriptions_sent" type="long">3751</metric>
<metric name="threads_escalated" type="long">113</metric>
</metrics>
</response>
:(.
Could this be related with the REST API version that we are using?
Can I download the CSV using some sort of request?
Thanks again for your time.
Claudio.
Ok, I've been trying to get this info myself, with the following URLs and I'm getting "0" too.
(remember, I have admin permissions on the Lithosphere, so these types of URLs would have to be changed to your staging server to at least get success...but I'm looking into getting a result):
http://lithosphere.lithium.com/lithium/restapi/vc/metrics/name/userSearch_top_search_terms?date_start=2008-03-11&date_end=2009-06-12&restapi.format_detail=full_list_element&restapi.response_style=view&page=1&page_size=99
http://lithosphere.lithium.com/lithium/restapi/vc/metrics/name/userSearch_top_search_terms?date_start=2008-03-11&date_end=2009-06-12
http://lithosphere.lithium.com/lithium/restapi/vc/metrics/name/userSearch_top_search_terms
http://lithosphere.lithium.com/lithium/restapi/vc/metrics/name/userSearch_top_search_terms&date=1280127600000
I'm reaching out to Lithium Developers to see if they can lend a hand. Unfortunately, I'm not a Developer so I can only bring the ball so far down the field. :(
- cacciaresi15 years agoAdept
Excellent, anything that I can do or test to solve this problem, please don't hesitate to ask.
Claudio.
- JustinL15 years agoContributor
Just adding my voice to this thread as someone who's also looking to pull search terms out of the API.
I've tested these endpoints and seen the same results (I have admin permissions on our community), so I'll be watching this thread for updates.
I know it's not the best use of the API, but I'm not going to be exposing the search terms to the community. We're going to be using the search terms in a daily community dashboard for management in order to identify new errors and problems that are popping up within our user base.
- nMatt14 years agoContributor
Any updates on this? I always get a result of "0" no matter what I do.
Related Content
- 11 months ago
- 5 months ago
- 2 years ago