Select to view content in your preferred language

Rest Link Question

157
1
2 weeks ago
Labels (2)
GaryMorris
Regular Contributor

Is there a quick easy way to tell if a rest link is coming from an SDE, other than making an edit and checking the layer in the SDE?

0 Kudos
1 Reply
DanielFox1
Esri Regular Contributor

Hi @GaryMorris 

Yes you can use the REST endpoint of a layer
Scroll to the Layer Source or Data Source section:  

"dataSource": {
"type": "table",
"workspaceId": "MAP",
"dataSourceName": "SDE.<FeatureClassName>",
"gdbVersion": "SDE.DEFAULT"
}

 

You might find this document interesting 

How to Determine the Location of the Source of a Feature Service from the Service URL in A

You can also using Python

Identify the Database Source of a Service in ArcGIS Enterprise Using API for Python

0 Kudos