I see there's a way to pull back attachments one object at a time:
https://documentation.riada.io/insight/latest/objects-attachments-rest-29316615.html
And unfortunately the normal object call doesn't return a list of attachments for each object.
e.g.
.../rest/insight/1.0/iql/objects?objectSchemaId=3&iql=ObjectType=%22Products%22&resultPerPage=10
So, unless you know the exact object ID there's no way to get to the attachments. Is there another way I'm missing? I'd love to see them listed at the object level or a call that lists all attachments for a given schema.
Hi Chad.
In the OBJECT API Documentation you will find two APIs to Find Objects (either by
/rest/insight/1.0/objecttype/{id}/objects, or similar to the IQL in your example).
However, as you've noted - while these will return a list of Objects (with or without Attributes), for which you will have to call on each separately to get the Specific Object's Attachment. currently, there is no REST endpoint to get an Object expanded with its Attachments.
I would like to recommend you to visit https://jira.riada.io which is our open ticket system for feature requests and verified bugs. You can view, watch, vote and comment on issues reported by anyone.
If you can't find an already opened ticket request for this feature, feel free to create a new one.
Please inform us if you have further inquiries.
Kind regards,
Yinon
Team Riada
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.