Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
1bcc20d
Add blockchain to latest profile
markcowl Aug 22, 2019
7b46097
Add additional types
markcowl Aug 22, 2019
6b2c315
Merge branch 'Azure:main' into main
alankashiwa Aug 11, 2021
2420613
Merge branch 'Azure:main' into main
alankashiwa Aug 13, 2021
19e0b7d
Merge branch 'Azure:main' into main
alankashiwa Aug 18, 2021
a722d35
Merge branch 'Azure:main' into main
alankashiwa Sep 6, 2021
28e6dd5
Merge branch 'Azure:main' into main
alankashiwa Sep 13, 2021
3c57444
Merge branch 'Azure:main' into main
alankashiwa Sep 14, 2021
f197dfb
Merge branch 'Azure:main' into main
alankashiwa Sep 16, 2021
4bca32e
Merge branch 'Azure:main' into main
alankashiwa Sep 17, 2021
9b01510
Merge branch 'Azure:main' into main
alankashiwa Sep 19, 2021
474affb
Merge branch 'Azure:main' into main
alankashiwa Sep 22, 2021
bec9441
Merge branch 'Azure:main' into main
alankashiwa Sep 23, 2021
5c66d9f
Merge branch 'Azure:main' into main
alankashiwa Sep 30, 2021
ab92423
Merge branch 'Azure:main' into main
alankashiwa Oct 6, 2021
378d3c9
All: Rename CoordinatePair* to LatLongPair*
alankashiwa Sep 23, 2021
da2f8e7
Elevation: Assign more descriptive name for point/line request body
alankashiwa Sep 23, 2021
279c13a
Elevation: Modify descriptions for rows and columns parameters
alankashiwa Sep 23, 2021
529dedc
Elevation: Use collectionFormat for parameter bounds
alankashiwa Sep 24, 2021
f0de6b1
Elevation: Add x-ms-client-flatten to data prop (X: reverted later)
alankashiwa Sep 24, 2021
24ca5c6
Elevation: Condense to a single result type for all the methods
alankashiwa Sep 24, 2021
69474d2
Geolocation: flatten countryRegion prop
alankashiwa Sep 24, 2021
91a738a
Common: add client name for View parameter
alankashiwa Sep 24, 2021
4c834d6
Search/Weather: Clean up referneces and apiversion
alankashiwa Sep 24, 2021
a770ae5
Elevation: Delete flatten since it's impossible to move array into ob…
alankashiwa Sep 24, 2021
dc34c36
Elevation: user-friendly key names for x-ms-examples
alankashiwa Sep 24, 2021
000dff1
Elevation: rename the request body directly instead of using x-ms-cli…
alankashiwa Sep 29, 2021
98cd93e
Elevation: Remove language specific reference
alankashiwa Oct 1, 2021
c02cd9d
Common: Remove language specific reference
alankashiwa Oct 1, 2021
58a1cf1
Geolocation: Remove language specific reference
alankashiwa Oct 1, 2021
90fd61c
Elevation: rename data property and its type
alankashiwa Oct 2, 2021
6119b42
Elevation: rename 'endpointsOfPolyline' to simply 'polyline'
alankashiwa Oct 2, 2021
cca6b63
Revert "Geolocation: flatten countryRegion prop"
alankashiwa Oct 6, 2021
03231a7
Common: Change View's type to enum and modify its client name
alankashiwa Oct 6, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
115 changes: 107 additions & 8 deletions specification/maps/data-plane/Common/preview/1.0/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
}
}
},
"CoordinatesPair": {
"LatLongPair": {
"description": "A location represented as a latitude and longitude.",
"type": "object",
"properties": {
Expand All @@ -136,7 +136,7 @@
}
}
},
"CoordinatesPairAbbreviated": {
"LatLongPairAbbreviated": {
"description": "A location represented as a latitude and longitude using short names 'lat' & 'lon'.",
"type": "object",
"properties": {
Expand Down Expand Up @@ -532,7 +532,7 @@
"Language": {
"name": "language",
"in": "query",
"description": "Language in which search results should be returned. Should be one of supported IETF language tags, case insensitive. When data in specified language is not available for a specific field, default language is used.\n\nPlease refer to [Supported Languages](https://docs.microsoft.com/en-us/azure/azure-maps/supported-languages) for details.",
"description": "Language in which search results should be returned. Should be one of supported IETF language tags, case insensitive. When data in specified language is not available for a specific field, default language is used.\n\nPlease refer to [Supported Languages](https://docs.microsoft.com/azure/azure-maps/supported-languages) for details.",
"type": "string",
"x-ms-parameter-location": "method"
},
Expand Down Expand Up @@ -614,16 +614,115 @@
},
"View": {
"name": "view",
"x-ms-client-name": "localizedMapView",
"in": "query",
"description": "The View parameter specifies which set of geopolitically disputed content is returned via Azure Maps services, including borders and labels displayed on the map. The View parameter (also referred to as “user region parameter”) will show the correct maps for that country/region. By default, the View parameter is set to “Unified” even if you haven’t defined it in the request. It is your responsibility to determine the location of your users, and then set the View parameter correctly for that location. Alternatively, you have the option to set ‘View=Auto’, which will return the map data based on the IP address of the request. The View parameter in Azure Maps must be used in compliance with applicable laws, including those regarding mapping, of the country where maps, images and other data and third party content that you are authorized to access via Azure Maps is made available. Example: view=IN.\n\nPlease refer to [Supported Views](https://aka.ms/AzureMapsLocalizationViews) for details and to see the available Views.",
"description": "The View parameter (also called the \"user region\" parameter) allows you to show the correct maps for a certain country/region for geopolitically disputed regions. Different countries have different views of such regions, and the View parameter allows your application to comply with the view required by the country your application will be serving. By default, the View parameter is set to “Unified” even if you haven’t defined it in the request. It is your responsibility to determine the location of your users, and then set the View parameter correctly for that location. Alternatively, you have the option to set ‘View=Auto’, which will return the map data based on the IP address of the request. The View parameter in Azure Maps must be used in compliance with applicable laws, including those regarding mapping, of the country where maps, images and other data and third party content that you are authorized to access via Azure Maps is made available. Example: view=IN.\n\nPlease refer to [Supported Views](https://aka.ms/AzureMapsLocalizationViews) for details and to see the available Views.",
"x-ms-parameter-location": "method",
"type": "string",
"x-ms-parameter-location": "method"
"enum": [
"AE",
"AR",
"BH",
"IN",
"IQ",
"JO",
"KW",
"LB",
"MA",
"OM",
"PK",
"PS",
"QA",
"SA",
"SY",
"YE",
"Auto",
"Unified"
],
"x-ms-enum": {
"name": "LocalizedMapView",
"modelAsString": true,
"values": [
{
"value": "AE",
"description": "United Arab Emirates (Arabic View)"
},
{
"value": "AR",
"description": "Argentina (Argentinian View)"
},
{
"value": "BH",
"description": "Bahrain (Arabic View)"
},
{
"value": "IN",
"description": "India (Indian View)"
},
{
"value": "IQ",
"description": "Iraq (Arabic View)"
},
{
"value": "JO",
"description": "Jordan (Arabic View)"
},
{
"value": "KW",
"description": "Kuwait (Arabic View)"
},
{
"value": "LB",
"description": "Lebanon (Arabic View)"
},
{
"value": "MA",
"description": "Morocco (Moroccan View)"
},
{
"value": "OM",
"description": "Oman (Arabic View)"
},
{
"value": "PK",
"description": "Pakistan (Pakistani View)"
},
{
"value": "PS",
"description": "Palestinian Authority (Arabic View)"
},
{
"value": "QA",
"description": "Qatar (Arabic View)"
},
{
"value": "SA",
"description": "Saudi Arabia (Arabic View)"
},
{
"value": "SY",
"description": "Syria (Arabic View)"
},
{
"value": "YE",
"description": "Yemen (Arabic View)"
},
{
"value": "Auto",
"description": "Return the map data based on the IP address of the request."
},
{
"value": "Unified",
"description": "Unified View (Others)"
}
]
}
},
"xTileIndex": {
"name": "x",
"x-ms-client-name": "xTileIndex",
"in": "query",
"description": "X coordinate of the tile on zoom grid. Value must be in the range [0, 2<sup>`zoom`</sup> -1].\n\nPlease see [Zoom Levels and Tile Grid](https://docs.microsoft.com/en-us/azure/location-based-services/zoom-levels-and-tile-grid) for details.",
"description": "X coordinate of the tile on zoom grid. Value must be in the range [0, 2<sup>`zoom`</sup> -1].\n\nPlease see [Zoom Levels and Tile Grid](https://docs.microsoft.com/azure/location-based-services/zoom-levels-and-tile-grid) for details.",
"required": true,
"type": "integer",
"format": "int32",
Expand All @@ -633,7 +732,7 @@
"name": "y",
"x-ms-client-name": "yTileIndex",
"in": "query",
"description": "Y coordinate of the tile on zoom grid. Value must be in the range [0, 2<sup>`zoom`</sup> -1].\n\nPlease see [Zoom Levels and Tile Grid](https://docs.microsoft.com/en-us/azure/location-based-services/zoom-levels-and-tile-grid) for details.",
"description": "Y coordinate of the tile on zoom grid. Value must be in the range [0, 2<sup>`zoom`</sup> -1].\n\nPlease see [Zoom Levels and Tile Grid](https://docs.microsoft.com/azure/location-based-services/zoom-levels-and-tile-grid) for details.",
"required": true,
"type": "integer",
"format": "int32",
Expand Down Expand Up @@ -686,7 +785,7 @@
"x-ms-error-response": true
},
"409StorageLimit": {
"description": "The [data storage limit](https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/azure-subscription-service-limits#azure-maps-limits) is reached on the Azure Maps account. You can always use the [Data Delete API](https://docs.microsoft.com/en-us/rest/api/maps/data/deletepreview) to delete old/unused content and create space for new uploads.",
"description": "The [data storage limit](https://docs.microsoft.com/azure/azure-resource-manager/management/azure-subscription-service-limits#azure-maps-limits) is reached on the Azure Maps account. You can always use the [Data Delete API](https://docs.microsoft.com/rest/api/maps/data/deletepreview) to delete old/unused content and create space for new uploads.",
"schema": {
"$ref": "../../../../../common-types/data-plane/v1/types.json#/definitions/ErrorResponse"
},
Expand Down
Loading