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

[MixedReality] Version Iteration for new Releases #9351

Merged
merged 3 commits into from
May 9, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,166 @@
{
"swagger": "2.0",
"info": {
"title": "Mixed Reality",
"description": "Mixed Reality Resource Provider API",
"version": "2020-04-06-preview"
},
"paths": {},
"definitions": {
"AccountKeys": {
"description": "Developer Keys of account",
"type": "object",
"properties": {
"primaryKey": {
"description": "value of primary key.",
"readOnly": true,
"type": "string"
},
"secondaryKey": {
"description": "value of secondary key.",
"readOnly": true,
"type": "string"
}
}
},
"AccountKeyRegenerateRequest": {
"description": "Request for account key regeneration",
"type": "object",
"properties": {
"serial": {
"type": "integer",
"enum": [
1,
2
],
"default": 1,
"x-ms-enum": {
"name": "Serial",
"values": [
{
"value": 1,
"description": "The Primary Key",
"name": "Primary"
},
{
"value": 2,
"description": "The Secondary Key",
"name": "Secondary"
}
]
},
"description": "serial of key to be regenerated"
}
}
},
"CloudError": {
"x-ms-external": true,
"properties": {
"error": {
"$ref": "#/definitions/CloudErrorBody"
}
},
"description": "An Error response."
},
"CloudErrorBody": {
"x-ms-external": true,
"properties": {
"code": {
"type": "string",
"description": "An identifier for the error. Codes are invariant and are intended to be consumed programmatically."
},
"message": {
"type": "string",
"description": "A message describing the error, intended to be suitable for displaying in a user interface."
},
"target": {
"type": "string",
"description": "The target of the particular error. For example, the name of the property in error."
},
"details": {
"type": "array",
"items": {
"$ref": "#/definitions/CloudErrorBody"
},
"description": "A list of additional details about the error."
}
},
"description": "An error response from Azure."
},
"MixedRealityAccountProperties": {
"description": "Common Properties shared by Mixed Reality Accounts",
"type": "object",
"properties": {
"accountId": {
"description": "unique id of certain account.",
"readOnly": true,
"type": "string"
},
"accountDomain": {
"description": "Correspond domain name of certain Spatial Anchors Account",
"readOnly": true,
"type": "string"
}
}
}
},
"parameters": {
"accountKeyRegenerateParameter": {
"name": "regenerate",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/AccountKeyRegenerateRequest"
},
"x-ms-parameter-location": "method",
"description": "Required information for key regeneration."
},
"accountNameParameter": {
"name": "accountName",
"in": "path",
"required": true,
"type": "string",
"pattern": "^[-\\w\\._\\(\\)]+$",
"minLength": 1,
"maxLength": 90,
"x-ms-parameter-location": "method",
"description": "Name of an Mixed Reality Account."
},
"apiVersionParameter": {
"name": "api-version",
"description": "The API version to be used with the HTTP request.",
"in": "query",
"required": true,
"type": "string"
},
"locationParameter": {
"name": "location",
"in": "path",
"required": true,
"type": "string",
"pattern": "^[-\\w\\._\\(\\)]+$",
"minLength": 1,
"maxLength": 90,
"x-ms-parameter-location": "method",
"description": "The location in which uniqueness will be verified."
},
"resourceGroupNameParameter": {
"name": "resourceGroupName",
"in": "path",
"required": true,
"type": "string",
"pattern": "^[-\\w\\._\\(\\)]+$",
"minLength": 1,
"maxLength": 90,
"x-ms-parameter-location": "method",
"description": "Name of an Azure resource group."
},
"subscriptionIdParameter": {
"name": "subscriptionId",
"description": "The Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000)",
"in": "path",
"required": true,
"type": "string"
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"parameters": {
"subscriptionId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"location": "eastus2euap",
"checkNameAvailability": {
"name": "MyAccount",
"type": "Microsoft.MixedReality/spatialAnchorsAccounts"
},
"api-version": " 2020-04-06-preview"
},
"responses": {
"200": {
"body": {
"nameAvailable": "false",
"reason": "AlreadyExists",
"message": "..."
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
{
"parameters": {
"api-version": "2020-04-06-preview"
},
"responses": {
"200": {
"body": {
"value": [
{
"name": "Microsoft.MixedReality/register/action",
"display": {
"provider": "Microsoft.MixedReality",
"resource": "Mixed Reality resource provider",
"operation": "Registers the Mixed Reality resource provider",
"description": "Registers a subscription for the Mixed Reality resource provider."
}
},
{
"name": "Microsoft.MixedReality/SpatialAnchorsAccounts/delete",
"display": {
"provider": "Microsoft.MixedReality",
"resource": "SpatialAnchorsAccounts",
"operation": "Delete Spatial Anchors Accounts",
"description": "Deletes the resource for Microsoft.MixedReality/SpatialAnchorsAccounts"
}
},
{
"name": "Microsoft.MixedReality/SpatialAnchorsAccounts/read",
"display": {
"provider": "Microsoft.MixedReality",
"resource": "SpatialAnchorsAccounts",
"operation": "Get Spatial Anchors Accounts",
"description": "Gets the resource for Microsoft.MixedReality/SpatialAnchorsAccounts"
}
},
{
"name": "Microsoft.MixedReality/SpatialAnchorsAccounts/write",
"display": {
"provider": "Microsoft.MixedReality",
"resource": "SpatialAnchorsAccounts",
"operation": "Update Spatial Anchors Accounts",
"description": "Updates the resource for Microsoft.MixedReality/SpatialAnchorsAccounts"
}
}
],
"nextLink": null
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"parameters": {
"subscriptionId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"resourceGroupName": "MyResourceGroup",
"accountName": "MyAccount",
"api-version": "2020-04-06-preview"
},
"responses": {
"200": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"parameters": {
"subscriptionId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"resourceGroupName": "MyResourceGroup",
"accountName": "MyAccount",
"api-version": "2020-04-06-preview"
},
"responses": {
"200": {
"body": {
"properties": {
"accountId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"accountDomain": "mixedreality.azure.com"
},
"tags": {},
"location": "eastus2euap",
"id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/MyResourceGroup/providers/Microsoft.MixedReality/remoteRenderingAccounts/MyAccount",
"name": "MyAccount",
"type": "Microsoft.MixedReality/remoteRenderingAccounts"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"parameters": {
"subscriptionId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"resourceGroupName": "MyResourceGroup",
"api-version": "2020-04-06-preview"
},
"responses": {
"200": {
"body": {
"value": [
{
"properties": {
"accountId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"accountDomain": "mixedreality.azure.com"
},
"tags": {},
"location": "eastus2euap",
"id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/MyResourceGroup/providers/Microsoft.MixedReality/remoteRenderingAccounts/alpha",
"name": "alpha",
"type": "Microsoft.MixedReality/remoteRenderingAccounts"
},
{
"properties": {
"accountId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"accountDomain": "mixedreality.azure.com"
},
"tags": {},
"location": "eastus2euap",
"id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/MyResourceGroup/providers/Microsoft.MixedReality/remoteRenderingAccounts/omega",
"name": "omega",
"type": "Microsoft.MixedReality/remoteRenderingAccounts"
}
],
"nextLink": "https://aka.ms/&^FDKKAR"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"parameters": {
"subscriptionId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"api-version": "2020-04-06-preview"
},
"responses": {
"200": {
"body": {
"value": [
{
"properties": {
"accountId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"accountDomain": "mixedreality.azure.com"
},
"tags": {},
"location": "eastus2euap",
"id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/MyResourceGroup/providers/Microsoft.MixedReality/remoteRenderingAccounts/alpha",
"name": "alpha",
"type": "Microsoft.MixedReality/remoteRenderingAccounts"
},
{
"properties": {
"accountId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"accountDomain": "mixedreality.azure.com"
},
"tags": {},
"location": "eastus2euap",
"id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/MyResourceGroup/providers/Microsoft.MixedReality/remoteRenderingAccounts/omega",
"name": "omega",
"type": "Microsoft.MixedReality/remoteRenderingAccounts"
}
],
"nextLink": "https://aka.ms/&^FDKKAR"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"parameters": {
"subscriptionId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"resourceGroupName": "MyResourceGroup",
"accountName": "MyAccount",
"api-version": "2020-04-06-preview"
},
"responses": {
"200": {
"body": {
"primaryKey": "vMAlcI/j25TwDs8hjTorto3JQkoiqZAXKsFq0rYnSNc=",
"secondaryKey": "N4umIGhJt8LgnMMMBpwFOxVOS9zpxHxSHy1TJhN3hU4="
}
}
}
}
Loading