Changes for page #[RPC\Response]

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

From version 4.1
edited by Ashterix
on 2024/05/19 21:07
Change comment: There is no comment for this version
To version 1.1
edited by Ashterix
on 2024/05/10 14:41
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,4 +1,4 @@
1 -{{box cssClass="floatinginfobox"}}
1 +{{box cssClass="floatinginfobox" width="400px"}}
2 2  == (% style="display:block; margin-top:-30px; text-align:center" %)Summary(%%) ==
3 3  
4 4  (% style="margin-right:auto; width:353px" %)
... ... @@ -82,16 +82,10 @@
82 82  {{code language="json" layout="LINENUMBERS"}}
83 83  {
84 84   "envelope": "JSON-RPC-2.0/UFO-RPC-6",
85 + "transport": "POST",
86 + "target": "/api",
85 85   "contentType": "application/json",
86 86   "description": "",
87 - "transport": {
88 - "sync": {
89 - "scheme": "https",
90 - "host": "example.com",
91 - "path": "/api",
92 - "method": "POST"
93 - }
94 - },
95 95   "methods": {
96 96   "ExampleApi.getUserInfo": {
97 97   "name": "ExampleApi.getUserInfo",
... ... @@ -199,7 +199,7 @@
199 199   "methods": {
200 200   "ExampleApi.getUserInfo": {
201 201   "name": "ExampleApi.getUserInfo",
202 - ...,
196 + ...
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 - ...,
206 + ...
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 - ...,
216 + ...
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 - ...,
309 + ...
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 - ...,
319 +
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 - ...,
329 +
336 336   "returns": "array",
337 337   "responseFormat": [
338 338   {
... ... @@ -352,3 +352,4 @@
352 352  )))
353 353  )))
354 354  )))
349 +