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

Removed the publishingcredentials API and re-added the publishingUsers API #925

Merged
merged 18 commits into from
Feb 11, 2017
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
Original file line number Diff line number Diff line change
Expand Up @@ -577,6 +577,18 @@
"toUpdate": {
"description": "Set to <code>true</code> to update existing hostname.",
"type": "boolean"
},
"hostType": {
"description": "Indicates whether the hostname is a standard or repository hostname.",
"enum": [
"Standard",
"Repository"
],
"type": "string",
"x-ms-enum": {
"name": "HostType",
"modelAsString": false
}
}
}
},
Expand Down
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": "userDetails",
"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
Original file line number Diff line number Diff line change
Expand Up @@ -11992,6 +11992,18 @@
"toUpdate": {
"description": "Set to <code>true</code> to update existing hostname.",
"type": "boolean"
},
"hostType": {
"description": "Indicates whether the hostname is a standard or repository hostname.",
"enum": [
"Standard",
"Repository"
],
"type": "string",
"x-ms-enum": {
"name": "HostType",
"modelAsString": false
}
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2599,6 +2599,18 @@
"toUpdate": {
"description": "Set to <code>true</code> to update existing hostname.",
"type": "boolean"
},
"hostType": {
"description": "Indicates whether the hostname is a standard or repository hostname.",
"enum": [
"Standard",
"Repository"
],
"type": "string",
"x-ms-enum": {
"name": "HostType",
"modelAsString": false
}
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1752,6 +1752,18 @@
"toUpdate": {
"description": "Set to <code>true</code> to update existing hostname.",
"type": "boolean"
},
"hostType": {
"description": "Indicates whether the hostname is a standard or repository hostname.",
"enum": [
"Standard",
"Repository"
],
"type": "string",
"x-ms-enum": {
"name": "HostType",
"modelAsString": false
}
}
}
},
Expand Down
20 changes: 10 additions & 10 deletions arm-web/compositeWebAppClient.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
"description": "Composite Swagger for WebSite Management Client"
},
"documents": [
"./2015-08-01/AppServiceCertificateOrders.json",
"./2016-09-01/AppServiceEnvironments.json",
"./2016-09-01/AppServicePlans.json",
"./2016-03-01/Certificates.json",
"./2015-04-01/Domains.json",
"./2016-03-01/Recommendations.json",
"./2016-03-01/ResourceProvider.json",
"./2015-04-01/TopLevelDomains.json",
"./2016-08-01/WebApps.json",
"./2016-03-01/DeletedWebApps.json"
"./2015-08-01/swagger/AppServiceCertificateOrders.json",
"./2016-09-01/swagger/AppServiceEnvironments.json",
"./2016-09-01/swagger/AppServicePlans.json",
"./2016-03-01/swagger/Certificates.json",
"./2015-04-01/swagger/Domains.json",
"./2016-03-01/swagger/Recommendations.json",
"./2016-03-01/swagger/ResourceProvider.json",
"./2015-04-01/swagger/TopLevelDomains.json",
"./2016-08-01/swagger/WebApps.json",
"./2016-03-01/swagger/DeletedWebApps.json"
]
}