Skip to content

Commit

Permalink
Add new Azure Object Anchors API version 0.3-preview.0 (#17117)
Browse files Browse the repository at this point in the history
* add 0.3-preview.0

* fix INVALID_FORMAT
  • Loading branch information
christinemfu authored Dec 29, 2021
1 parent 008c081 commit 5e3607a
Show file tree
Hide file tree
Showing 5 changed files with 912 additions and 0 deletions.
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
}
}
]
}
}
}
}
}
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
}
}
]
}
}
}
}
}
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"
}
}
}
}
Loading

0 comments on commit 5e3607a

Please sign in to comment.