Skip to content
Merged
Changes from 13 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
136 changes: 65 additions & 71 deletions arm-web/2016-03-01/ResourceProvider.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,70 @@
"https"
],
"paths": {
"/providers/Microsoft.Web/publishingUsers/web": {
"get": {
"summary": "Gets publishing user",
"description": "Gets publishing user",
"operationId": "GetPublishingUser",
"produces": [
"application/json",
"text/json",
"application/xml",
"text/xml"
],
"parameters": [
{
"$ref": "#/parameters/apiVersionParameter"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/User"
}
}
}
},
"put": {
"summary": "Updates publishing user",
"description": "Updates publishing user",
"operationId": "UpdatePublishingUser",
"consumes": [
"application/json",
"text/json",
"application/x-www-form-urlencoded"
],
"produces": [
"application/json",
"text/json",
"application/xml",
"text/xml"
],
"parameters": [
{
"name": "requestMessage",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the parameter is named "userDetails" then this would be better. It gives better developer experience.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed.

"in": "body",
"description": "Details of publishing user",
"required": true,
"schema": {
"$ref": "#/definitions/User"
}
},
{
"$ref": "#/parameters/apiVersionParameter"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/User"
}
}
}
}
},
"/providers/Microsoft.Web/sourcecontrols": {
"get": {
"summary": "Gets the source controls available for Azure websites.",
Expand Down Expand Up @@ -130,7 +194,7 @@
}
},
"/subscriptions/{subscriptionId}/providers/Microsoft.Web/geoRegions": {
"post": {
"get": {
"summary": "Get a list of available geographical regions.",
"description": "Get a list of available geographical regions.",
"operationId": "ListGeoRegions",
Expand Down Expand Up @@ -207,76 +271,6 @@
}
}
},
"/subscriptions/{subscriptionId}/providers/Microsoft.Web/publishingCredentials": {
"get": {
"summary": "Get the publishing credentials for the subscription owner.",
"description": "Get the publishing credentials for the subscription owner.",
"operationId": "GetPublishingCredentials",
"produces": [
"application/json",
"text/json",
"application/xml",
"text/xml"
],
"parameters": [
{
"$ref": "#/parameters/subscriptionIdParameter"
},
{
"$ref": "#/parameters/apiVersionParameter"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/User"
}
}
}
},
"put": {
"summary": "Update the publishing credentials for the subscription owner.",
"description": "Update the publishing credentials for the subscription owner.",
"operationId": "UpdatePublishingCredentials",
"consumes": [
"application/json",
"text/json",
"application/x-www-form-urlencoded"
],
"produces": [
"application/json",
"text/json",
"application/xml",
"text/xml"
],
"parameters": [
{
"name": "requestMessage",
"in": "body",
"description": "A request message with the new publishing credentials.",
"required": true,
"schema": {
"$ref": "#/definitions/User"
}
},
{
"$ref": "#/parameters/subscriptionIdParameter"
},
{
"$ref": "#/parameters/apiVersionParameter"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/User"
}
}
}
}
},
"/subscriptions/{subscriptionId}/providers/Microsoft.Web/skus": {
"get": {
"summary": "List all SKUs.",
Expand Down