This resource demonstrates the interaction with project configurations in SENSR.
The project configuration has configs related to a project setting (master node ip address, input mode, etc.
GET§
-
/settings/project/list§
Get the list of supported config-ids and config data types in /settings/project resource
- Parameters
- Return code
- 200 OK
- List of the types that SENSR API supports natively
Example§
$ curl -X GET 'localhost:9080/settings/project/list' ** Respond ** { "version": "String", "master_node_ip": "String", "input_mode": "Int", "algo_node": [{ "uid": "String", "ip": "String", "name": "String", "bin": "String", "rosbag_path": "String", "username": "String", "preset": "String" }] }
-
/settings/project§
Get an actual value of the desired config
- Parameters
- config-id : Id of the desired config
- Return code
- 200 OK
- 400 BAD REQ
Example§
$ curl -X GET 'localhost:9080/settings/project?config-id=version' ** Respond ** { "2.1.1" }
- Parameters