-
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.
[Hub Generated] Review request for Render to add version preview/2.1 (#…
…15411) * render updates based on #14625 * GetAttribution response codes * remove common error responses * go multiapi batch should include 2.0 * fix openapi 3.0 definition of file response, keep content-type * keep operationId between 2.0 and 2.1 * update samples and header response * exclude 2.0 from 2.1-preview tag, refs in 2.1 params, remove used Text param * refrain from changing 2.0 timestamp format * remove default in tileSize * remove redundant required: false * bump python package version * make sure there is no cross-client parameter references - move all shared into Common * remove non-supported application/xml MIME * use local apiversion param def
- Loading branch information
1 parent
633cc8d
commit 4d61f90
Showing
11 changed files
with
491 additions
and
43 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
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
18 changes: 18 additions & 0 deletions
18
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,18 @@ | ||
{ | ||
"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>" | ||
] | ||
} | ||
} | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
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,17 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2.1", | ||
"tilesetId": "microsoft.base", | ||
"zoom": 6, | ||
"x": 10, | ||
"y": 22 | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": { | ||
"Content-Type": "application/vnd.mapbox-vector-tile" | ||
}, | ||
"body": "{file}" | ||
} | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
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,28 @@ | ||
{ | ||
"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 | ||
] | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.