forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Azure Remote REST API 2021-01-01 (Azure#13239)
* 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
Showing
10 changed files
with
2,025 additions
and
2 deletions.
There are no files selected for viewing
120 changes: 120 additions & 0 deletions
120
...eality/data-plane/Microsoft.MixedReality/stable/2021-01-01/examples/CreateConversion.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,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." | ||
} | ||
} | ||
} | ||
} | ||
} |
90 changes: 90 additions & 0 deletions
90
...edreality/data-plane/Microsoft.MixedReality/stable/2021-01-01/examples/CreateSession.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,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." | ||
} | ||
} | ||
} | ||
} | ||
} |
69 changes: 69 additions & 0 deletions
69
...edreality/data-plane/Microsoft.MixedReality/stable/2021-01-01/examples/GetConversion.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,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." | ||
} | ||
} | ||
} | ||
} | ||
} |
61 changes: 61 additions & 0 deletions
61
...mixedreality/data-plane/Microsoft.MixedReality/stable/2021-01-01/examples/GetSession.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,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." | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.