-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add new Azure Object Anchors API version 0.3-preview.0 (#17117)
* add 0.3-preview.0 * fix INVALID_FORMAT
- Loading branch information
1 parent
008c081
commit 5e3607a
Showing
5 changed files
with
912 additions
and
0 deletions.
There are no files selected for viewing
158 changes: 158 additions & 0 deletions
158
...plane/Microsoft.MixedReality/preview/0.3-preview.0/examples/CreateAssetConversionJob.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,158 @@ | ||
{ | ||
"parameters": { | ||
"accountId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", | ||
"jobId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", | ||
"api-version": "0.3-preview.0", | ||
"x-mrc-cv": "dKEFmka2kkSlDmp/af+sOw", | ||
"body": { | ||
"assetFileType": "string", | ||
"inputAssetUri": "https://example.uri", | ||
"ingestionConfiguration": { | ||
"dimensions": { | ||
"x": 0, | ||
"y": 0, | ||
"z": 0 | ||
}, | ||
"boundingBoxCenter": { | ||
"x": 0, | ||
"y": 0, | ||
"z": 0 | ||
}, | ||
"gravity": { | ||
"x": 0, | ||
"y": 0, | ||
"z": 0 | ||
}, | ||
"keyFrameIndexes": [ | ||
0 | ||
], | ||
"gtTrajectory": [ | ||
{ | ||
"rotation": { | ||
"x": 0, | ||
"y": 0, | ||
"z": 0, | ||
"w": 0 | ||
}, | ||
"translation": { | ||
"x": 0, | ||
"y": 0, | ||
"z": 0 | ||
} | ||
} | ||
], | ||
"principalAxis": { | ||
"x": 0, | ||
"y": 0, | ||
"z": 0, | ||
"w": 0 | ||
}, | ||
"scale": 0, | ||
"supportingPlane": { | ||
"x": 0, | ||
"y": 0, | ||
"z": 0, | ||
"w": 0 | ||
}, | ||
"testTrajectory": [ | ||
{ | ||
"rotation": { | ||
"x": 0, | ||
"y": 0, | ||
"z": 0, | ||
"w": 0 | ||
}, | ||
"translation": { | ||
"x": 0, | ||
"y": 0, | ||
"z": 0 | ||
} | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"201": { | ||
"headers": { | ||
"ms-cv": "dKEFmka2kkSlDmp/af+sOw" | ||
}, | ||
"body": { | ||
"clientErrorDetails": "string", | ||
"serverErrorDetails": "string", | ||
"jobId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", | ||
"outputModelUri": "https://example.uri", | ||
"jobStatus": "NotStarted", | ||
"assetFileType": "string", | ||
"inputAssetUri": "https://example.uri", | ||
"accountId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", | ||
"ingestionConfiguration": { | ||
"dimensions": { | ||
"x": 0, | ||
"y": 0, | ||
"z": 0 | ||
}, | ||
"boundingBoxCenter": { | ||
"x": 0, | ||
"y": 0, | ||
"z": 0 | ||
}, | ||
"gravity": { | ||
"x": 0, | ||
"y": 0, | ||
"z": 0 | ||
}, | ||
"keyFrameIndexes": [ | ||
0 | ||
], | ||
"gtTrajectory": [ | ||
{ | ||
"rotation": { | ||
"x": 0, | ||
"y": 0, | ||
"z": 0, | ||
"w": 0, | ||
"isIdentity": true | ||
}, | ||
"translation": { | ||
"x": 0, | ||
"y": 0, | ||
"z": 0 | ||
} | ||
} | ||
], | ||
"principalAxis": { | ||
"x": 0, | ||
"y": 0, | ||
"z": 0, | ||
"w": 0, | ||
"isIdentity": true | ||
}, | ||
"scale": 0, | ||
"supportingPlane": { | ||
"x": 0, | ||
"y": 0, | ||
"z": 0, | ||
"w": 0 | ||
}, | ||
"testTrajectory": [ | ||
{ | ||
"rotation": { | ||
"x": 0, | ||
"y": 0, | ||
"z": 0, | ||
"w": 0, | ||
"isIdentity": true | ||
}, | ||
"translation": { | ||
"x": 0, | ||
"y": 0, | ||
"z": 0 | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
92 changes: 92 additions & 0 deletions
92
...ta-plane/Microsoft.MixedReality/preview/0.3-preview.0/examples/GetAssetConversionJob.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,92 @@ | ||
{ | ||
"parameters": { | ||
"accountId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", | ||
"jobId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", | ||
"api-version": "0.3-preview.0", | ||
"x-mrc-cv": "dKEFmka2kkSlDmp/af+sOw" | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": { | ||
"ms-cv": "dKEFmka2kkSlDmp/af+sOw" | ||
}, | ||
"body": { | ||
"clientErrorDetails": "string", | ||
"serverErrorDetails": "string", | ||
"errorCode": "NO_ERROR", | ||
"jobId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", | ||
"outputModelUri": "https://example.uri", | ||
"jobStatus": "NotStarted", | ||
"assetFileType": "string", | ||
"inputAssetUri": "https://example.uri", | ||
"accountId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", | ||
"ingestionConfiguration": { | ||
"dimensions": { | ||
"x": 0, | ||
"y": 0, | ||
"z": 0 | ||
}, | ||
"boundingBoxCenter": { | ||
"x": 0, | ||
"y": 0, | ||
"z": 0 | ||
}, | ||
"gravity": { | ||
"x": 0, | ||
"y": 0, | ||
"z": 0 | ||
}, | ||
"keyFrameIndexes": [ | ||
0 | ||
], | ||
"gtTrajectory": [ | ||
{ | ||
"rotation": { | ||
"x": 0, | ||
"y": 0, | ||
"z": 0, | ||
"w": 0, | ||
"isIdentity": true | ||
}, | ||
"translation": { | ||
"x": 0, | ||
"y": 0, | ||
"z": 0 | ||
} | ||
} | ||
], | ||
"principalAxis": { | ||
"x": 0, | ||
"y": 0, | ||
"z": 0, | ||
"w": 0, | ||
"isIdentity": true | ||
}, | ||
"scale": 0, | ||
"supportingPlane": { | ||
"x": 0, | ||
"y": 0, | ||
"z": 0, | ||
"w": 0 | ||
}, | ||
"testTrajectory": [ | ||
{ | ||
"rotation": { | ||
"x": 0, | ||
"y": 0, | ||
"z": 0, | ||
"w": 0, | ||
"isIdentity": true | ||
}, | ||
"translation": { | ||
"x": 0, | ||
"y": 0, | ||
"z": 0 | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
...ta-plane/Microsoft.MixedReality/preview/0.3-preview.0/examples/GetBlobUploadEndpoint.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": { | ||
"accountId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", | ||
"api-version": "0.3-preview.0", | ||
"x-mrc-cv": "dKEFmka2kkSlDmp/af+sOw" | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": { | ||
"ms-cv": "dKEFmka2kkSlDmp/af+sOw" | ||
}, | ||
"body": { | ||
"inputAssetUri": "https://example.uri" | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.