forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 0
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
1 parent
2b4fc08
commit 4dfbfbd
Showing
8 changed files
with
804 additions
and
6 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
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
63 changes: 63 additions & 0 deletions
63
specification/maps/data-plane/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,63 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2.1", | ||
"tilesetId": "microsoft.base", | ||
"zoom": 6, | ||
"bounds": "-122.414162,47.579490,-122.247157,47.668372" | ||
}, | ||
"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." | ||
} | ||
} | ||
} | ||
} | ||
} |
60 changes: 60 additions & 0 deletions
60
specification/maps/data-plane/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,60 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2.1", | ||
"tilesetId": "microsoft.base", | ||
"zoom": 6, | ||
"x": 10, | ||
"y": 22 | ||
}, | ||
"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." | ||
} | ||
} | ||
} | ||
} | ||
} |
73 changes: 73 additions & 0 deletions
73
specification/maps/data-plane/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,73 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2.1", | ||
"tilesetId": "microsoft.base" | ||
}, | ||
"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.