Azure Maps Data Registry Service (preview:2022-12-01)

2025/10/06 • 6 deleted methods

DataRegistry_List (removed)
Description **Applies to:** see pricing [tiers](https://aka.ms/AzureMapsPricingTier). The `List` request returns an array containing all data registries previously registered using the [Register or Replace API](https://docs.microsoft.com/rest/api/maps/data-registry/register-or-replace). This API won't check whether Azure Maps can access the underlying content and whether integrity check is passed for each data registry. Please use [Get Content](https://docs.microsoft.com/rest/api/maps/data-registry/get-content) for the latest status individually. The data registry service endpoint is limited in scope to the region of your Azure Maps account and is not available for global Azure Maps accounts. >[!Important] >By using this feature, you agree to the preview legal terms. See the [Preview Supplemental Terms](https://azure.microsoft.com/en-us/support/legal/preview-supplemental-terms/) for additional details. ## Submit List Request To list all your data registries, issue a `GET` request with no additional parameters. ## List Response The `List` request returns an array of data registries in `JSON` format in the body of the response.
Reference Link ¶

⚼ Request

GET:  /dataRegistries
{
x-ms-client-id: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
udid: string ,
description: string ,
kind: enum ,
azureBlob:
{
dataFormat: enum ,
msiClientId: string ,
linkedResource: string ,
blobUrl: string ,
downloadURL: string ,
sizeInBytes: integer ,
contentMD5: string ,
}
,
status: enum ,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
DataRegistry_GetDataRegistry (removed)
Description **Applies to:** see pricing [tiers](https://aka.ms/AzureMapsPricingTier). The `Get Data Registry` request returns the data registry information, as an [AzureBlob](#azureblob) object in JSON format, in the body of the response along with the HTTP status code of 200 when successful. If Azure Maps cannot access the underlying content or the integrity check fails, the `status` is set to `Failed` and and error is returned. The data registry service endpoint is limited in scope to the region of your Azure Maps account and is not available for global Azure Maps accounts. >[!Important] >By using this feature, you agree to the preview legal terms. See the [Preview Supplemental Terms](https://azure.microsoft.com/en-us/support/legal/preview-supplemental-terms/) for additional details. ## Submit Get Data Registry Request A data registry `GET` request returns details of the requested data registry, as determined by the specified `udid`. The details are returned in the body of the response in JSON format.
Reference Link ¶

⚼ Request

GET:  /dataRegistries/{udid}
{
x-ms-client-id: string ,
api-version: string ,
udid: string ,
}

⚐ Response (200)

{
udid: string ,
description: string ,
kind: enum ,
azureBlob:
{
dataFormat: enum ,
msiClientId: string ,
linkedResource: string ,
blobUrl: string ,
downloadURL: string ,
sizeInBytes: integer ,
contentMD5: string ,
}
,
status: enum ,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
DataRegistry_RegisterOrReplace (removed)
Description **Applies to:** see pricing [tiers](https://aka.ms/AzureMapsPricingTier). The `Register` request is used to register data in an Azure Storage Account with an Azure Maps account. The maximum file size that can be registered is one gigabyte. This is useful in scenarios like registering a collection of Geofences in `GeoJSON` format for use in [Azure Maps Geofencing Service](https://docs.microsoft.com/rest/api/maps/spatial), or registering a set of DWG design files as a zipped [Drawing Package](https://docs.microsoft.com/azure/azure-maps/drawing-requirements) for use in the Azure Maps Creator [Conversion Service](https://docs.microsoft.com/rest/api/maps/v2/conversion). The data registry service endpoint is limited in scope to the region of your Azure Maps account and is not available for global Azure Maps accounts. >[!Important] >By using this feature, you agree to the preview legal terms. See the [Preview Supplemental Terms](https://azure.microsoft.com/en-us/support/legal/preview-supplemental-terms/) for additional details. ## Submit Register or Replace Request The `Register` and `Replace` requests are both long-running operations that contain an [AzureBlob](#azureblob) JSON object in the body of the request that defines the data registry details.
Reference Link ¶

⚼ Request

PUT:  /dataRegistries/{udid}
{
x-ms-client-id: string ,
api-version: string ,
udid: string ,
Operation-Id: string ,
dataRegistry:
{
udid: string ,
description: string ,
kind: enum ,
azureBlob:
{
dataFormat: enum ,
msiClientId: string ,
linkedResource: string ,
blobUrl: string ,
downloadURL: string ,
sizeInBytes: integer ,
contentMD5: string ,
}
,
status: enum ,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}

⚐ Response (200)

{
$headers:
{
operation-id: string ,
operation-location: string ,
}
,
$schema:
{
udid: string ,
description: string ,
kind: enum ,
azureBlob:
{
dataFormat: enum ,
msiClientId: string ,
linkedResource: string ,
blobUrl: string ,
downloadURL: string ,
sizeInBytes: integer ,
contentMD5: string ,
}
,
status: enum ,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}

⚐ Response (201)

{
$headers:
{
operation-id: string ,
operation-location: string ,
}
,
$schema:
{
udid: string ,
description: string ,
kind: enum ,
azureBlob:
{
dataFormat: enum ,
msiClientId: string ,
linkedResource: string ,
blobUrl: string ,
downloadURL: string ,
sizeInBytes: integer ,
contentMD5: string ,
}
,
status: enum ,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
DataRegistry_Unregister (removed)
Description **Applies to:** see pricing [tiers](https://aka.ms/AzureMapsPricingTier). The `Unregister` request removes a data registry without deleting the underlying content frm the Azure storage account. Useful in scenarios like unregistering geofence files previously registered using the [Register or Replace API](https://docs.microsoft.com/rest/api/maps/data-registry/register-or-replace) for use in the [Azure Maps Geofencing Service](https://docs.microsoft.com/rest/api/maps/spatial), or unregistering a compressed (ZIP) file containing DWG design files used by the Azure Maps Creator [Conversion Service](https://docs.microsoft.com/rest/api/maps/v2/conversion). The data registry service endpoint is limited in scope to the region of your Azure Maps account and is not available for global Azure Maps accounts. >[!Important] >By using this feature, you agree to the preview legal terms. See the [Preview Supplemental Terms](https://azure.microsoft.com/en-us/support/legal/preview-supplemental-terms/) for additional details. ## Submit Unregister Request Use an HTTP `DELETE` request with the `udid` of the data registry to unregister. ## Unregister Response The `Unregister` request returns a HTTP '204 No Content' response with an empty body, if the data registry was deleted successfully.
Reference Link ¶

⚼ Request

DELETE:  /dataRegistries/{udid}
{
x-ms-client-id: string ,
api-version: string ,
udid: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
DataRegistry_GetContent (removed)
Description **Applies to:** see pricing [tiers](https://aka.ms/AzureMapsPricingTier). The `Get Content` request returns the contents of the specified file in the body of the response. The content is not available if the status is `Running` or `Failed`. The data registry service endpoint is limited in scope to the region of your Azure Maps account and is not available for global Azure Maps accounts. >[!Important] >By using this feature, you agree to the preview legal terms. See the [Preview Supplemental Terms](https://azure.microsoft.com/en-us/support/legal/preview-supplemental-terms/) for additional details. ## Submit Get Content Request To get the contents of a registered file, include the user data ID (`udid`) in a `dataRegistries` request. ## Get Content Response The `Get Content` request returns the contents of the file in the response body, along with the HTTP status code of 200 when successful. The HTTP status code 400 (Bad Request) is returned if the file registry process failed or is still running.
Reference Link ¶

⚼ Request

GET:  /dataRegistries/{udid}/content
{
x-ms-client-id: string ,
api-version: string ,
udid: string ,
}

⚐ Response (200)

{
$headers:
{
content-type: string ,
}
,
$schema: file ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
DataRegistry_GetOperation (removed)
Description The HTTP `GET` request used to get the status of a [data register or replace](/rest/api/maps/data-registry/register-or-replace) request is returned in the header of the register or replace response as the value of the `Operation-Location` key. While in progress, a HTTP `200 OK` response will be returned with `Retry-After` header - followed by a HTTP `200 OK` with no extra header once completed. The data registry service endpoint is limited in scope to the region of your Azure Maps account and is not available for global Azure Maps accounts. >[!Important] >By using this feature, you agree to the preview legal terms. See the [Preview Supplemental Terms](https://azure.microsoft.com/en-us/support/legal/preview-supplemental-terms/) for additional details.
Reference Link ¶

⚼ Request

GET:  /dataRegistries/operations/{operationId}
{
api-version: string ,
operationId: string ,
}

⚐ Response (200)

{
$headers:
{
retry-after: integer ,
}
,
$schema:
{
id: string ,
status: enum ,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}