Skip to content

Commit 207e117

Browse files
authored
Merge pull request #9 from microsoft/dev
merge from PowerPlatform
2 parents 5dff4da + f2a039e commit 207e117

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+8056
-2796
lines changed

certified-connectors/AzureDigitalTwins/apiDefinition.swagger.json

Lines changed: 102 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,29 @@
167167
]
168168
}
169169
},
170+
"/digitaltwins/doubleupdate/{twinid}": {
171+
"patch": {
172+
"responses": {
173+
"204": {
174+
"description": "Success"
175+
}
176+
},
177+
"summary": "Update Twin",
178+
"description": "Update Twin Double Properties.",
179+
"operationId": "UpdateTwinDoubleProp",
180+
"parameters": [
181+
{
182+
"$ref": "#/parameters/twinid"
183+
},
184+
{
185+
"$ref": "#/parameters/api-version"
186+
},
187+
{
188+
"$ref": "#/parameters/doubleUpdate"
189+
}
190+
]
191+
}
192+
},
170193
"/digitaltwins/{twinid}/components/{componentPath}": {
171194
"get": {
172195
"responses": {
@@ -269,6 +292,32 @@
269292
]
270293
}
271294
},
295+
"/digitaltwins/{twinid}/components/doubleupdate/{componentPath}": {
296+
"patch": {
297+
"responses": {
298+
"204": {
299+
"description": "Success"
300+
}
301+
},
302+
"summary": "Twins - DigitalTwins UpdateComponent",
303+
"description": "Update Components with Double property for Twins.",
304+
"operationId": "UpdateComponentDoubleProp",
305+
"parameters": [
306+
{
307+
"$ref": "#/parameters/twinid"
308+
},
309+
{
310+
"$ref": "#/parameters/componentPath"
311+
},
312+
{
313+
"$ref": "#/parameters/api-version"
314+
},
315+
{
316+
"$ref": "#/parameters/doubleUpdate"
317+
}
318+
]
319+
}
320+
},
272321
"/digitaltwins/{twinid}/relationships/{relationshipId}": {
273322
"get": {
274323
"responses": {
@@ -414,10 +463,36 @@
414463
}
415464
],
416465
"summary": "Twins - DigitalTwins UpdateRelationship",
417-
"description": "Updates the string property in Twin Relationships.",
466+
"description": "Updates the boolean property in Twin Relationships.",
418467
"operationId": "UpdateRelationshipBooleanProp"
419468
}
420469
},
470+
"/digitaltwins/{twinid}/relationships/doubleupdate/{relationshipId}": {
471+
"patch": {
472+
"responses": {
473+
"204": {
474+
"description": "Success"
475+
}
476+
},
477+
"parameters": [
478+
{
479+
"$ref": "#/parameters/twinid"
480+
},
481+
{
482+
"$ref": "#/parameters/relationshipId"
483+
},
484+
{
485+
"$ref": "#/parameters/api-version"
486+
},
487+
{
488+
"$ref": "#/parameters/doubleUpdate"
489+
}
490+
],
491+
"summary": "Twins - DigitalTwins UpdateRelationship",
492+
"description": "Updates the double property in Twin Relationships.",
493+
"operationId": "UpdateRelationshipDoubleProp"
494+
}
495+
},
421496
"/digitaltwins/{twinid}/incomingrelationships": {
422497
"get": {
423498
"responses": {
@@ -790,6 +865,32 @@
790865
}
791866
}
792867
},
868+
"doubleUpdate": {
869+
"name": "body",
870+
"in": "body",
871+
"required": false,
872+
"schema": {
873+
"type": "array",
874+
"items": {
875+
"type": "object",
876+
"properties": {
877+
"op": {
878+
"type": "string",
879+
"description": "Request Operation."
880+
},
881+
"path": {
882+
"type": "string",
883+
"description": "Path of the property that need to be updated."
884+
},
885+
"value": {
886+
"type": "number",
887+
"format": "double",
888+
"description": "Value that need to be updated."
889+
}
890+
}
891+
}
892+
}
893+
},
793894
"twinid": {
794895
"name": "twinid",
795896
"in": "path",

certified-connectors/AzureDigitalTwins/apiProperties.json

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
}
5555
}
5656
},
57-
"iconBrandColor": "#f2f2f2",
57+
"iconBrandColor": "#fafafa",
5858
"scriptOperations": [
5959
"GetTwinById",
6060
"AddTwin",
@@ -77,7 +77,8 @@
7777
"parameters": {
7878
"x-ms-apimTemplate-operationName": [
7979
"UpdateTwinStringProp",
80-
"UpdateTwinBooleanProp"
80+
"UpdateTwinBooleanProp",
81+
"UpdateTwinDoubleProp"
8182
],
8283
"x-ms-apimTemplateParameter.httpMethod": "@Request.OriginalHTTPMethod",
8384
"x-ms-apimTemplateParameter.newPath": "/digitaltwins/{twinid}"
@@ -89,7 +90,8 @@
8990
"parameters": {
9091
"x-ms-apimTemplate-operationName": [
9192
"UpdateComponentStringProp",
92-
"UpdateComponentBooleanProp"
93+
"UpdateComponentBooleanProp",
94+
"UpdateComponentDoubleProp"
9395
],
9496
"x-ms-apimTemplateParameter.httpMethod": "@Request.OriginalHTTPMethod",
9597
"x-ms-apimTemplateParameter.newPath": "/digitaltwins/{twinid}/components/{componentPath}"
@@ -101,7 +103,8 @@
101103
"parameters": {
102104
"x-ms-apimTemplate-operationName": [
103105
"UpdateRelationshipStringProp",
104-
"UpdateRelationshipBooleanProp"
106+
"UpdateRelationshipBooleanProp",
107+
"UpdateRelationshipDoubleProp"
105108
],
106109
"x-ms-apimTemplateParameter.httpMethod": "@Request.OriginalHTTPMethod",
107110
"x-ms-apimTemplateParameter.newPath": "/digitaltwins/{twinid}/relationships/{relationshipId}"

0 commit comments

Comments
 (0)