Method | HTTP request | Description |
---|---|---|
all | GET /sensor_spec | Get all SensorSpecs registered. |
create | POST /sensor_spec | Create a new SensorSpec. |
delete | DELETE /sensor_spec/{sensor_spec_name} | Delete an SensorSpec. |
update | PUT /sensor_spec/{sensor_spec_name} | Update an SensorSpec. |
view | GET /sensor_spec/{sensor_spec_name} | Get a SensorSpec. |
[object] all()
Get all SensorSpecs registered.
Get all SensorSpecs registered by any Researcher.
- Api Key Authentication (Authorization):
import LAMP
from pprint import pprint
# Get all SensorSpecs registered.
result = LAMP.SensorSpec.all()
pprint(result)
Name | Type | Description | Notes |
---|---|---|---|
transform | str | [optional] |
[object]
- Content-Type: Not defined
- Accept:
application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 Success | - |
400 | 400 Bad Request | - |
403 | 403 Authorization Failed | - |
404 | 404 Not Found | - |
0 | 500 Internal Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
str create(sensor_spec)
Create a new SensorSpec.
Create a new SensorSpec.
- Api Key Authentication (Authorization):
import LAMP
from pprint import pprint
sensor_spec = LAMP.SensorSpec() # SensorSpec
# Create a new SensorSpec.
result = LAMP.SensorSpec.create(sensor_spec)
pprint(result)
Name | Type | Description | Notes |
---|---|---|---|
sensor_spec | SensorSpec |
str
- Content-Type:
application/json
- Accept:
application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 Success | - |
400 | 400 Bad Request | - |
403 | 403 Authorization Failed | - |
404 | 404 Not Found | - |
0 | 500 Internal Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
str delete(sensor_spec_name)
Delete an SensorSpec.
Delete an SensorSpec.
- Api Key Authentication (Authorization):
import LAMP
from pprint import pprint
sensor_spec_name = 'sensor_spec_name_example' # str
# Delete an SensorSpec.
result = LAMP.SensorSpec.delete(sensor_spec_name)
pprint(result)
Name | Type | Description | Notes |
---|---|---|---|
sensor_spec_name | str |
str
- Content-Type: Not defined
- Accept:
application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 Success | - |
400 | 400 Bad Request | - |
403 | 403 Authorization Failed | - |
404 | 404 Not Found | - |
0 | 500 Internal Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
str update(sensor_spec_name, sensor_spec)
Update an SensorSpec.
Update an SensorSpec.
- Api Key Authentication (Authorization):
import LAMP
from pprint import pprint
sensor_spec_name = 'sensor_spec_name_example' # str
sensor_spec = LAMP.SensorSpec() # SensorSpec
# Update an SensorSpec.
result = LAMP.SensorSpec.update(sensor_spec_name, sensor_spec)
pprint(result)
Name | Type | Description | Notes |
---|---|---|---|
sensor_spec_name | str | ||
sensor_spec | SensorSpec |
str
- Content-Type:
application/json
- Accept:
application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 Success | - |
400 | 400 Bad Request | - |
403 | 403 Authorization Failed | - |
404 | 404 Not Found | - |
0 | 500 Internal Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[object] view(sensor_spec_name)
Get a SensorSpec.
Get a SensorSpec.
- Api Key Authentication (Authorization):
import LAMP
from pprint import pprint
sensor_spec_name = 'sensor_spec_name_example' # str
# Get a SensorSpec.
result = LAMP.SensorSpec.view(sensor_spec_name)
pprint(result)
Name | Type | Description | Notes |
---|---|---|---|
sensor_spec_name | str | ||
transform | str | [optional] |
[object]
- Content-Type: Not defined
- Accept:
application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 Success | - |
400 | 400 Bad Request | - |
403 | 403 Authorization Failed | - |
404 | 404 Not Found | - |
0 | 500 Internal Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]