Skip to content

Commit

Permalink
squashed (Azure#14625)
Browse files Browse the repository at this point in the history
  • Loading branch information
chgennar authored Jul 12, 2021
1 parent 104815b commit 571282b
Show file tree
Hide file tree
Showing 5 changed files with 811 additions and 0 deletions.
3 changes: 3 additions & 0 deletions custom-words.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1096,6 +1096,7 @@ maxmemory
maxpagesize
maxresults
MAXSIZE
maxzoom
mbaldwin
Mbps
MCAS
Expand Down Expand Up @@ -1132,6 +1133,7 @@ minimalmetadata
ministamps
Minkowski
mipsle
minzoom
mixedreality
Mkdirs
mktorest
Expand Down Expand Up @@ -1922,6 +1924,7 @@ textanalytics
TFIDF
Tful
Tfvc
tilejson
tileset
tilesets
timeasc
Expand Down
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>&copy; 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."
}
}
}
}
}
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."
}
}
}
}
}
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>&copy; 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."
}
}
}
}
}
Loading

0 comments on commit 571282b

Please sign in to comment.