@@ -97,23 +97,23 @@ paths:
9797 tree :
9898 type : object
9999
100- /get_component_property :
100+ /instance/property/get :
101101 post :
102- summary : Get Component Property
103- operationId : get_component_property
102+ summary : Get Instance Property
103+ operationId : get_instance_property
104104 x-pass-as-object : true
105105 description : |
106- Retrieves a property from a component by its ID.
106+ Retrieves a property from a specific instance by its ID.
107107
108108 **When to Use:**
109- To inspect the current state of a component (e.g., `width`, `store`, `value` ).
110- tags : [Component ]
109+ To inspect the current state of any Neo instance (e.g., Component, Store, Controller, Manager ).
110+ tags : [Instance ]
111111 requestBody :
112112 required : true
113113 content :
114114 application/json :
115115 schema :
116- $ref : ' #/components/schemas/GetComponentPropertyRequest '
116+ $ref : ' #/components/schemas/GetInstancePropertyRequest '
117117 responses :
118118 ' 200 ' :
119119 description : The value of the property
@@ -892,23 +892,23 @@ paths:
892892 chrome :
893893 type : object
894894
895- /component /property/set :
895+ /instance /property/set :
896896 post :
897- summary : Set Component Property
898- operationId : set_component_property
897+ summary : Set Instance Property
898+ operationId : set_instance_property
899899 x-pass-as-object : true
900900 description : |
901- Sets a property on a component by its ID.
901+ Sets a property on a specific instance by its ID.
902902
903903 **When to Use:**
904- To modify the runtime state of a component (e.g., change text, toggle visibility ).
905- tags : [Component ]
904+ To modify the runtime state of an instance (e.g., change component text, update store filter ).
905+ tags : [Instance ]
906906 requestBody :
907907 required : true
908908 content :
909909 application/json :
910910 schema :
911- $ref : ' #/components/schemas/SetComponentPropertyRequest '
911+ $ref : ' #/components/schemas/SetInstancePropertyRequest '
912912 responses :
913913 ' 200 ' :
914914 description : Property set successfully
@@ -1208,15 +1208,15 @@ components:
12081208 uptime :
12091209 type : number
12101210
1211- GetComponentPropertyRequest :
1211+ GetInstancePropertyRequest :
12121212 type : object
12131213 required :
12141214 - id
12151215 - property
12161216 properties :
12171217 id :
12181218 type : string
1219- description : The component ID
1219+ description : The instance ID
12201220 property :
12211221 type : string
12221222 description : The property name to retrieve
@@ -1349,7 +1349,7 @@ components:
13491349 type : string
13501350 description : The target App Worker Session ID
13511351
1352- SetComponentPropertyRequest :
1352+ SetInstancePropertyRequest :
13531353 type : object
13541354 required :
13551355 - id
@@ -1358,7 +1358,7 @@ components:
13581358 properties :
13591359 id :
13601360 type : string
1361- description : The component ID
1361+ description : The instance ID
13621362 property :
13631363 type : string
13641364 description : The property name to set
0 commit comments