I'm reviewing the documentation here: https://developers.arcgis.com/rest/services-reference/enterprise/query-attachments-feature-service-l... We would like to use queryAttachments for branch versioned data. But right now, this is not supported. There's no way to add gdbVersion to the request. This is a bug as far as I can tell. I also tried using VersionManager and obtaining differences, but if the user JUST adds attachments and does not make any edits to the associated features, the differences REST API request does not capture the new attachment. Ideas? Workarounds?
Hi @KarenRobine1 we are looking into this one. Note you can get attached features from a specific version using the feature resource.
For example https://myserver.esri.com/server/rest/services/VRNVA/FeatureServer/0/3/attachments
I hope that helps.
Yes, thank you. My name and organization is associated with the request ticket.
Sorry I don't understand what you mean. Which request ticket?
We opened a ticket with ESRI: case number #03075052. There's also an "enhancement request" associated with this. I found the Enhancement Request too: #ENH-000146767 Add the ability to support “gdbVersion” parameter when Query Attachments operation is performed on a feature service using ArcGIS Rest API. It looks like there's been no activity. This was submitted on 2/8/22. My email is associated with the case number tied to that enhancement, so feel free to contact me directly.