This resource allows user to request project control to SENSR.
Detailed behavior of each command is described below.
GET§
-
/commands/project§
Return all available projects in
path
.
Ifpath
is not set, SENSR uses the default project path('~/seoulrobotics/projects').- Parameters
- path : Path to search SENSR projects.
- Return code
- 200 OK
- 400 BAD REQ
- Parameters
POST§
-
/commands/project§
Load a project.
- Parameters
- path : Parent path of the project located. (If not set, default path will be used.)
- name : Project name.
- Return code
- 200 OK
- 400 BAD REQ
- 500 INTERNAL SERVER ERR
- Parameters
PUT§
-
/commands/project§
Create a new project.
- Parameters
- path : Parent path of the project will be created. (If not set, default path will be used.)
- name : Project name.
- Return code
- 200 OK
- 400 BAD REQ
- 500 INTERNAL SERVER ERR
- Parameters
DELETE§
-
/commands/project§
Delete the project.
- Parameters
- path : Parent path of the project located. (If not set, default path will be used.)
- name : Project name.
- Return code
- 200 OK
- 400 BAD REQ
- Parameters