Зміни в документі #[RPC\Response]

Остання зміна 2024/05/19 21:13 автором Ashterix

Від версії 4.1
редаговано Ashterix
дата 2024/05/16 11:41
Змінити коментар: Немає коментарів для цієї версії
До версії 6.1
редаговано Ashterix
дата 2024/05/19 21:13
Змінити коментар: Немає коментарів для цієї версії

Підсумок

Подробиці

Властивості сторінки
Вміст
... ... @@ -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  = Розширений формат відповіді =
... ... @@ -200,7 +200,7 @@
200 200   "methods": {
201 201   "ExampleApi.getUserInfo": {
202 202   "name": "ExampleApi.getUserInfo",
203 - ...
196 + ...,
204 204   "returns": "object",
205 205   "responseFormat": {
206 206   "id": "int",
... ... @@ -210,7 +210,7 @@
210 210   },
211 211   "ExampleApi.getUserInfoAsArray": {
212 212   "name": "ExampleApi.getUserInfoAsArray",
213 - ...
206 + ...,
214 214   "returns": "array",
215 215   "responseFormat": {
216 216   "id": "int",
... ... @@ -220,7 +220,7 @@
220 220   },
221 221   "ExampleApi.getUsersList": {
222 222   "name": "ExampleApi.getUsersList",
223 - ...
216 + ...,
224 224   "returns": "array",
225 225   "responseFormat": [
226 226   {
... ... @@ -313,7 +313,7 @@
313 313   "methods": {
314 314   "ExampleApi.getUserInfo": {
315 315   "name": "ExampleApi.getUserInfo",
316 - ...
309 + ...,
317 317   "returns": "object",
318 318   "responseFormat": {
319 319   "id": "int",
... ... @@ -323,7 +323,7 @@
323 323   },
324 324   "ExampleApi.getUserInfoAsArray": {
325 325   "name": "ExampleApi.getUserInfoAsArray",
326 -
319 + ...,
327 327   "returns": "array",
328 328   "responseFormat": {
329 329   "id": "int",
... ... @@ -333,7 +333,7 @@
333 333   },
334 334   "ExampleApi.getUsersList": {
335 335   "name": "ExampleApi.getUsersList",
336 -
329 + ...,
337 337   "returns": "array",
338 338   "responseFormat": [
339 339   {
... ... @@ -353,6 +353,3 @@
353 353  )))
354 354  )))
355 355  )))
356 -
357 -
358 -