Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Azure Remote Rendering REST API swagger file - for review #12015

Merged
merged 21 commits into from
Jan 4, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions custom-words.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1058,6 +1058,7 @@ MSAZR
MSAZRDE
MSAZRUSGO
MSCONCAT
mscv
MSGETACLSTATUS
MSGETFILESTATUS
msix
Expand Down Expand Up @@ -1410,6 +1411,8 @@ remediate
remediated
Remediations
remoteloginsettings
remoterendering
remoterenderingvm
remoteuser
REMOVEACL
REMOVEACLENTRIES
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
{
"parameters": {
"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,88 @@
{
"parameters": {
"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,67 @@
{
"parameters": {
"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,59 @@
{
"parameters": {
"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