Skip to content

Commit

Permalink
Onedeploy API swapper spec (#15985)
Browse files Browse the repository at this point in the history
* Onedeploy API swapper spec

* Adding onedeploy custom keyword

* Formatting onedeploy api indentation

Formatting onedeploy api indentation

* prettifier

Co-authored-by: Calvin Chan <calvinch4n@gmail.com>
  • Loading branch information
SatishRanjan and calvinsID authored Oct 8, 2021
1 parent 815ea5b commit b9c5d7b
Show file tree
Hide file tree
Showing 2 changed files with 83 additions and 0 deletions.
1 change: 1 addition & 0 deletions custom-words.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1348,6 +1348,7 @@ Onboarding
Onboards
ondemand
ondemandgc
onedeploy
onmachine
onmicrosoft
ONNX
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3524,6 +3524,88 @@
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/extensions/onedeploy": {
"get": {
"tags": [
"WebApps"
],
"summary": "Invoke onedeploy status API /api/deployments and gets the deployment status for the site",
"description": "Description for Invoke onedeploy status API /api/deployments and gets the deployment status for the site",
"operationId": "WebApps_GetOneDeployStatus",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
},
{
"name": "name",
"in": "path",
"description": "Name of web app.",
"required": true,
"type": "string"
},
{
"$ref": "#/parameters/subscriptionIdParameter"
},
{
"$ref": "#/parameters/apiVersionParameter"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"type": "object"
}
},
"default": {
"description": "App Service error response.",
"schema": {
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
}
},
"put": {
"tags": [
"WebApps"
],
"summary": "Invoke the OneDeploy publish web app extension.",
"description": "Description for Invoke the OneDeploy publish web app extension.",
"operationId": "WebApps_CreateOneDeployOperation",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
},
{
"name": "name",
"in": "path",
"description": "Name of web app.",
"required": true,
"type": "string"
},
{
"$ref": "#/parameters/subscriptionIdParameter"
},
{
"$ref": "#/parameters/apiVersionParameter"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"type": "object"
}
},
"default": {
"description": "App Service error response.",
"schema": {
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions": {
"get": {
"tags": [
Expand Down

0 comments on commit b9c5d7b

Please sign in to comment.