Is it possible to get the publication date metadata from a web service using arcpy.metadata or similar?
Hi Dean,
you can retrieve the info about publication from from the sharing REST endpoint
e.g. https://<portal-fqdn>/portal/sharing/rest/content/items/<item-id>
You can search for the item representing your service at
https://<portal-fqdn>/portal/sharing/rest/search
programmatically - the reference is here.
https://developers.arcgis.com/rest/users-groups-and-items/item.htm
items/[itemID]: Item—ArcGIS REST APIs | ArcGIS Developers
Thanks @DavidHoy very much appreciated and thanks for the very quick response 🙂
@DMH_Hobart
Dean,
the code I provided wasnt quite right - I will test and provide update shortly