-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
811 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
64 changes: 64 additions & 0 deletions
64
...ation/maps/data-plane/Microsoft.Maps/Render/preview/2.1/examples/GetMapAttributionV2.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2.1", | ||
"tilesetId": "microsoft.base", | ||
"zoom": 6, | ||
"bounds": "-122.414162,47.579490,-122.247157,47.668372", | ||
"subscription-key": "[subscription-key]" | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": {}, | ||
"body": { | ||
"copyrights": [ | ||
"<a>© 2021 TomTom</a>" | ||
] | ||
} | ||
}, | ||
"400": { | ||
"headers": {}, | ||
"body": { | ||
"error": { | ||
"code": "400 BadRequest", | ||
"message": "Bad request: one or more parameters were incorrectly specified or are mutually exclusive." | ||
} | ||
} | ||
}, | ||
"401": { | ||
"headers": {}, | ||
"body": { | ||
"error": { | ||
"code": "401 Unauthorized", | ||
"message": "Access denied due to invalid subscription key. Make sure to provide a valid key for an active subscription." | ||
} | ||
} | ||
}, | ||
"403": { | ||
"headers": {}, | ||
"body": { | ||
"error": { | ||
"code": "403 Forbidden", | ||
"message": "Permission, capacity, or authentication issues." | ||
} | ||
} | ||
}, | ||
"404": { | ||
"headers": {}, | ||
"body": { | ||
"error": { | ||
"code": "404 NotFound", | ||
"message": "Not Found: the requested resource could not be found, but it may be available again in the future." | ||
} | ||
} | ||
}, | ||
"500": { | ||
"headers": {}, | ||
"body": { | ||
"error": { | ||
"code": "500 InternalServerError", | ||
"message": "An error occurred while processing the request. Please try again later." | ||
} | ||
} | ||
} | ||
} | ||
} |
61 changes: 61 additions & 0 deletions
61
specification/maps/data-plane/Microsoft.Maps/Render/preview/2.1/examples/GetMapTileV2.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2.1", | ||
"tilesetId": "microsoft.base", | ||
"zoom": 6, | ||
"x": 10, | ||
"y": 22, | ||
"subscription-key": "[subscription-key]" | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": {}, | ||
"body": "binary string image" | ||
}, | ||
"400": { | ||
"headers": {}, | ||
"body": { | ||
"error": { | ||
"code": "400 BadRequest", | ||
"message": "Bad request: one or more parameters were incorrectly specified or are mutually exclusive." | ||
} | ||
} | ||
}, | ||
"401": { | ||
"headers": {}, | ||
"body": { | ||
"error": { | ||
"code": "401 Unauthorized", | ||
"message": "Access denied due to invalid subscription key. Make sure to provide a valid key for an active subscription." | ||
} | ||
} | ||
}, | ||
"403": { | ||
"headers": {}, | ||
"body": { | ||
"error": { | ||
"code": "403 Forbidden", | ||
"message": "Permission, capacity, or authentication issues." | ||
} | ||
} | ||
}, | ||
"404": { | ||
"headers": {}, | ||
"body": { | ||
"error": { | ||
"code": "404 NotFound", | ||
"message": "Not Found: the requested resource could not be found, but it may be available again in the future." | ||
} | ||
} | ||
}, | ||
"500": { | ||
"headers": {}, | ||
"body": { | ||
"error": { | ||
"code": "500 InternalServerError", | ||
"message": "An error occurred while processing the request. Please try again later." | ||
} | ||
} | ||
} | ||
} | ||
} |
74 changes: 74 additions & 0 deletions
74
...ification/maps/data-plane/Microsoft.Maps/Render/preview/2.1/examples/GetMapTilesetV2.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2.1", | ||
"tilesetId": "microsoft.base", | ||
"subscription-key": "[subscription-key]" | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": {}, | ||
"body": { | ||
"tilejson": "2.2.0", | ||
"version": "1.0.0", | ||
"attribution": "<a>© 2021 TomTom</a>", | ||
"scheme": "xyz", | ||
"tiles": [ | ||
"https://atlas.microsoft.com/map/tile?api-version=2.0&tilesetId={tilesetId}&zoom={zoom}&x={x}&y={y}" | ||
], | ||
"minzoom": 0, | ||
"maxzoom": 22, | ||
"bounds": [ | ||
-180, | ||
-90, | ||
180, | ||
90 | ||
] | ||
} | ||
}, | ||
"400": { | ||
"headers": {}, | ||
"body": { | ||
"error": { | ||
"code": "400 BadRequest", | ||
"message": "Bad request: one or more parameters were incorrectly specified or are mutually exclusive." | ||
} | ||
} | ||
}, | ||
"401": { | ||
"headers": {}, | ||
"body": { | ||
"error": { | ||
"code": "401 Unauthorized", | ||
"message": "Access denied due to invalid subscription key. Make sure to provide a valid key for an active subscription." | ||
} | ||
} | ||
}, | ||
"403": { | ||
"headers": {}, | ||
"body": { | ||
"error": { | ||
"code": "403 Forbidden", | ||
"message": "Permission, capacity, or authentication issues." | ||
} | ||
} | ||
}, | ||
"404": { | ||
"headers": {}, | ||
"body": { | ||
"error": { | ||
"code": "404 NotFound", | ||
"message": "Not Found: the requested resource could not be found, but it may be available again in the future." | ||
} | ||
} | ||
}, | ||
"500": { | ||
"headers": {}, | ||
"body": { | ||
"error": { | ||
"code": "500 InternalServerError", | ||
"message": "An error occurred while processing the request. Please try again later." | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.