Provide a way to get the type or relationship between items in ArcGIS Online or ArcGIS Enterprise

708
0
06-26-2023 02:20 PM
Status: Open
AndrewRudin1
Occasional Contributor II

AGOL and Portal Administrators need to understand dependencies between items.  The REST API provides an endpoint on each item to get a list of all the related items.  This is the relatedItems endpoint (see documentation here). However, the list returned does not tell you what kind of relationship it is.  The endpoint does provide a parameter named "relationshipTypes" to filter what kind of relationships you want returned, so Esri have a finite list of these types, but the endpoint documentation does not list them. 

It would help me to report dependencies if this relatedItems response was enhanced to include the relationshipTypes property and whether the relationship is backwards or forwards in regards to the item I'm querying from.

Tags (2)