Changes for page #[RPC\Response]

Last modified by Ashterix on 2024/05/19 21:13

From version 2.1
edited by Ashterix
on 2024/05/16 11:40
Change comment: There is no comment for this version
To version 4.2
edited by Ashterix
on 2024/05/19 21:13
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,32 +1,25 @@
1 -{{box cssClass="floatinginfobox" width="400px"}}
1 +{{box cssClass="floatinginfobox"}}
2 2  == (% style="display:block; margin-top:-30px; text-align:center" %)Summary(%%) ==
3 3  
4 -(% style="margin-right:auto; width:353px" %)
5 -|(% style="width:141px" %)**Classname**|(% colspan="2" rowspan="1" style="width:79px" %)(((
4 +|**Classname**|(% colspan="2" rowspan="1" %)(((
6 6  Response
7 7  )))
8 -|(% style="width:141px" %)**Namespace**|(% colspan="2" style="width:79px" %)(((
7 +|**Namespace**|(% colspan="2" %)(((
9 9  Ufo\RpcObject\RPC
10 10  )))
11 -|(% style="width:141px" %)(((
12 -**Target**
13 -)))|(% colspan="2" rowspan="1" style="width:79px" %)method
14 -|(% colspan="3" style="width:141px" %)**Arguments:**
15 -|(% colspan="1" rowspan="3" style="width:141px" %)(((
10 +|**Target**|(% colspan="2" rowspan="1" %)method
11 +|(% colspan="3" %)**Arguments:**
12 +|(% colspan="1" rowspan="3" %)(((
16 16  $responseFormat
17 -)))|(% style="width:79px" %)**type**|(% style="width:153px" %)array
18 -|(% style="width:79px" %)**optional**|(% style="width:153px" %)true
19 -|(% style="width:79px" %)**default**|(% style="width:153px" %)[]
20 -|(% colspan="1" rowspan="3" style="width:141px" %)(((
21 -$dto
22 -)))|(% style="width:79px" %)**type**|(% style="width:153px" %)string
23 -|(% style="width:79px" %)**optional**|(% style="width:153px" %)true
24 -|(% style="width:79px" %)**default**|(% style="width:153px" %)''
25 -|(% colspan="1" rowspan="3" style="width:141px" %)(((
26 -$collection
27 -)))|(% style="width:79px" %)**type**|(% style="width:153px" %)bool
28 -|(% style="width:79px" %)**optional**|(% style="width:153px" %)true
29 -|(% style="width:79px" %)**default**|(% style="width:153px" %)false
14 +)))|**type**|array
15 +|**optional**|true
16 +|**default**|[]
17 +|(% colspan="1" rowspan="3" %)$dto|**type**|string
18 +|**optional**|true
19 +|**default**|''
20 +|(% colspan="1" rowspan="3" %)$collection|**type**|bool
21 +|**optional**|true
22 +|**default**|false
30 30  {{/box}}
31 31  
32 32  = Enhanced Response Format =
... ... @@ -199,7 +199,7 @@
199 199   "methods": {
200 200   "ExampleApi.getUserInfo": {
201 201   "name": "ExampleApi.getUserInfo",
202 - ...
195 + ...,
203 203   "returns": "object",
204 204   "responseFormat": {
205 205   "id": "int",
... ... @@ -209,7 +209,7 @@
209 209   },
210 210   "ExampleApi.getUserInfoAsArray": {
211 211   "name": "ExampleApi.getUserInfoAsArray",
212 - ...
205 + ...,
213 213   "returns": "array",
214 214   "responseFormat": {
215 215   "id": "int",
... ... @@ -219,7 +219,7 @@
219 219   },
220 220   "ExampleApi.getUsersList": {
221 221   "name": "ExampleApi.getUsersList",
222 - ...
215 + ...,
223 223   "returns": "array",
224 224   "responseFormat": [
225 225   {
... ... @@ -312,7 +312,7 @@
312 312   "methods": {
313 313   "ExampleApi.getUserInfo": {
314 314   "name": "ExampleApi.getUserInfo",
315 - ...
308 + ...,
316 316   "returns": "object",
317 317   "responseFormat": {
318 318   "id": "int",
... ... @@ -322,7 +322,7 @@
322 322   },
323 323   "ExampleApi.getUserInfoAsArray": {
324 324   "name": "ExampleApi.getUserInfoAsArray",
325 -
318 + ...,
326 326   "returns": "array",
327 327   "responseFormat": {
328 328   "id": "int",
... ... @@ -332,7 +332,7 @@
332 332   },
333 333   "ExampleApi.getUsersList": {
334 334   "name": "ExampleApi.getUsersList",
335 -
328 + ...,
336 336   "returns": "array",
337 337   "responseFormat": [
338 338   {