- URL:
- https://<root>/<serviceName>/FeatureServer/<layerId>/convert3D
- Methods:
GET
- Version Introduced:
- 11.1
Description
The convert3D
operation is used to convert small assets from one format to another. Similar to the query
operation, converted assets can be retrieved from either the response (esri
) or as an asset reference (esri
). Before performing the convert3D
operation, assets must be uploaded using the upload
operation.
Request parameters
Parameter | Details |
---|---|
| Specifies how the assets will be retrieved. The default value is Values: |
| The format in which the converted assets will be returned in the response. Potential values: |
| An array of assets describing the 3D object that the client wants to convert to the specified Syntax
|
| The response format. The default response format is Values: |
Example usage
The following is a sample request URL for the convert3D
operation:
https://machine.domain.com/webadaptor/rest/services/City_Park_Assets/FeatureServer/0/convert3D
JSON Response syntax
{
"assets": [<asset1>,<asset2>]
}
JSON Response example
{
assets: [
{
"assetHash": "045ef29d382f1c8227bde3a25d37f7a62fe0d2259a3a14dd6486ee53c8faba18",
"contentType": "model/gltf-binary",
"assetName": "model.glb",
"assetURL": "https://machine.domain.com/webadapter/rest/services/ESRI3DO/FeatureServer/0/assets/045ef29d382f1c8227bde3a25d37f7a62fe0d2259a3a14dd6486ee53c8faba18"
}
]
}