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

Added swagger specs #1

Merged
merged 1 commit into from
Jul 16, 2015
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
Empty file.
Empty file.
2,621 changes: 2,621 additions & 0 deletions Microsoft.Compute/2015-06-15/swagger/service.json

Large diffs are not rendered by default.

4,429 changes: 4,429 additions & 0 deletions Microsoft.Network/2015-05-01-preview/swagger/service.json

Large diffs are not rendered by default.

741 changes: 741 additions & 0 deletions Microsoft.Resources.Authorization/2015-01-01/swagger/service.json

Large diffs are not rendered by default.

312 changes: 312 additions & 0 deletions Microsoft.Resources.Feature/2014-08-01-preview/swagger/service.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,312 @@
{
"swagger": "2.0",
"info": {
"title": "FeatureClient",
"version": "2014-08-01-preview"
},
"host": "management.azure.com",
"schemes": [
"https"
],
"consumes": [
"application/json",
"text/json"
],
"produces": [
"application/json",
"text/json"
],
"paths": {
"/subscriptions/{subscriptionId}/providers/Microsoft.Features/features": {
"get": {
"tags": [
"Features"
],
"operationId": "Features_ListAll",
"description": "Gets a list of previewed features for all the providers in the current subscription.",
"parameters": [
{
"in": "query",
"$ref": "#/parameters/ApiVersionParameter"
},
{
"in": "query",
"$ref": "#/parameters/SubscriptionIdParameter"
}
],
"responses": {
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/FeatureOperationsListResult"
}
}
},
"x-ms-pageable": true
}
},
"/subscriptions/{subscriptionId}/providers/Microsoft.Features/providers/{resourceProviderNamespace}/features": {
"get": {
"tags": [
"Features"
],
"operationId": "Features_List",
"description": "Gets a list of previewed features of a resource provider.",
"parameters": [
{
"name": "resourceProviderNamespace",
"in": "path",
"required": true,
"type": "string",
"description": "The namespace of the resource provider."
},
{
"in": "query",
"$ref": "#/parameters/ApiVersionParameter"
},
{
"in": "query",
"$ref": "#/parameters/SubscriptionIdParameter"
}
],
"responses": {
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/FeatureOperationsListResult"
}
}
},
"x-ms-pageable": true
}
},
"/subscriptions/{subscriptionId}/providers/Microsoft.Features/providers/{resourceProviderNamespace}/features/{featureName}": {
"get": {
"tags": [
"Features"
],
"operationId": "Features_Get",
"description": "Get all features under the subscription.",
"parameters": [
{
"name": "resourceProviderNamespace",
"in": "path",
"required": true,
"type": "string",
"description": "Namespace of the resource provider."
},
{
"name": "featureName",
"in": "path",
"required": true,
"type": "string",
"description": "Previewed feature name in the resource provider."
},
{
"in": "query",
"$ref": "#/parameters/ApiVersionParameter"
},
{
"in": "query",
"$ref": "#/parameters/SubscriptionIdParameter"
}
],
"responses": {
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/FeatureResult"
}
}
}
}
},
"/subscriptions/{subscriptionId}/providers/Microsoft.Features/providers/{resourceProviderNamespace}/features/{featureName}/register": {
"post": {
"tags": [
"Features"
],
"operationId": "Features_Register",
"description": "Registers for a previewed feature of a resource provider.",
"parameters": [
{
"name": "resourceProviderNamespace",
"in": "path",
"required": true,
"type": "string",
"description": "Namespace of the resource provider."
},
{
"name": "featureName",
"in": "path",
"required": true,
"type": "string",
"description": "Previewed feature name in the resource provider."
},
{
"in": "query",
"$ref": "#/parameters/ApiVersionParameter"
},
{
"in": "query",
"$ref": "#/parameters/SubscriptionIdParameter"
}
],
"responses": {
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/FeatureResult"
}
}
}
}
}
},
"definitions": {
"DeploymentExtendedFilter": {
"properties": {
"provisioningState": {
"type": "string",
"description": "Gets or sets the provisioning state."
}
},
"description": "Deployment filter."
},
"GenericResourceFilter": {
"properties": {
"resourceType": {
"type": "string",
"description": "Gets or sets the resource type."
},
"tagname": {
"type": "string",
"description": "Gets or sets the tag name."
},
"tagvalue": {
"type": "string",
"description": "Gets or sets the tag value."
}
},
"description": "Resource filter."
},
"ResourceGroupExtendedFilter": {
"properties": {
"tagName": {
"type": "string",
"description": "Gets or sets the tag name."
},
"tagValue": {
"type": "string",
"description": "Gets or sets the tag value."
}
},
"description": "Resource group filter."
},
"FeatureProperties": {
"properties": {
"state": {
"type": "string",
"description": "Gets or sets the state of the previewed feature."
}
},
"description": "Previewed feature information."
},
"FeatureResult": {
"properties": {
"name": {
"type": "string",
"description": "Gets or sets the name of the feature."
},
"properties": {
"$ref": "#/definitions/FeatureProperties",
"description": "Gets or sets the properties of the previewed feature."
},
"id": {
"type": "string",
"description": "Gets or sets the Id of the feature."
},
"type": {
"type": "string",
"description": "Gets or sets the type of the feature."
}
},
"description": "Previewed feature information."
},
"FeatureOperationsListResult": {
"properties": {
"value": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureResult"
},
"description": "Gets or sets the list of Features."
},
"nextLink": {
"type": "string",
"description": "Gets or sets the URL to get the next set of results."
}
},
"description": "List of previewed features."
},
"Resource": {
"properties": {
"id": {
"readOnly": true,
"type": "string",
"description": "Resource Id"
},
"name": {
"readOnly": true,
"type": "string",
"description": "Resource name"
},
"type": {
"readOnly": true,
"type": "string",
"description": "Resource type"
},
"location": {
"type": "string",
"description": "Resource location"
},
"tags": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "Resource tags"
}
},
"required": [
"location"
],
"x-ms-external": true
},
"SubResource": {
"properties": {
"id": {
"type": "string",
"description": "Resource Id"
}
},
"x-ms-external": true
}
},
"parameters": {
"SubscriptionIdParameter": {
"name": "subscriptionId",
"in": "path",
"required": true,
"type": "string",
"description": "Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call."
},
"ApiVersionParameter": {
"name": "api-version",
"in": "query",
"required": true,
"type": "string",
"description": "Client Api Version."
}
}
}
Loading