Allow Open Data API to return an Open Data item page URL

386
0
12-14-2018 06:25 AM
Status: Open
RachelleDoucet
New Contributor III

We have a corporate website (Drupal) with a search function that uses the ArcGIS API to return a list of items (datasets and PDF files) from our Open Data portal (hosted in AGOL).

At the moment there are only two URLs we can send users to based on the API call results: 

1. the URL of the item : example: https://www.arcgis.com/sharing/rest/content/items/4173b517960346d1b1f967896c326c47/data

OR

2. the AGOL Landing Page of the item:

example: https://www.arcgis.com/home/item.html?id=4173b517960346d1b1f967896c326c47
 

It would be very helpful if the Open Data item page URL could also be called from the API. 

example: http://open.moncton.ca/datasets/green-building-policy

This would allow users to be directed to the Open Data portal (rather than the AGOL page), where they can see a preview of the dataset or pdf. And makes for a friendlier experience for sharing the URL with others.