- URL:
- https://<service-info-url>/metadata
- Methods:
GET- Version Introduced:
- 10.0
Description
This resource provides access to the metadata authored for the service. The default response format is always XML.
New in 10.6.1
-
For feature and map services published using ArcGIS Pro (2.2 or later) layer / table resource on services support the
metadataresource. Check thehasflag on a layer / table resource to determine if that layer / table supports theMetadata metadataresource. -
The
metadataresource supports two new parameters:formatandoutput.- Use
formatto specify metadata style. - User
outputto specify the response format.
- Use
Request parameters
| Parameter | Details |
|---|---|
| Specifies metadata style. The default is item description metadata style. Values: |
| Specifies the response format. If Values: |
Example usage
Example: Return metadata for a map service:
https://sampleserver6.arcgisonline.com/arcgis/rest/services/SF311/MapServer/info/metadata