Skip to main content

Reference / Quick Guide

The following is a quick reference of the most important commands for working with NeuroomNet CMS. See especially the Data Interface chapter and the Tutorial for details.

Schema Changes

Add Schema

curl -X POST -H "Content-Type: application/json" --user "myuser":"mypassword" -d @Request.json https://myurl/schema/mynamespace/myapi

Delete Schema

curl -X DELETE --user "myuser":"mypassword" https://myurl/schema/mynamespace/myapi

Data Changes

Import Data to an API

curl -X POST -H "Content-Type: application/json" --user "myuser":"mypassword" -d @Request.json https://myurl/data/mynamespace/myapi

Read a Record from an API

curl -X GET --user "myuser":"mypassword" https://myurl/data/mynamespace/myapi/myid

Delete a Record from an API

curl -X DELETE --user "myuser":"mypassword" https://myurl/data/mynamespace/myapi/myid