Changes for page #[RPC\Response]

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

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

Summary

Details

Page properties
Content
... ... @@ -1,4 +1,4 @@
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 4  (% style="margin-right:auto; width:353px" %)
... ... @@ -82,10 +82,16 @@
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",
87 87   "contentType": "application/json",
88 88   "description": "",
87 + "transport": {
88 + "sync": {
89 + "scheme": "https",
90 + "host": "example.com",
91 + "path": "/api",
92 + "method": "POST"
93 + }
94 + },
89 89   "methods": {
90 90   "ExampleApi.getUserInfo": {
91 91   "name": "ExampleApi.getUserInfo",
... ... @@ -193,7 +193,7 @@
193 193   "methods": {
194 194   "ExampleApi.getUserInfo": {
195 195   "name": "ExampleApi.getUserInfo",
196 - ...
202 + ...,
197 197   "returns": "object",
198 198   "responseFormat": {
199 199   "id": "int",
... ... @@ -203,7 +203,7 @@
203 203   },
204 204   "ExampleApi.getUserInfoAsArray": {
205 205   "name": "ExampleApi.getUserInfoAsArray",
206 - ...
212 + ...,
207 207   "returns": "array",
208 208   "responseFormat": {
209 209   "id": "int",
... ... @@ -213,7 +213,7 @@
213 213   },
214 214   "ExampleApi.getUsersList": {
215 215   "name": "ExampleApi.getUsersList",
216 - ...
222 + ...,
217 217   "returns": "array",
218 218   "responseFormat": [
219 219   {
... ... @@ -306,7 +306,7 @@
306 306   "methods": {
307 307   "ExampleApi.getUserInfo": {
308 308   "name": "ExampleApi.getUserInfo",
309 - ...
315 + ...,
310 310   "returns": "object",
311 311   "responseFormat": {
312 312   "id": "int",
... ... @@ -316,7 +316,7 @@
316 316   },
317 317   "ExampleApi.getUserInfoAsArray": {
318 318   "name": "ExampleApi.getUserInfoAsArray",
319 -
325 + ...,
320 320   "returns": "array",
321 321   "responseFormat": {
322 322   "id": "int",
... ... @@ -326,7 +326,7 @@
326 326   },
327 327   "ExampleApi.getUsersList": {
328 328   "name": "ExampleApi.getUsersList",
329 -
335 + ...,
330 330   "returns": "array",
331 331   "responseFormat": [
332 332   {
... ... @@ -346,4 +346,3 @@
346 346  )))
347 347  )))
348 348  )))
349 -