Skip to content

Commit 6555955

Browse files
authored
[Hub Generated] Review request for Creator to add version preview/2022-09-01-preview (#19889)
* Adds base for updating Creator from version preview/2.0 to version 2022-09-01-preview * Updates readme * Updates API version in new specs and examples * Add swagger doc with version '2022-09-01-preview' for styling service * update sharedKey description * resolve some comments and couple validation errors * Fix more model issues * Fix more model validations * Fix LintDiff * Fix validation errors * Fix lintDiff
1 parent 1b3b9c1 commit 6555955

25 files changed

+2194
-4
lines changed

custom-words.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1228,8 +1228,11 @@ managementpartner
12281228
managementpolicy
12291229
manualupgrade
12301230
mapbox
1231+
mapconfiguration
1232+
mapconfigurations
12311233
mapred
12321234
mapreduce
1235+
Maputnik
12331236
mariadb
12341237
Marketo
12351238
marketplaceagreementsapi
@@ -2180,6 +2183,7 @@ Tful
21802183
Tfvc
21812184
tilejson
21822185
tileset
2186+
tilesetconfiguration
21832187
tilesets
21842188
timeasc
21852189
timedesc
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
{
2+
"parameters": {
3+
"geography": "us",
4+
"api-version": "2022-01-01-preview",
5+
"alias": "sample-alias",
6+
"description": "This is my first map configuration.",
7+
"MapConfiguration": {
8+
"version": 1.0,
9+
"description": "This is Microsoft default indoor map configuration",
10+
"defaultStyle": "microsoft_light",
11+
"styles": [
12+
{
13+
"name": "indoor_light",
14+
"displayName": "Indoor light",
15+
"description": "A base style for Azure Maps.",
16+
"theme": "light",
17+
"baseMap": "microsoft_light",
18+
"layers": [
19+
{
20+
"tilesetId": "b7485951-f6d9-e5ba-a332-8adb08fc7fb7",
21+
"styleId": "microsoft-maps:indoor_2022-01-01"
22+
}
23+
]
24+
},
25+
{
26+
"name": "indoor_dark",
27+
"displayName": "Indoor dark",
28+
"description": "A base style for Azure Maps.",
29+
"theme": "dark",
30+
"baseMap": "microsoft_dark",
31+
"layers": [
32+
{
33+
"tilesetId": "b7485951-f6d9-e5ba-a332-8adb08fc7fb7",
34+
"styleId": "microsoft-maps:indoor_dark_2022-01-01"
35+
}
36+
]
37+
}
38+
]
39+
}
40+
},
41+
"responses": {
42+
"202": {
43+
"headers": {
44+
"Operation-Location": "https://us.atlas.microsoft.com/styles/mapConfigurations/operations/{operationId}?api-version=2022-01-01-preview",
45+
"Access-Control-Expose-Headers": "Operation-Location"
46+
}
47+
}
48+
}
49+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"parameters": {
3+
"geography": "us",
4+
"api-version": "2022-09-01-preview",
5+
"mapConfigurationId": "25084fb7-307a-4720-8f91-7952a0b91012"
6+
},
7+
"responses": {
8+
"204": {}
9+
}
10+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"parameters": {
3+
"geography": "us",
4+
"api-version": "2022-09-01-preview",
5+
"mapConfigurationId": "25084fb7-307a-4720-8f91-7952a0b91012"
6+
},
7+
"responses": {
8+
"200": {
9+
"headers": {
10+
"Content-Type": "application/zip"
11+
},
12+
"body": "binary zip string, can be saved as zip file. The zip file will contain a `configuration.json` file and optional thumbnail files defined in the configuration file."
13+
}
14+
}
15+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"parameters": {
3+
"geography": "us",
4+
"api-version": "2022-09-01-preview",
5+
"operationId": "8b1288fa-1958-4a2b-b68e-13a7i5af7d7c"
6+
},
7+
"responses": {
8+
"200": {
9+
"body": {
10+
"operationId": "8b1288fa-1958-4a2b-b68e-13a7i5af7d7c",
11+
"created": "2021-04-20T22:43:14.9401559+00:00",
12+
"status": "Succeeded"
13+
},
14+
"headers": {
15+
"Resource-Location": "https://us.atlas.microsoft.com/styles/mapConfigurations/3e36b996-f6d1-b068-0fcb-dd6b014c3447?api-version=2022-09-01-preview"
16+
}
17+
}
18+
}
19+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"parameters": {
3+
"geography": "us",
4+
"api-version": "2022-09-01-preview",
5+
"operationId": "8b1288fa-1958-4a2b-b68e-13a7i5af7d7c"
6+
},
7+
"responses": {
8+
"200": {
9+
"body": {
10+
"operationId": "8b1288fa-1958-4a2b-b68e-13a7i5af7d7c",
11+
"created": "2021-04-23T19:14:03.2452596+00:00",
12+
"status": "Running"
13+
}
14+
}
15+
}
16+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"parameters": {
3+
"geography": "us",
4+
"api-version": "2022-09-01-preview"
5+
},
6+
"responses": {
7+
"200": {
8+
"body": {
9+
"mapConfigurations": [
10+
{
11+
"mapConfigurationId": "83f95b58-bd21-0c90-f904-341a0eb8f86e",
12+
"description": "map configuration with indoor dark style",
13+
"alias": "indoor_dark",
14+
"created": "2022-04-13T06:30:42+00:00"
15+
},
16+
{
17+
"mapConfigurationId": "36f67fb9-893d-019e-32ca-d26db5ee764a",
18+
"description": "Auto-generated map configuration for indoor tileset 28b8160a-68d8-4247-be0b-786c51963142.",
19+
"alias": "defaultIndoor_28b8160a-68d8-4247-be0b-786c51963142",
20+
"created": "2022-04-13T22:39:50+00:00"
21+
}
22+
]
23+
}
24+
}
25+
}
26+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"parameters": {
3+
"geography": "us",
4+
"api-version": "2022-09-01-preview",
5+
"styleId": "25084fb7-307a-4720-8f91-7952a0b91012"
6+
},
7+
"responses": {
8+
"204": {}
9+
}
10+
}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"parameters": {
3+
"geography": "us",
4+
"api-version": "2022-09-01-preview",
5+
"styleId": "25084fb7-307a-4720-8f91-7952a0b91012"
6+
},
7+
"responses": {
8+
"200": {
9+
"headers": {
10+
"Content-Type": "application/zip"
11+
},
12+
"body": "binary zip string, can be saved as zip file. The zip file will contain a style json file and optional sprites image and json index files."
13+
}
14+
}
15+
}
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"parameters": {
3+
"geography": "us",
4+
"api-version": "2022-09-01-preview",
5+
"operationId": "8b1288fa-1958-4a2b-b68e-13a7i5af7d7c"
6+
},
7+
"responses": {
8+
"200": {
9+
"body": {
10+
"operationId": "8b1288fa-1958-4a2b-b68e-13a7i5af7d7c",
11+
"created": "2021-04-20T22:43:14.9401559+00:00",
12+
"status": "Succeeded"
13+
},
14+
"headers": {
15+
"Resource-Location": "https://us.atlas.microsoft.com/styles/3e36b996-f6d1-b068-0fcb-dd6b014c3447?api-version=2022-09-01-preview"
16+
}
17+
}
18+
}
19+
}

0 commit comments

Comments
 (0)