Forum Discussion
Thank you for the quick reply. I had looked at the Metrics object, but did not find how to get it to do what I want.
Your second and third links give me an access denied error. Is it possible I need a higher level of access to get this part of the API to work? I have REST API access and am able to use other parts of the API without issue.
Thanks,
Tony
From this:
http://forums.autodesk.com/restapi/vc/categories/id/3012/metrics/name/visitors
I get this response:
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<response status="error">
<error code="303">
<message>
Permission Denied
</message>
</error>
</response>
I've just guessed at 'visitors' being one of the metric names avaiable. Is there list of available metrics in the documentation somewhere?
community, source, and id all show reasonable output. metrics/metrics shows 'success' but is blank:
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<response status="success">
<metrics/>
</response>
Thanks,
Tony
- AdamN12 years agoKhoros Oracle
Hi Tony,
If you don't think you have the right access, please check out this TKB article for information on how to get access:
Once you have access, the second link in my original post has documentation for the metrics available and their corresponding IDs.
The error you're showing looks like you don't have sufficient permissions. You might want to try first logging in with an admin account or some other account that has permission to view metrics.
- antoniolicon12 years agoContributorIt's strange and confusing to have access to one part of the API (and docs) but not the others. Particularly when the docs aren't organized in a way that indicates various levels of access. What's more: why don't I just have an API key? Maybe there is a place to get the key that I've somehow missed. As it is, I need to visit the Forum in my browser to authenticate, and then I can access (some of) the API calls from a tool like Postman. I'd really love to have tools to easily tap the REST API for automated reporting. This workflow is not particularly useful so far.