EmoTouch R Webservice Dokumentation: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
(Die Seite wurde neu angelegt: „= Additional documentation = Additional documentation is served by swagger when running R web service: <code> http://127.0.0.1:8000/__docs__/ </code> = Resu…“) |
|||
Zeile 11: | Zeile 11: | ||
list( | list( | ||
− | error = <span style="color: purple;"> NULL | + | error = <span style="color: purple;"> NULL </span> , |
− | results = <span style="color: green;"> 3L | + | results = <span style="color: green;"> 3L </span> , |
− | type = <span style="color: red;"> "integer" | + | type = <span style="color: red;"> "integer" </span> , |
length = <span style="color: green;"> 1L </span> | length = <span style="color: green;"> 1L </span> | ||
) | ) |
Version vom 19. November 2024, 20:15 Uhr
Additional documentation
Additional documentation is served by swagger when running R web service:
http://127.0.0.1:8000/__docs__/
Results structure
Results from R web service are always wrapped in a list to provide error handling and extra metadata about the returned object.
on R side
In case of successfully computed request (of a function returning scalar integer value 3):
list( error = NULL , results = 3L , type = "integer" , length = 1L )