EmoTouch R Webservice Dokumentation: Unterschied zwischen den Versionen

Aus emoTouch
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…“)
(kein Unterschied)

Version vom 19. November 2024, 20:14 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  
)