Skip to content

Commit

Permalink
fix host parametrization for non-creator clients (Azure#15386)
Browse files Browse the repository at this point in the history
  • Loading branch information
ambientlight authored Aug 24, 2021
1 parent 8dbeba8 commit d23e3e2
Show file tree
Hide file tree
Showing 75 changed files with 9 additions and 138 deletions.
9 changes: 1 addition & 8 deletions specification/maps/data-plane/DEM/preview/1.0/elevation.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,7 @@
"version": "1.0",
"description": "The Azure Maps Elevation API provides an HTTP interface to query elevation data on the surface of the Earth. Elevation data can be retrieved at specific locations by sending lat/lon coordinates, by defining an ordered set of vertices that form a Polyline and a number of sample points along the length of a Polyline, or by defining a bounding box that consists of equally spaced vertices as rows and columns. The vertical datum is EPSG:3855. This datum uses the EGM2008 geoid model applied to the WGS84 ellipsoid as its zero height reference surface. The vertical unit is measured in meters, the spatial resolution of the elevation data is 0.8 arc-second for global coverage (~24 meters)."
},
"x-ms-parameterized-host": {
"hostTemplate": "{geography}.atlas.microsoft.com",
"parameters": [
{
"$ref": "../../../Common/preview/1.0/common.json#/parameters/GeographicResourceLocation"
}
]
},
"host": "atlas.microsoft.com",
"schemes": [
"https"
],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"parameters": {
"geography": "us",
"format": "json",
"api-version": "1.0",
"bounds": "-121.66853362143818, 46.84646479863713,-121.65853362143818, 46.85646479863713",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"parameters": {
"geography": "us",
"format": "json",
"api-version": "1.0",
"points": "-121.66853362143818, 46.84646479863713|-121.68853362143818, 46.856464798637127"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"parameters": {
"geography": "us",
"format": "json",
"api-version": "1.0",
"lines": "-121.66853362143818, 46.84646479863713|-121.67853362143818, 46.85646479863713",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"parameters": {
"geography": "us",
"format": "json",
"api-version": "1.0",
"pointsRequestBody": [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"parameters": {
"geography": "us",
"format": "json",
"api-version": "1.0",
"linesRequestBody": [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"parameters": {
"geography": "us",
"api-version": "1.0",
"format": "json",
"ip": "2001:4898:80e8:b::189"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,7 @@
"version": "1.0",
"description": "Azure Maps Geolocation REST APIs"
},
"x-ms-parameterized-host": {
"hostTemplate": "{geography}.atlas.microsoft.com",
"parameters": [
{
"$ref": "../../../Common/preview/1.0/common.json#/parameters/GeographicResourceLocation"
}
]
},
"host": "atlas.microsoft.com",
"schemes": [
"https"
],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"parameters": {
"geography": "us",
"api-version": "1.0",
"format": "json"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"parameters": {
"geography": "us",
"api-version": "1.0",
"format": "json",
"zoom": 6,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"parameters": {
"geography": "us",
"api-version": "1.0",
"format": "json"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"parameters": {
"geography": "us",
"api-version": "1.0",
"format": "json",
"mincoordinates": "52.41064,4.84228",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"parameters": {
"geography": "us",
"api-version": "1.0",
"format": "png",
"style": "satellite",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"parameters": {
"geography": "us",
"api-version": "1.0",
"statesetId": "[statesetId]",
"zoom": 6,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"parameters": {
"geography": "us",
"api-version": "1.0",
"format": "png",
"zoom": 2,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"parameters": {
"geography": "us",
"api-version": "1.0",
"format": "png",
"layer": "basic",
Expand Down
9 changes: 1 addition & 8 deletions specification/maps/data-plane/Render/preview/1.0/render.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,7 @@
"version": "1.0",
"description": "Azure Maps Render REST APIs"
},
"x-ms-parameterized-host": {
"hostTemplate": "{geography}.atlas.microsoft.com",
"parameters": [
{
"$ref": "../../../Common/preview/1.0/common.json#/parameters/GeographicResourceLocation"
}
]
},
"host": "atlas.microsoft.com",
"schemes": [
"https"
],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"parameters": {
"geography": "us",
"api-version": "2.0",
"tilesetId": "microsoft.base",
"zoom": 6,
Expand Down
9 changes: 1 addition & 8 deletions specification/maps/data-plane/Render/preview/2.0/render.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,7 @@
"version": "2.0",
"description": "Azure Maps Render REST APIs"
},
"x-ms-parameterized-host": {
"hostTemplate": "{geography}.atlas.microsoft.com",
"parameters": [
{
"$ref": "../../../Common/preview/1.0/common.json#/parameters/GeographicResourceLocation"
}
]
},
"host": "atlas.microsoft.com",
"schemes": [
"https"
],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"parameters": {
"geography": "us",
"format": "json",
"api-version": "1.0",
"query": "52.50931,13.42936:52.50274,13.43872"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"parameters": {
"geography": "us",
"format": "11111111-2222-3333-4444-555555555555",
"api-version": "1.0"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"parameters": {
"geography": "us",
"format": "11111111-2222-3333-4444-555555555555",
"api-version": "1.0"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"parameters": {
"geography": "us",
"format": "json",
"api-version": "1.0",
"query": "50.97452,5.86605",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"parameters": {
"geography": "us",
"format": "json",
"api-version": "1.0",
"query": "52.50931,13.42936:52.50274,13.43872",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"parameters": {
"geography": "us",
"format": "json",
"api-version": "1.0",
"postRouteDirectionsBatchRequestBody": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"parameters": {
"geography": "us",
"format": "json",
"api-version": "1.0",
"postRouteDirectionsBatchRequestBody": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"parameters": {
"geography": "us",
"format": "json",
"api-version": "1.0",
"routeType": "shortest",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"parameters": {
"geography": "us",
"format": "json",
"api-version": "1.0",
"routeType": "shortest",
Expand Down
9 changes: 1 addition & 8 deletions specification/maps/data-plane/Route/preview/1.0/route.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,7 @@
"version": "1.0",
"description": "Azure Maps Route REST APIs"
},
"x-ms-parameterized-host": {
"hostTemplate": "{geography}.atlas.microsoft.com",
"parameters": [
{
"$ref": "../../../Common/preview/1.0/common.json#/parameters/GeographicResourceLocation"
}
]
},
"host": "atlas.microsoft.com",
"schemes": [
"https"
],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"parameters": {
"geography": "us",
"format": "json",
"api-version": "1.0",
"query": "15127 NE 24th Street, Redmond, WA 98052"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"parameters": {
"geography": "us",
"format": "11111111-2222-3333-4444-555555555555",
"api-version": "1.0"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"parameters": {
"geography": "us",
"format": "json",
"api-version": "1.0",
"query": "37.337,-121.89"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"parameters": {
"geography": "us",
"format": "11111111-2222-3333-4444-555555555555",
"api-version": "1.0"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"parameters": {
"geography": "us",
"format": "json",
"api-version": "1.0",
"query": "37.337,-121.89"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"parameters": {
"geography": "us",
"format": "json",
"api-version": "1.0",
"countryCode": "US",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"parameters": {
"geography": "us",
"format": "json",
"api-version": "1.0",
"query": "seattle"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"parameters": {
"geography": "us",
"format": "11111111-2222-3333-4444-555555555555",
"api-version": "1.0"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"parameters": {
"geography": "us",
"format": "json",
"api-version": "1.0",
"lat": 40.706270,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"parameters": {
"geography": "us",
"format": "json",
"api-version": "1.0",
"query": "juice bars",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"parameters": {
"geography": "us",
"format": "json",
"api-version": "1.0",
"query": "atm",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"parameters": {
"geography": "us",
"format": "json",
"api-version": "1.0"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"parameters": {
"geography": "us",
"format": "json",
"api-version": "1.0",
"geometries": "[geometry-ids]"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"parameters": {
"geography": "us",
"format": "json",
"api-version": "1.0",
"searchAddressBatchRequestBody": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"parameters": {
"geography": "us",
"format": "json",
"api-version": "1.0",
"searchAddressBatchRequestBody": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"parameters": {
"geography": "us",
"format": "json",
"api-version": "1.0",
"searchAddressReverseBatchRequestBody": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"parameters": {
"geography": "us",
"format": "json",
"api-version": "1.0",
"searchAddressReverseBatchRequestBody": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"parameters": {
"geography": "us",
"format": "json",
"api-version": "1.0",
"query": "burger",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"parameters": {
"geography": "us",
"format": "json",
"api-version": "1.0",
"subscription-key": "[subscription-key]",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"parameters": {
"geography": "us",
"format": "json",
"api-version": "1.0",
"subscription-key": "[subscription-key]",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"parameters": {
"geography": "us",
"format": "json",
"api-version": "1.0",
"query": "pizza",
Expand Down
Loading

0 comments on commit d23e3e2

Please sign in to comment.