@@ -97,13 +97,13 @@ paths:
9797 tree :
9898 type : object
9999
100- /instance/property /get :
100+ /instance/properties /get :
101101 post :
102- summary : Get Instance Property
103- operationId : get_instance_property
102+ summary : Get Instance Properties
103+ operationId : get_instance_properties
104104 x-pass-as-object : true
105105 description : |
106- Retrieves a property from a specific instance by its ID.
106+ Retrieves properties from a specific instance by its ID.
107107
108108 **When to Use:**
109109 To inspect the current state of any Neo instance (e.g., Component, Store, Controller, Manager).
@@ -113,14 +113,14 @@ paths:
113113 content :
114114 application/json :
115115 schema :
116- $ref : ' #/components/schemas/GetInstancePropertyRequest '
116+ $ref : ' #/components/schemas/GetInstancePropertiesRequest '
117117 responses :
118118 ' 200 ' :
119- description : The value of the property
119+ description : The values of the properties
120120 content :
121121 application/json :
122122 schema :
123- description : The property value
123+ description : The property values
124124 ' 400 ' :
125125 description : Invalid request body
126126 content :
@@ -892,13 +892,13 @@ paths:
892892 chrome :
893893 type : object
894894
895- /instance/property /set :
895+ /instance/properties /set :
896896 post :
897- summary : Set Instance Property
898- operationId : set_instance_property
897+ summary : Set Instance Properties
898+ operationId : set_instance_properties
899899 x-pass-as-object : true
900900 description : |
901- Sets a property on a specific instance by its ID.
901+ Sets properties on a specific instance by its ID.
902902
903903 **When to Use:**
904904 To modify the runtime state of an instance (e.g., change component text, update store filter).
@@ -908,10 +908,10 @@ paths:
908908 content :
909909 application/json :
910910 schema :
911- $ref : ' #/components/schemas/SetInstancePropertyRequest '
911+ $ref : ' #/components/schemas/SetInstancePropertiesRequest '
912912 responses :
913913 ' 200 ' :
914- description : Property set successfully
914+ description : Properties set successfully
915915 ' 400 ' :
916916 description : Invalid request body
917917 content :
@@ -1208,18 +1208,20 @@ components:
12081208 uptime :
12091209 type : number
12101210
1211- GetInstancePropertyRequest :
1211+ GetInstancePropertiesRequest :
12121212 type : object
12131213 required :
12141214 - id
1215- - property
1215+ - properties
12161216 properties :
12171217 id :
12181218 type : string
12191219 description : The instance ID
1220- property :
1221- type : string
1222- description : The property name to retrieve
1220+ properties :
1221+ type : array
1222+ items :
1223+ type : string
1224+ description : List of property names to retrieve
12231225 sessionId :
12241226 type : string
12251227 description : The target App Worker Session ID
@@ -1349,21 +1351,18 @@ components:
13491351 type : string
13501352 description : The target App Worker Session ID
13511353
1352- SetInstancePropertyRequest :
1354+ SetInstancePropertiesRequest :
13531355 type : object
13541356 required :
13551357 - id
1356- - property
1357- - value
1358+ - properties
13581359 properties :
13591360 id :
13601361 type : string
13611362 description : The instance ID
1362- property :
1363- type : string
1364- description : The property name to set
1365- value :
1366- description : The value to set
1363+ properties :
1364+ type : object
1365+ description : Key-value pairs of properties to set
13671366 sessionId :
13681367 type : string
13691368 description : The target App Worker Session ID
0 commit comments