Skip to content

Commit

Permalink
Adding Azure Object Anchors error codes for IngestionProperties (Azur…
Browse files Browse the repository at this point in the history
…e#13787)

* Added Azure Object Anchors error code field to IngestionProperties

* Fixed spacing in example

* Moved changes to new version

* Addressed version mismatch, spacing

* Fixed versions on examples

* Readonly error code

* Seeing if readonly error code is breaking

* Revert "Seeing if readonly error code is breaking"

This reverts commit c0b16f0.

* Model error code as string

* Renamed examples to asset conversion nomenclature

* Fixed rename issues
  • Loading branch information
jastenze authored and mkarmark committed Jul 20, 2021
1 parent 38c9070 commit c4ea175
Show file tree
Hide file tree
Showing 5 changed files with 754 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.2-preview.1",
"x-mrc-cv": "dKEFmka2kkSlDmp/af+sOw",
"body": {
"assetFileType": "string",
"inputAssetUri": "string",
"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": "string",
"jobStatus": "NotStarted",
"assetFileType": "string",
"inputAssetUri": "string",
"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.2-preview.1",
"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": "string",
"jobStatus": "NotStarted",
"assetFileType": "string",
"inputAssetUri": "string",
"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.2-preview.1",
"x-mrc-cv": "dKEFmka2kkSlDmp/af+sOw"
},
"responses": {
"200": {
"headers": {
"ms-cv": "dKEFmka2kkSlDmp/af+sOw"
},
"body": {
"inputAssetUri": "string"
}
}
}
}
Loading

0 comments on commit c4ea175

Please sign in to comment.