Skip to content

Commit 5e3607a

Browse files
authored
Add new Azure Object Anchors API version 0.3-preview.0 (#17117)
* add 0.3-preview.0 * fix INVALID_FORMAT
1 parent 008c081 commit 5e3607a

File tree

5 files changed

+912
-0
lines changed

5 files changed

+912
-0
lines changed
Lines changed: 158 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,158 @@
1+
{
2+
"parameters": {
3+
"accountId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
4+
"jobId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
5+
"api-version": "0.3-preview.0",
6+
"x-mrc-cv": "dKEFmka2kkSlDmp/af+sOw",
7+
"body": {
8+
"assetFileType": "string",
9+
"inputAssetUri": "https://example.uri",
10+
"ingestionConfiguration": {
11+
"dimensions": {
12+
"x": 0,
13+
"y": 0,
14+
"z": 0
15+
},
16+
"boundingBoxCenter": {
17+
"x": 0,
18+
"y": 0,
19+
"z": 0
20+
},
21+
"gravity": {
22+
"x": 0,
23+
"y": 0,
24+
"z": 0
25+
},
26+
"keyFrameIndexes": [
27+
0
28+
],
29+
"gtTrajectory": [
30+
{
31+
"rotation": {
32+
"x": 0,
33+
"y": 0,
34+
"z": 0,
35+
"w": 0
36+
},
37+
"translation": {
38+
"x": 0,
39+
"y": 0,
40+
"z": 0
41+
}
42+
}
43+
],
44+
"principalAxis": {
45+
"x": 0,
46+
"y": 0,
47+
"z": 0,
48+
"w": 0
49+
},
50+
"scale": 0,
51+
"supportingPlane": {
52+
"x": 0,
53+
"y": 0,
54+
"z": 0,
55+
"w": 0
56+
},
57+
"testTrajectory": [
58+
{
59+
"rotation": {
60+
"x": 0,
61+
"y": 0,
62+
"z": 0,
63+
"w": 0
64+
},
65+
"translation": {
66+
"x": 0,
67+
"y": 0,
68+
"z": 0
69+
}
70+
}
71+
]
72+
}
73+
}
74+
},
75+
"responses": {
76+
"201": {
77+
"headers": {
78+
"ms-cv": "dKEFmka2kkSlDmp/af+sOw"
79+
},
80+
"body": {
81+
"clientErrorDetails": "string",
82+
"serverErrorDetails": "string",
83+
"jobId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
84+
"outputModelUri": "https://example.uri",
85+
"jobStatus": "NotStarted",
86+
"assetFileType": "string",
87+
"inputAssetUri": "https://example.uri",
88+
"accountId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
89+
"ingestionConfiguration": {
90+
"dimensions": {
91+
"x": 0,
92+
"y": 0,
93+
"z": 0
94+
},
95+
"boundingBoxCenter": {
96+
"x": 0,
97+
"y": 0,
98+
"z": 0
99+
},
100+
"gravity": {
101+
"x": 0,
102+
"y": 0,
103+
"z": 0
104+
},
105+
"keyFrameIndexes": [
106+
0
107+
],
108+
"gtTrajectory": [
109+
{
110+
"rotation": {
111+
"x": 0,
112+
"y": 0,
113+
"z": 0,
114+
"w": 0,
115+
"isIdentity": true
116+
},
117+
"translation": {
118+
"x": 0,
119+
"y": 0,
120+
"z": 0
121+
}
122+
}
123+
],
124+
"principalAxis": {
125+
"x": 0,
126+
"y": 0,
127+
"z": 0,
128+
"w": 0,
129+
"isIdentity": true
130+
},
131+
"scale": 0,
132+
"supportingPlane": {
133+
"x": 0,
134+
"y": 0,
135+
"z": 0,
136+
"w": 0
137+
},
138+
"testTrajectory": [
139+
{
140+
"rotation": {
141+
"x": 0,
142+
"y": 0,
143+
"z": 0,
144+
"w": 0,
145+
"isIdentity": true
146+
},
147+
"translation": {
148+
"x": 0,
149+
"y": 0,
150+
"z": 0
151+
}
152+
}
153+
]
154+
}
155+
}
156+
}
157+
}
158+
}
Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
{
2+
"parameters": {
3+
"accountId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
4+
"jobId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
5+
"api-version": "0.3-preview.0",
6+
"x-mrc-cv": "dKEFmka2kkSlDmp/af+sOw"
7+
},
8+
"responses": {
9+
"200": {
10+
"headers": {
11+
"ms-cv": "dKEFmka2kkSlDmp/af+sOw"
12+
},
13+
"body": {
14+
"clientErrorDetails": "string",
15+
"serverErrorDetails": "string",
16+
"errorCode": "NO_ERROR",
17+
"jobId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
18+
"outputModelUri": "https://example.uri",
19+
"jobStatus": "NotStarted",
20+
"assetFileType": "string",
21+
"inputAssetUri": "https://example.uri",
22+
"accountId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
23+
"ingestionConfiguration": {
24+
"dimensions": {
25+
"x": 0,
26+
"y": 0,
27+
"z": 0
28+
},
29+
"boundingBoxCenter": {
30+
"x": 0,
31+
"y": 0,
32+
"z": 0
33+
},
34+
"gravity": {
35+
"x": 0,
36+
"y": 0,
37+
"z": 0
38+
},
39+
"keyFrameIndexes": [
40+
0
41+
],
42+
"gtTrajectory": [
43+
{
44+
"rotation": {
45+
"x": 0,
46+
"y": 0,
47+
"z": 0,
48+
"w": 0,
49+
"isIdentity": true
50+
},
51+
"translation": {
52+
"x": 0,
53+
"y": 0,
54+
"z": 0
55+
}
56+
}
57+
],
58+
"principalAxis": {
59+
"x": 0,
60+
"y": 0,
61+
"z": 0,
62+
"w": 0,
63+
"isIdentity": true
64+
},
65+
"scale": 0,
66+
"supportingPlane": {
67+
"x": 0,
68+
"y": 0,
69+
"z": 0,
70+
"w": 0
71+
},
72+
"testTrajectory": [
73+
{
74+
"rotation": {
75+
"x": 0,
76+
"y": 0,
77+
"z": 0,
78+
"w": 0,
79+
"isIdentity": true
80+
},
81+
"translation": {
82+
"x": 0,
83+
"y": 0,
84+
"z": 0
85+
}
86+
}
87+
]
88+
}
89+
}
90+
}
91+
}
92+
}
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"parameters": {
3+
"accountId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
4+
"api-version": "0.3-preview.0",
5+
"x-mrc-cv": "dKEFmka2kkSlDmp/af+sOw"
6+
},
7+
"responses": {
8+
"200": {
9+
"headers": {
10+
"ms-cv": "dKEFmka2kkSlDmp/af+sOw"
11+
},
12+
"body": {
13+
"inputAssetUri": "https://example.uri"
14+
}
15+
}
16+
}
17+
}

0 commit comments

Comments
 (0)