How can I get attachments to an Autodesk Construction Cloud Issue

I need to get the attachments to an issue from an Autodesk Construction Cloud (ACC) project. The Relationship API is of no help since the attachments are not references but direct attachments. Spend a lot of time searching for an appropriate endpoint to call but haven’t been able to find one. Inspecting the web interface I see a call made to https://developer.api.autodesk.com/construction/issues/v1/projects/:projectId/attachments/:issueId/items and that call returns json data listing the attachments. Can’t find any documentation of that call though. When I call this endpoint programmatically it gives me an error

The token does not have enough privileges for this request

although the scopes used by the web interface are same.

Any ideas of how to get direct attachments of an issue? Any help is much appreciated! Thank you 🙂

Read more here: Source link