Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

When we look at the definition of the route /region/{dataset} we can find three parameters of three different types (path, body, query):

 Image Added

Image Removed

Following, a definition of the types:

...

Panel
curl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' -d '{ \
   "data": {}, \
   "lat_hg": 0, \
   "long_hg": 0, \
   "time_start": "2016-08-26T06:29:01.424Z" \
 }' 'http://localhost:8002/region/dataset1?algorithm_run_id=1'

Implementation

Prepare

In our example we are going to store some machine learning results into the dataset ml-algorithms.

...