Skip to content

Commit 2a65b0a

Browse files
authored
Azure Remote REST API 2021-01-01 (#13239)
* copy of unchanged 2021-01-01-preview * rename folder 2021-01-01-preview to 2021-01-01 * promote 2021-01-01-preview to 2021-01-01
1 parent 3423b80 commit 2a65b0a

File tree

10 files changed

+2025
-2
lines changed

10 files changed

+2025
-2
lines changed
Lines changed: 120 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,120 @@
1+
{
2+
"parameters": {
3+
"endpoint": "https://remoterendering.eastus.mixedreality.azure.com",
4+
"api-version": "2021-01-01",
5+
"account_id": "30ea64bd-100f-4bf0-adc9-29fa45d4880c",
6+
"conversion_id": "contoso-conversion-fbc3646c-0b97-4553-81ca-6fae2bfb754e",
7+
"body": {
8+
"settings": {
9+
"inputLocation": {
10+
"storageContainerUri": "https://contosostorage01.blob.core.windows.net/arrInput",
11+
"blobPrefix": "models/",
12+
"relativeInputAssetPath": "house.fbx"
13+
},
14+
"outputLocation": {
15+
"storageContainerUri": "https://contosostorage01.blob.core.windows.net/arrOutput",
16+
"blobPrefix": "conversionOutput/fbc3646c-0b97-4553-81ca-6fae2bfb754e",
17+
"outputAssetFilename": "convertedHouse.arrAsset"
18+
}
19+
}
20+
}
21+
},
22+
"responses": {
23+
"201": {
24+
"headers": {
25+
"MS-CV": "dKEFmka2kkSlDmp/af+sOw"
26+
},
27+
"body": {
28+
"id": "contoso-conversion-fbc3646c-0b97-4553-81ca-6fae2bfb754e",
29+
"creationTime": "2021-01-01T11:11:11.111Z",
30+
"settings": {
31+
"inputLocation": {
32+
"storageContainerUri": "https://contosostorage01.blob.core.windows.net/arrInput",
33+
"blobPrefix": "models/",
34+
"relativeInputAssetPath": "house.fbx"
35+
},
36+
"outputLocation": {
37+
"storageContainerUri": "https://contosostorage01.blob.core.windows.net/arrOutput",
38+
"blobPrefix": "conversionOutput/fbc3646c-0b97-4553-81ca-6fae2bfb754e",
39+
"outputAssetFilename": "convertedHouse.arrAsset"
40+
}
41+
},
42+
"status": "NotStarted",
43+
"error": null
44+
}
45+
},
46+
"200": {
47+
"headers": {
48+
"MS-CV": "dKEFmka2kkSlDmp/af+sOw"
49+
},
50+
"body": {
51+
"id": "contoso-conversion-fbc3646c-0b97-4553-81ca-6fae2bfb754e",
52+
"creationTime": "2021-01-01T11:11:11.111Z",
53+
"settings": {
54+
"inputLocation": {
55+
"storageContainerUri": "https://contosostorage01.blob.core.windows.net/arrInput",
56+
"blobPrefix": "models/",
57+
"relativeInputAssetPath": "house.fbx"
58+
},
59+
"outputLocation": {
60+
"storageContainerUri": "https://contosostorage01.blob.core.windows.net/arrOutput",
61+
"blobPrefix": "conversionOutput/fbc3646c-0b97-4553-81ca-6fae2bfb754e",
62+
"outputAssetFilename": "convertedHouse.arrAsset"
63+
}
64+
},
65+
"status": "NotStarted",
66+
"error": null
67+
}
68+
},
69+
"400": {
70+
"headers": {
71+
"MS-CV": "dKEFmka2kkSlDmp/af+sOw"
72+
},
73+
"body": {
74+
"error": {
75+
"code": "BadRequest",
76+
"message": "The request was malformed."
77+
}
78+
}
79+
},
80+
"409": {
81+
"headers": {
82+
"MS-CV": "dKEFmka2kkSlDmp/af+sOw"
83+
},
84+
"body": {
85+
"error": {
86+
"code": "Conflict",
87+
"message": "A resource already exists under the given ID."
88+
}
89+
}
90+
},
91+
"401": {
92+
"headers": {
93+
"WWW-Authenticate": "Bearer error=\"invalid_token\"",
94+
"MS-CV": "dKEFmka2kkSlDmp/af+sOw"
95+
}
96+
},
97+
"403": {
98+
"headers": {
99+
"MS-CV": "dKEFmka2kkSlDmp/af+sOw"
100+
}
101+
},
102+
"429": {
103+
"headers": {
104+
"Retry-After": 15,
105+
"MS-CV": "dKEFmka2kkSlDmp/af+sOw"
106+
}
107+
},
108+
"500": {
109+
"headers": {
110+
"MS-CV": "dKEFmka2kkSlDmp/af+sOw"
111+
},
112+
"body": {
113+
"error": {
114+
"code": "InternalServerError",
115+
"message": "An internal server error occurred."
116+
}
117+
}
118+
}
119+
}
120+
}
Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
{
2+
"parameters": {
3+
"endpoint": "https://remoterendering.eastus.mixedreality.azure.com",
4+
"api-version": "2021-01-01",
5+
"account_id": "30ea64bd-100f-4bf0-adc9-29fa45d4880c",
6+
"session_id": "contoso-session-c2b8ac1d-9494-4852-a59c-8c28813adc28",
7+
"body": {
8+
"maxLeaseTimeMinutes": 60,
9+
"size": "Standard"
10+
}
11+
},
12+
"responses": {
13+
"201": {
14+
"headers": {
15+
"MS-CV": "dKEFmka2kkSlDmp/af+sOw"
16+
},
17+
"body": {
18+
"id": "contoso-session-c2b8ac1d-9494-4852-a59c-8c28813adc28",
19+
"creationTime": "2020-11-11T11:11:11.111Z",
20+
"maxLeaseTimeMinutes": 60,
21+
"size": "Standard",
22+
"status": "Starting",
23+
"error": null
24+
}
25+
},
26+
"200": {
27+
"headers": {
28+
"MS-CV": "dKEFmka2kkSlDmp/af+sOw"
29+
},
30+
"body": {
31+
"id": "contoso-session-c2b8ac1d-9494-4852-a59c-8c28813adc28",
32+
"creationTime": "2020-11-11T11:11:11.111Z",
33+
"maxLeaseTimeMinutes": 60,
34+
"size": "Standard",
35+
"status": "Starting",
36+
"error": null
37+
}
38+
},
39+
"400": {
40+
"headers": {
41+
"MS-CV": "dKEFmka2kkSlDmp/af+sOw"
42+
},
43+
"body": {
44+
"error": {
45+
"code": "BadRequest",
46+
"message": "The request was malformed."
47+
}
48+
}
49+
},
50+
"409": {
51+
"headers": {
52+
"MS-CV": "dKEFmka2kkSlDmp/af+sOw"
53+
},
54+
"body": {
55+
"error": {
56+
"code": "Conflict",
57+
"message": "A resource already exists under the given ID."
58+
}
59+
}
60+
},
61+
"401": {
62+
"headers": {
63+
"WWW-Authenticate": "Bearer error=\"invalid_token\"",
64+
"MS-CV": "dKEFmka2kkSlDmp/af+sOw"
65+
}
66+
},
67+
"403": {
68+
"headers": {
69+
"MS-CV": "dKEFmka2kkSlDmp/af+sOw"
70+
}
71+
},
72+
"429": {
73+
"headers": {
74+
"Retry-After": 15,
75+
"MS-CV": "dKEFmka2kkSlDmp/af+sOw"
76+
}
77+
},
78+
"500": {
79+
"headers": {
80+
"MS-CV": "dKEFmka2kkSlDmp/af+sOw"
81+
},
82+
"body": {
83+
"error": {
84+
"code": "InternalServerError",
85+
"message": "An internal server error occurred."
86+
}
87+
}
88+
}
89+
}
90+
}
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
{
2+
"parameters": {
3+
"endpoint": "https://remoterendering.eastus.mixedreality.azure.com",
4+
"api-version": "2021-01-01",
5+
"account_id": "30ea64bd-100f-4bf0-adc9-29fa45d4880c",
6+
"conversion_id": "contoso-conversion-fbc3646c-0b97-4553-81ca-6fae2bfb754e"
7+
},
8+
"responses": {
9+
"200": {
10+
"headers": {
11+
"MS-CV": "dKEFmka2kkSlDmp/af+sOw"
12+
},
13+
"body": {
14+
"id": "contoso-conversion-fbc3646c-0b97-4553-81ca-6fae2bfb754e",
15+
"creationTime": "2021-01-01T11:11:11.111Z",
16+
"settings": {
17+
"inputLocation": {
18+
"storageContainerUri": "https://contosostorage01.blob.core.windows.net/arrInput",
19+
"blobPrefix": "models/",
20+
"relativeInputAssetPath": "house.fbx"
21+
},
22+
"outputLocation": {
23+
"storageContainerUri": "https://contosostorage01.blob.core.windows.net/arrOutput",
24+
"blobPrefix": "conversionOutput/fbc3646c-0b97-4553-81ca-6fae2bfb754e",
25+
"outputAssetFilename": "convertedHouse.arrAsset"
26+
}
27+
},
28+
"status": "Succeeded",
29+
"error": null,
30+
"output": {
31+
"outputAssetUri": "https://contosostorage01.blob.core.windows.net/arrOutput/conversionOutput/fbc3646c-0b97-4553-81ca-6fae2bfb754e/convertedHouse.arrAsset"
32+
}
33+
}
34+
},
35+
"401": {
36+
"headers": {
37+
"WWW-Authenticate": "Bearer error=\"invalid_token\"",
38+
"MS-CV": "dKEFmka2kkSlDmp/af+sOw"
39+
}
40+
},
41+
"403": {
42+
"headers": {
43+
"MS-CV": "dKEFmka2kkSlDmp/af+sOw"
44+
}
45+
},
46+
"404": {
47+
"headers": {
48+
"MS-CV": "dKEFmka2kkSlDmp/af+sOw"
49+
}
50+
},
51+
"429": {
52+
"headers": {
53+
"Retry-After": 15,
54+
"MS-CV": "dKEFmka2kkSlDmp/af+sOw"
55+
}
56+
},
57+
"500": {
58+
"headers": {
59+
"MS-CV": "dKEFmka2kkSlDmp/af+sOw"
60+
},
61+
"body": {
62+
"error": {
63+
"code": "InternalServerError",
64+
"message": "An internal server error occurred."
65+
}
66+
}
67+
}
68+
}
69+
}
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
{
2+
"parameters": {
3+
"endpoint": "https://remoterendering.eastus.mixedreality.azure.com",
4+
"api-version": "2021-01-01",
5+
"account_id": "30ea64bd-100f-4bf0-adc9-29fa45d4880c",
6+
"session_id": "contoso-session-c2b8ac1d-9494-4852-a59c-8c28813adc28"
7+
},
8+
"responses": {
9+
"200": {
10+
"headers": {
11+
"MS-CV": "dKEFmka2kkSlDmp/af+sOw"
12+
},
13+
"body": {
14+
"id": "contoso-session-c2b8ac1d-9494-4852-a59c-8c28813adc28",
15+
"creationTime": "2020-11-11T11:11:11.111Z",
16+
"arrInspectorPort": 50052,
17+
"handshakePort": 50051,
18+
"elapsedTimeMinutes": 10,
19+
"hostname": "d4cefb7b-10b9-4631-934d-67445ffa9126.remoterenderingvm.westus2.mixedreality.azure.com",
20+
"maxLeaseTimeMinutes": 60,
21+
"size": "Standard",
22+
"status": "Ready",
23+
"error": null,
24+
"teraflops": 10.6
25+
}
26+
},
27+
"401": {
28+
"headers": {
29+
"WWW-Authenticate": "Bearer error=\"invalid_token\"",
30+
"MS-CV": "dKEFmka2kkSlDmp/af+sOw"
31+
}
32+
},
33+
"403": {
34+
"headers": {
35+
"MS-CV": "dKEFmka2kkSlDmp/af+sOw"
36+
}
37+
},
38+
"404": {
39+
"headers": {
40+
"MS-CV": "dKEFmka2kkSlDmp/af+sOw"
41+
}
42+
},
43+
"429": {
44+
"headers": {
45+
"Retry-After": 15,
46+
"MS-CV": "dKEFmka2kkSlDmp/af+sOw"
47+
}
48+
},
49+
"500": {
50+
"headers": {
51+
"MS-CV": "dKEFmka2kkSlDmp/af+sOw"
52+
},
53+
"body": {
54+
"error": {
55+
"code": "InternalServerError",
56+
"message": "An internal server error occurred."
57+
}
58+
}
59+
}
60+
}
61+
}

0 commit comments

Comments
 (0)