Forum Discussion
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
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.