Skip to content
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 @@ -7472,6 +7472,91 @@
}
}
}
},
"/apps/{appId}/versions/{versionId}/settings": {
"get": {
"description": "Gets the application version settings.",
"operationId": "Settings_List",
"parameters": [
{
"$ref": "#/parameters/AppIdInPath"
},
{
"$ref": "#/parameters/VersionIdInPath"
}
],
"responses": {
"200": {
"description": "A list of the application version settings.",
"schema": {
"type": "array",
"items": {
"$ref": "#/definitions/AppVersionSettingObject"
}
}
},
"default": {
"description": "Error Response.",
"schema": {
"$ref": "#/definitions/ErrorResponse"
}
}
},
"produces": [
"application/json"
],
"x-ms-examples": {
"Successful Get Application Version settings request": {
"$ref": "./examples/versions/SuccessfulGetApplicationVersionSettingsRequest.json"
}
}
},
"put": {
"description": "Updates the application version settings.",
"operationId": "Settings_Update",
"parameters": [
{
"$ref": "#/parameters/AppIdInPath"
},
{
"$ref": "#/parameters/VersionIdInPath"
},
{
"name": "listOfAppVersionSettingObject",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/AppVersionSettingObject"
},
"description": "A list of the updated application version settings."
}
],
"consumes": [
"application/json"
],
"responses": {
"200": {
"description": "Successful operation.",
"schema": {
"$ref": "#/definitions/OperationStatus"
}
},
"default": {
"description": "Error Response.",
"schema": {
"$ref": "#/definitions/ErrorResponse"
}
}
},
"produces": [
"application/json"
],
"x-ms-examples": {
"Successful Update Application Version settings request": {
"$ref": "./examples/versions/SuccessfulUpdateApplicationVersionSettingsRequest.json"
}
}
}
}
},
"definitions": {
Expand Down Expand Up @@ -9723,6 +9808,20 @@
"type": "string"
}
}
},
"AppVersionSettingObject": {
"description": "Object model of an application version setting.",
"type": "object",
"properties": {
"name": {
"description": "The application version setting name.",
"type": "string"
},
"value": {
"description": "The application version setting value.",
"type": "string"
}
}
}
},
"parameters": {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"parameters": {
"Endpoint": "{Endpoint}",
"Ocp-Apim-Subscription-Key": "00000000000000000000000000000000",
"appId": "363187f1-c573-46b3-bc4c-ae01d686e68e",
"versionId": "0.1"
},
"responses": {
"200": {
"headers": {},
"body": [
{
"name": "UseNegativeSampling",
"value": "false"
}
]
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"parameters": {
"Endpoint": "{Endpoint}",
"Ocp-Apim-Subscription-Key": "00000000000000000000000000000000",
"appId": "363187f1-c573-46b3-bc4c-ae01d686e68e",
"versionId": "0.1",
"listOfAppVersionSettingObject": [
{
"name": "UseNegativeSampling",
"value": "false"
}
]
},
"responses": {
"200": {
"headers": {},
"body": {
"code": "Success",
"message": "Operation Successful"
}
}
}
}