Skip to content

Commit

Permalink
Azure Remote REST API 2021-01-01 (Azure#13239)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
rikogeln authored and mkarmark committed Jul 20, 2021
1 parent 41fd0b7 commit 718c3d8
Show file tree
Hide file tree
Showing 10 changed files with 2,025 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
{
"parameters": {
"endpoint": "https://remoterendering.eastus.mixedreality.azure.com",
"api-version": "2021-01-01",
"account_id": "30ea64bd-100f-4bf0-adc9-29fa45d4880c",
"conversion_id": "contoso-conversion-fbc3646c-0b97-4553-81ca-6fae2bfb754e",
"body": {
"settings": {
"inputLocation": {
"storageContainerUri": "https://contosostorage01.blob.core.windows.net/arrInput",
"blobPrefix": "models/",
"relativeInputAssetPath": "house.fbx"
},
"outputLocation": {
"storageContainerUri": "https://contosostorage01.blob.core.windows.net/arrOutput",
"blobPrefix": "conversionOutput/fbc3646c-0b97-4553-81ca-6fae2bfb754e",
"outputAssetFilename": "convertedHouse.arrAsset"
}
}
}
},
"responses": {
"201": {
"headers": {
"MS-CV": "dKEFmka2kkSlDmp/af+sOw"
},
"body": {
"id": "contoso-conversion-fbc3646c-0b97-4553-81ca-6fae2bfb754e",
"creationTime": "2021-01-01T11:11:11.111Z",
"settings": {
"inputLocation": {
"storageContainerUri": "https://contosostorage01.blob.core.windows.net/arrInput",
"blobPrefix": "models/",
"relativeInputAssetPath": "house.fbx"
},
"outputLocation": {
"storageContainerUri": "https://contosostorage01.blob.core.windows.net/arrOutput",
"blobPrefix": "conversionOutput/fbc3646c-0b97-4553-81ca-6fae2bfb754e",
"outputAssetFilename": "convertedHouse.arrAsset"
}
},
"status": "NotStarted",
"error": null
}
},
"200": {
"headers": {
"MS-CV": "dKEFmka2kkSlDmp/af+sOw"
},
"body": {
"id": "contoso-conversion-fbc3646c-0b97-4553-81ca-6fae2bfb754e",
"creationTime": "2021-01-01T11:11:11.111Z",
"settings": {
"inputLocation": {
"storageContainerUri": "https://contosostorage01.blob.core.windows.net/arrInput",
"blobPrefix": "models/",
"relativeInputAssetPath": "house.fbx"
},
"outputLocation": {
"storageContainerUri": "https://contosostorage01.blob.core.windows.net/arrOutput",
"blobPrefix": "conversionOutput/fbc3646c-0b97-4553-81ca-6fae2bfb754e",
"outputAssetFilename": "convertedHouse.arrAsset"
}
},
"status": "NotStarted",
"error": null
}
},
"400": {
"headers": {
"MS-CV": "dKEFmka2kkSlDmp/af+sOw"
},
"body": {
"error": {
"code": "BadRequest",
"message": "The request was malformed."
}
}
},
"409": {
"headers": {
"MS-CV": "dKEFmka2kkSlDmp/af+sOw"
},
"body": {
"error": {
"code": "Conflict",
"message": "A resource already exists under the given ID."
}
}
},
"401": {
"headers": {
"WWW-Authenticate": "Bearer error=\"invalid_token\"",
"MS-CV": "dKEFmka2kkSlDmp/af+sOw"
}
},
"403": {
"headers": {
"MS-CV": "dKEFmka2kkSlDmp/af+sOw"
}
},
"429": {
"headers": {
"Retry-After": 15,
"MS-CV": "dKEFmka2kkSlDmp/af+sOw"
}
},
"500": {
"headers": {
"MS-CV": "dKEFmka2kkSlDmp/af+sOw"
},
"body": {
"error": {
"code": "InternalServerError",
"message": "An internal server error occurred."
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
{
"parameters": {
"endpoint": "https://remoterendering.eastus.mixedreality.azure.com",
"api-version": "2021-01-01",
"account_id": "30ea64bd-100f-4bf0-adc9-29fa45d4880c",
"session_id": "contoso-session-c2b8ac1d-9494-4852-a59c-8c28813adc28",
"body": {
"maxLeaseTimeMinutes": 60,
"size": "Standard"
}
},
"responses": {
"201": {
"headers": {
"MS-CV": "dKEFmka2kkSlDmp/af+sOw"
},
"body": {
"id": "contoso-session-c2b8ac1d-9494-4852-a59c-8c28813adc28",
"creationTime": "2020-11-11T11:11:11.111Z",
"maxLeaseTimeMinutes": 60,
"size": "Standard",
"status": "Starting",
"error": null
}
},
"200": {
"headers": {
"MS-CV": "dKEFmka2kkSlDmp/af+sOw"
},
"body": {
"id": "contoso-session-c2b8ac1d-9494-4852-a59c-8c28813adc28",
"creationTime": "2020-11-11T11:11:11.111Z",
"maxLeaseTimeMinutes": 60,
"size": "Standard",
"status": "Starting",
"error": null
}
},
"400": {
"headers": {
"MS-CV": "dKEFmka2kkSlDmp/af+sOw"
},
"body": {
"error": {
"code": "BadRequest",
"message": "The request was malformed."
}
}
},
"409": {
"headers": {
"MS-CV": "dKEFmka2kkSlDmp/af+sOw"
},
"body": {
"error": {
"code": "Conflict",
"message": "A resource already exists under the given ID."
}
}
},
"401": {
"headers": {
"WWW-Authenticate": "Bearer error=\"invalid_token\"",
"MS-CV": "dKEFmka2kkSlDmp/af+sOw"
}
},
"403": {
"headers": {
"MS-CV": "dKEFmka2kkSlDmp/af+sOw"
}
},
"429": {
"headers": {
"Retry-After": 15,
"MS-CV": "dKEFmka2kkSlDmp/af+sOw"
}
},
"500": {
"headers": {
"MS-CV": "dKEFmka2kkSlDmp/af+sOw"
},
"body": {
"error": {
"code": "InternalServerError",
"message": "An internal server error occurred."
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
{
"parameters": {
"endpoint": "https://remoterendering.eastus.mixedreality.azure.com",
"api-version": "2021-01-01",
"account_id": "30ea64bd-100f-4bf0-adc9-29fa45d4880c",
"conversion_id": "contoso-conversion-fbc3646c-0b97-4553-81ca-6fae2bfb754e"
},
"responses": {
"200": {
"headers": {
"MS-CV": "dKEFmka2kkSlDmp/af+sOw"
},
"body": {
"id": "contoso-conversion-fbc3646c-0b97-4553-81ca-6fae2bfb754e",
"creationTime": "2021-01-01T11:11:11.111Z",
"settings": {
"inputLocation": {
"storageContainerUri": "https://contosostorage01.blob.core.windows.net/arrInput",
"blobPrefix": "models/",
"relativeInputAssetPath": "house.fbx"
},
"outputLocation": {
"storageContainerUri": "https://contosostorage01.blob.core.windows.net/arrOutput",
"blobPrefix": "conversionOutput/fbc3646c-0b97-4553-81ca-6fae2bfb754e",
"outputAssetFilename": "convertedHouse.arrAsset"
}
},
"status": "Succeeded",
"error": null,
"output": {
"outputAssetUri": "https://contosostorage01.blob.core.windows.net/arrOutput/conversionOutput/fbc3646c-0b97-4553-81ca-6fae2bfb754e/convertedHouse.arrAsset"
}
}
},
"401": {
"headers": {
"WWW-Authenticate": "Bearer error=\"invalid_token\"",
"MS-CV": "dKEFmka2kkSlDmp/af+sOw"
}
},
"403": {
"headers": {
"MS-CV": "dKEFmka2kkSlDmp/af+sOw"
}
},
"404": {
"headers": {
"MS-CV": "dKEFmka2kkSlDmp/af+sOw"
}
},
"429": {
"headers": {
"Retry-After": 15,
"MS-CV": "dKEFmka2kkSlDmp/af+sOw"
}
},
"500": {
"headers": {
"MS-CV": "dKEFmka2kkSlDmp/af+sOw"
},
"body": {
"error": {
"code": "InternalServerError",
"message": "An internal server error occurred."
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
{
"parameters": {
"endpoint": "https://remoterendering.eastus.mixedreality.azure.com",
"api-version": "2021-01-01",
"account_id": "30ea64bd-100f-4bf0-adc9-29fa45d4880c",
"session_id": "contoso-session-c2b8ac1d-9494-4852-a59c-8c28813adc28"
},
"responses": {
"200": {
"headers": {
"MS-CV": "dKEFmka2kkSlDmp/af+sOw"
},
"body": {
"id": "contoso-session-c2b8ac1d-9494-4852-a59c-8c28813adc28",
"creationTime": "2020-11-11T11:11:11.111Z",
"arrInspectorPort": 50052,
"handshakePort": 50051,
"elapsedTimeMinutes": 10,
"hostname": "d4cefb7b-10b9-4631-934d-67445ffa9126.remoterenderingvm.westus2.mixedreality.azure.com",
"maxLeaseTimeMinutes": 60,
"size": "Standard",
"status": "Ready",
"error": null,
"teraflops": 10.6
}
},
"401": {
"headers": {
"WWW-Authenticate": "Bearer error=\"invalid_token\"",
"MS-CV": "dKEFmka2kkSlDmp/af+sOw"
}
},
"403": {
"headers": {
"MS-CV": "dKEFmka2kkSlDmp/af+sOw"
}
},
"404": {
"headers": {
"MS-CV": "dKEFmka2kkSlDmp/af+sOw"
}
},
"429": {
"headers": {
"Retry-After": 15,
"MS-CV": "dKEFmka2kkSlDmp/af+sOw"
}
},
"500": {
"headers": {
"MS-CV": "dKEFmka2kkSlDmp/af+sOw"
},
"body": {
"error": {
"code": "InternalServerError",
"message": "An internal server error occurred."
}
}
}
}
}
Loading

0 comments on commit 718c3d8

Please sign in to comment.