The CUWB Manager API is a REST API that is automatically ran as a systemd unit following the installation of the cuwb-network package. This API configures all of the resource units required to facilitate the creation, configuration, and deletion of CUWB Networks within the CUWB RTLS platform. This is the vessel through which the CUWB Manager’s web-based frontend requests adjustments through HTTP to the CUWB Network’s .cuwb saved state files. Users have the option of creating their own control mechanisms utilizing this API by issuing the following requests over any of the host machine’s network interfaces on port 5000. The expected response formats are also provided for success, failure, and error scenarios.
Version : 1.1
This information can also be queried through the API itself via GET /api.json
application/json
text/html
GET /cuwbnets/{cuwb_name}/cdp-streams
Type | Name | Description | Schema |
---|---|---|---|
Path | cuwb_name required |
The name of the database to use. | string |
HTTP Code | Description | Schema |
---|---|---|
200 | CDP Stream List | Response 200 |
Name | Schema |
---|---|
cdp-streams optional |
< object > array |
GET /cuwbnets/{cuwb_name}/cdp-streams/{id}
Type | Name | Description | Schema |
---|---|---|---|
Path | cuwb_name required |
The name of the database to use. | string |
Path | id required |
The id of the CDP stream to use. | integer |
HTTP Code | Description | Schema |
---|---|---|
200 | CDP Stream | Response 200 |
404 | Not found. | Response 404 |
Name | Schema |
---|---|
cdp-stream optional |
string |
Name | Schema |
---|---|
message optional |
string |
PATCH /cuwbnets/{cuwb_name}/cdp-streams/{id}
Type | Name | Description | Schema |
---|---|---|---|
Path | cuwb_name required |
The name of the database to use. | string |
Path | id required |
The id of the CDP stream to use. | integer |
Body | cdp_stream_body required |
The request body | cdp_stream_body |
Name | Schema |
---|---|
destination_ip optional |
string |
destination_port optional |
integer |
interface optional |
string |
interface_port optional |
integer |
time_to_live optional |
integer |
HTTP Code | Description | Schema |
---|---|---|
200 | CDP Stream | Response 200 |
400 | Invalid request. | Response 400 |
404 | Not found. | Response 404 |
409 | Conflict. | Response 409 |
500 | Internal error. | Response 500 |
Name | Schema |
---|---|
cdp-stream optional |
string |
Name | Schema |
---|---|
message optional |
string |
Name | Schema |
---|---|
message optional |
string |
Name | Schema |
---|---|
message optional |
string |
Name | Schema |
---|---|
message optional |
string |
POST /cuwbnets
Type | Name | Description | Schema |
---|---|---|---|
Body | cuwb_network_body required |
The request body | cuwb_network_body |
Name | Schema |
---|---|
instance optional |
string |
name optional |
string |
HTTP Code | Description | Schema |
---|---|---|
201 | CUWB Network | Response 201 |
400 | Invalid request. | Response 400 |
409 | Conflict. | Response 409 |
Name | Schema |
---|---|
cuwbnets optional |
string |
Name | Schema |
---|---|
message optional |
string |
Name | Schema |
---|---|
message optional |
string |
GET /cuwbnets
HTTP Code | Description | Schema |
---|---|---|
200 | CUWB Network List | Response 200 |
Name | Schema |
---|---|
cuwbnets optional |
< object > array |
POST /cuwbnets/upload
Type | Name | Description | Schema |
---|---|---|---|
FormData | cuwb_file optional |
A CUWB network file to upload | file |
HTTP Code | Description | Schema |
---|---|---|
201 | CUWB Network | Response 201 |
400 | Invalid request. | Response 400 |
409 | CUWB network already exists. | Response 409 |
Name | Schema |
---|---|
cuwbnets optional |
string |
Name | Schema |
---|---|
message optional |
string |
Name | Schema |
---|---|
message optional |
string |
multipart/form-data
POST /cuwbnets/{cuwb_name}
Type | Name | Description | Schema |
---|---|---|---|
Path | cuwb_name required |
The name of a CUWB network | string |
Body | action_body required |
The request body | action_body |
Name | Schema |
---|---|
action optional |
string |
name optional |
string |
HTTP Code | Description | Schema |
---|---|---|
200 | Action succeeded. | Response 200 |
400 | Invalid request. | Response 400 |
404 | Not found. | Response 404 |
Name | Schema |
---|---|
status optional |
string |
Name | Schema |
---|---|
message optional |
string |
Name | Schema |
---|---|
message optional |
string |
GET /cuwbnets/{cuwb_name}
Type | Name | Description | Schema |
---|---|---|---|
Path | cuwb_name required |
The name of a CUWB network | string |
HTTP Code | Description | Schema |
---|---|---|
200 | CUWB Network | Response 200 |
404 | Not found. | Response 404 |
Name | Schema |
---|---|
cuwbnets optional |
string |
Name | Schema |
---|---|
message optional |
string |
DELETE /cuwbnets/{cuwb_name}
Type | Name | Description | Schema |
---|---|---|---|
Path | cuwb_name required |
The name of a CUWB network | string |
HTTP Code | Description | Schema |
---|---|---|
204 | Item deleted. | Response 204 |
Name | Schema |
---|---|
message optional |
string |
PATCH /cuwbnets/{cuwb_name}
Type | Name | Description | Schema |
---|---|---|---|
Path | cuwb_name required |
The name of a CUWB network | string |
Body | cuwb_network_body required |
The request body | cuwb_network_body |
Name | Schema |
---|---|
instance optional |
string |
name optional |
string |
HTTP Code | Description | Schema |
---|---|---|
200 | CUWB Network | Response 200 |
400 | Invalid request. | Response 400 |
404 | Not found. | Response 404 |
Name | Schema |
---|---|
cuwbnets optional |
string |
Name | Schema |
---|---|
message optional |
string |
Name | Schema |
---|---|
message optional |
string |
GET /cuwbnets/{cuwb_name}/download
Type | Name | Description | Schema |
---|---|---|---|
Path | cuwb_name required |
The name of a CUWB network | string |
HTTP Code | Description | Schema |
---|---|---|
200 | CUWB Network File | Response 200 |
404 | Not found. | Response 404 |
Name | Schema |
---|---|
file optional |
string |
Name | Schema |
---|---|
message optional |
string |
POST /calculate_maximum_tags
Type | Name | Description | Schema |
---|---|---|---|
Body | calculate_maximum_tags_parameterized_body required |
The request body | calculate_maximum_tags_parameterized_body |
calculate_maximum_tags_parameterized_body
Name | Schema |
---|---|
device_configuration optional |
string |
maximum_tag_period optional |
integer |
number_of_seeders optional |
integer |
seeder_period optional |
integer |
tag_period optional |
integer |
HTTP Code | Description | Schema |
---|---|---|
200 | Calculate maximum tags | Response 200 |
400 | Invalid request. | Response 400 |
404 | Not found. | Response 404 |
409 | Conflict. | Response 409 |
500 | Internal error. | Response 500 |
Name | Schema |
---|---|
maximum_tags_calculation optional |
string |
Name | Schema |
---|---|
message optional |
string |
Name | Schema |
---|---|
message optional |
string |
Name | Schema |
---|---|
message optional |
string |
Name | Schema |
---|---|
maximum_tags_calculation optional |
string |
POST /cuwbnets/{cuwb_name}/calculate_maximum_tags
Type | Name | Description | Schema |
---|---|---|---|
Path | cuwb_name required |
The name of the database to use. | string |
Body | calculate_maximum_tags_body required |
The request body | calculate_maximum_tags_body |
Name | Schema |
---|---|
device_configuration_id optional |
integer |
role_id optional |
integer |
HTTP Code | Description | Schema |
---|---|---|
200 | Calculate maximum tags | Response 200 |
400 | Invalid request. | Response 400 |
404 | Not found. | Response 404 |
409 | Conflict. | Response 409 |
500 | Internal error. | Response 500 |
Name | Schema |
---|---|
maximum_tags_calculation optional |
string |
Name | Schema |
---|---|
message optional |
string |
Name | Schema |
---|---|
message optional |
string |
Name | Schema |
---|---|
message optional |
string |
Name | Schema |
---|---|
maximum_tags_calculation optional |
string |
GET /default-settings
HTTP Code | Description | Schema |
---|---|---|
200 | Setting List | Response 200 |
Name | Schema |
---|---|
default_settings optional |
string |
GET /default-settings/{key}
Type | Name | Description | Schema |
---|---|---|---|
Path | key required |
The key of the setting to use. | string |
HTTP Code | Description | Schema |
---|---|---|
200 | Setting | Response 200 |
404 | Not found. | Response 404 |
Name | Schema |
---|---|
default_setting optional |
string |
Name | Schema |
---|---|
message optional |
string |
POST /cuwbnets/{cuwb_name}/devices/{device_key}/action
Type | Name | Description | Schema |
---|---|---|---|
Path | cuwb_name required |
The name of the database to use. | string |
Path | device_key required |
Either a Ciholas serial number or an integer ID. | string |
Body | device_command_body required |
The request body | device_command_body |
Name | Schema |
---|---|
action optional |
string |
color optional |
string |
mode optional |
string |
HTTP Code | Description | Schema |
---|---|---|
200 | Device Command | Response 200 |
400 | Invalid request. | Response 400 |
404 | Not found. | Response 404 |
Name | Schema |
---|---|
status optional |
string |
Name | Schema |
---|---|
message optional |
string |
Name | Schema |
---|---|
message optional |
string |
POST /cuwbnets/{cuwb_name}/device_configurations
Type | Name | Description | Schema |
---|---|---|---|
Path | cuwb_name required |
The name of the cuwbnet to use. | string |
Body | device_configuration_body required |
The request body | device_configuration_body |
Name | Schema |
---|---|
accelerometer_period optional |
integer |
gyroscope_period optional |
integer |
led_brightness optional |
string |
magnetometer_period optional |
integer |
name optional |
string |
position_period optional |
integer |
pressure_period optional |
integer |
quaternion_period optional |
integer |
temperature_period optional |
integer |
HTTP Code | Description | Schema |
---|---|---|
201 | Device Configuration | Response 201 |
400 | Invalid request. | Response 400 |
409 | Conflict. | Response 409 |
500 | Internal error. | Response 500 |
Name | Schema |
---|---|
device_configuration optional |
string |
Name | Schema |
---|---|
message optional |
string |
Name | Schema |
---|---|
message optional |
string |
Name | Schema |
---|---|
message optional |
string |
GET /cuwbnets/{cuwb_name}/device_configurations
Type | Name | Description | Schema |
---|---|---|---|
Path | cuwb_name required |
The name of the cuwbnet to use. | string |
HTTP Code | Description | Schema |
---|---|---|
200 | Device Configuration List | Response 200 |
Name | Schema |
---|---|
device_configurations optional |
string |
GET /cuwbnets/{cuwb_name}/device_configurations/{device_configuration_id}
Type | Name | Description | Schema |
---|---|---|---|
Path | cuwb_name required |
The name of the cuwbnet to use. | string |
Path | device_configuration_id required |
The ID of the device configuration | integer |
HTTP Code | Description | Schema |
---|---|---|
200 | Device Configuration | Response 200 |
404 | Not found. | Response 404 |
Name | Schema |
---|---|
device_configuration optional |
string |
Name | Schema |
---|---|
message optional |
string |
DELETE /cuwbnets/{cuwb_name}/device_configurations/{device_configuration_id}
Type | Name | Description | Schema |
---|---|---|---|
Path | cuwb_name required |
The name of the cuwbnet to use. | string |
Path | device_configuration_id required |
The ID of the device configuration | integer |
HTTP Code | Description | Schema |
---|---|---|
204 | Item deleted. | Response 204 |
409 | Conflict. | Response 409 |
Name | Schema |
---|---|
message optional |
string |
Name | Schema |
---|---|
message optional |
string |
PATCH /cuwbnets/{cuwb_name}/device_configurations/{device_configuration_id}
Type | Name | Description | Schema |
---|---|---|---|
Path | cuwb_name required |
The name of the cuwbnet to use. | string |
Path | device_configuration_id required |
The ID of the device configuration | integer |
Body | device_configuration_body required |
The request body | device_configuration_body |
Name | Schema |
---|---|
accelerometer_period optional |
integer |
gyroscope_period optional |
integer |
led_brightness optional |
string |
magnetometer_period optional |
integer |
name optional |
string |
position_period optional |
integer |
pressure_period optional |
integer |
quaternion_period optional |
integer |
temperature_period optional |
integer |
HTTP Code | Description | Schema |
---|---|---|
200 | Device Configuration | Response 200 |
400 | Invalid request. | Response 400 |
404 | Not found. | Response 404 |
409 | Conflict. | Response 409 |
500 | Internal error. | Response 500 |
Name | Schema |
---|---|
device_configuration optional |
string |
Name | Schema |
---|---|
message optional |
string |
Name | Schema |
---|---|
message optional |
string |
Name | Schema |
---|---|
message optional |
string |
Name | Schema |
---|---|
message optional |
string |
POST /cuwbnets/{cuwb_name}/device-settings
Type | Name | Description | Schema |
---|---|---|---|
Path | cuwb_name required |
The name of the database to use. | string |
Body | device_settings_post_body required |
The request body | device_settings_post_body |
Name | Schema |
---|---|
device_id optional |
integer |
HTTP Code | Description | Schema |
---|---|---|
200 | Device Setting | Response 200 |
400 | Invalid request. | Response 400 |
409 | Conflict. | Response 409 |
500 | Internal error. | Response 500 |
Name | Schema |
---|---|
device_setting optional |
string |
Name | Schema |
---|---|
message optional |
string |
Name | Schema |
---|---|
message optional |
string |
Name | Schema |
---|---|
message optional |
string |
GET /cuwbnets/{cuwb_name}/device-settings
Type | Name | Description | Schema |
---|---|---|---|
Path | cuwb_name required |
The name of the database to use. | string |
HTTP Code | Description | Schema |
---|---|---|
200 | Device Setting List | Response 200 |
Name | Schema |
---|---|
device_settings optional |
string |
GET /cuwbnets/{cuwb_name}/devices/{device_id}/settings
Type | Name | Description | Schema |
---|---|---|---|
Path | cuwb_name required |
The name of the database to use. | string |
Path | device_id required |
The Device ID the setting is used for. | string |
HTTP Code | Description | Schema |
---|---|---|
200 | Device Settings List | Response 200 |
404 | Not found. | Response 404 |
Name | Schema |
---|---|
device_settings optional |
string |
Name | Schema |
---|---|
message optional |
string |
GET /cuwbnets/{cuwb_name}/devices/{device_id}/settings/{key}
Type | Name | Description | Schema |
---|---|---|---|
Path | cuwb_name required |
The name of the database to use. | string |
Path | device_id required |
The Device ID the setting is used for. | string |
Path | key required |
The key of the setting to use. | string |
HTTP Code | Description | Schema |
---|---|---|
200 | Device Setting | Response 200 |
404 | Not found. | Response 404 |
Name | Schema |
---|---|
device_setting optional |
string |
Name | Schema |
---|---|
message optional |
string |
PUT /cuwbnets/{cuwb_name}/devices/{device_id}/settings/{key}
Type | Name | Description | Schema |
---|---|---|---|
Path | cuwb_name required |
The name of the database to use. | string |
Path | device_id required |
The Device ID the setting is used for. | string |
Path | key required |
The key of the setting to use. | string |
Body | device_settings_put_body required |
The request body | object |
HTTP Code | Description | Schema |
---|---|---|
200 | Device Setting | Response 200 |
500 | Internal error. | Response 500 |
Name | Schema |
---|---|
device_setting optional |
string |
Name | Schema |
---|---|
message optional |
string |
DELETE /cuwbnets/{cuwb_name}/devices/{device_id}/settings/{key}
Type | Name | Description | Schema |
---|---|---|---|
Path | cuwb_name required |
The name of the database to use. | string |
Path | device_id required |
The Device ID the setting is used for. | string |
Path | key required |
The key of the setting to use. | string |
HTTP Code | Description | Schema |
---|---|---|
204 | Item deleted. | Response 204 |
Name | Schema |
---|---|
message optional |
string |
PATCH /cuwbnets/{cuwb_name}/devices/{device_id}/settings/{key}
Type | Name | Description | Schema |
---|---|---|---|
Path | cuwb_name required |
The name of the database to use. | string |
Path | device_id required |
The Device ID the setting is used for. | string |
Path | key required |
The key of the setting to use. | string |
Body | device_settings_put_body required |
The request body | object |
HTTP Code | Description | Schema |
---|---|---|
200 | Device Setting | Response 200 |
404 | Not found. | Response 404 |
500 | Internal error. | Response 500 |
Name | Schema |
---|---|
device_setting optional |
string |
Name | Schema |
---|---|
message optional |
string |
Name | Schema |
---|---|
message optional |
string |
POST /cuwbnets/{cuwb_name}/devices
Type | Name | Description | Schema |
---|---|---|---|
Path | cuwb_name required |
The name of the database to use. | string |
Body | device_body required |
The request body | device_body |
Name | Schema |
---|---|
disabled optional |
boolean |
interfaces optional |
string |
serial_number optional |
string |
HTTP Code | Description | Schema |
---|---|---|
201 | Device | Response 201 |
400 | Invalid request. | Response 400 |
409 | Conflict. | Response 409 |
500 | Internal errror. | Response 500 |
Name | Schema |
---|---|
device optional |
string |
Name | Schema |
---|---|
message optional |
string |
Name | Schema |
---|---|
message optional |
string |
Name | Schema |
---|---|
message optional |
string |
GET /cuwbnets/{cuwb_name}/devices
Type | Name | Description | Schema |
---|---|---|---|
Path | cuwb_name required |
The name of the database to use. | string |
HTTP Code | Description | Schema |
---|---|---|
200 | Device List | Response 200 |
Name | Schema |
---|---|
devices optional |
string |
GET /cuwbnets/{cuwb_name}/devices/{device_key}
Type | Name | Description | Schema |
---|---|---|---|
Path | cuwb_name required |
The name of the database to use. | string |
Path | device_key required |
Either a Ciholas serial number or an integer ID. | string |
HTTP Code | Description | Schema |
---|---|---|
200 | Device | Response 200 |
404 | Not found. | Response 404 |
Name | Schema |
---|---|
device optional |
string |
Name | Schema |
---|---|
message optional |
string |
DELETE /cuwbnets/{cuwb_name}/devices/{device_key}
Type | Name | Description | Schema |
---|---|---|---|
Path | cuwb_name required |
The name of the database to use. | string |
Path | device_key required |
Either a Ciholas serial number or an integer ID. | string |
HTTP Code | Description | Schema |
---|---|---|
204 | Item deleted. | Response 204 |
Name | Schema |
---|---|
message optional |
string |
PATCH /cuwbnets/{cuwb_name}/devices/{device_key}
Type | Name | Description | Schema |
---|---|---|---|
Path | cuwb_name required |
The name of the database to use. | string |
Path | device_key required |
Either a Ciholas serial number or an integer ID. | string |
Body | device_body required |
The request body | device_body |
Name | Schema |
---|---|
disabled optional |
boolean |
interfaces optional |
string |
serial_number optional |
string |
HTTP Code | Description | Schema |
---|---|---|
200 | Device | Response 200 |
400 | Invalid request. | Response 400 |
404 | Not found. | Response 404 |
500 | Internal error. | Response 500 |
Name | Schema |
---|---|
device optional |
string |
Name | Schema |
---|---|
message optional |
string |
Name | Schema |
---|---|
message optional |
string |
Name | Schema |
---|---|
message optional |
string |
DELETE /cuwbnets/{cuwb_name}/devices
Type | Name | Description | Schema |
---|---|---|---|
Path | cuwb_name required |
The name of the database to use. | string |
Body | multiple_device_delete_body required |
The request body | multiple_device_delete_body |
Name | Schema |
---|---|
delete optional |
< string > array |
HTTP Code | Description | Schema |
---|---|---|
204 | Devices deleted. | Response 204 |
Name | Schema |
---|---|
message optional |
string |
PATCH /cuwbnets/{cuwb_name}/devices
Type | Name | Description | Schema |
---|---|---|---|
Path | cuwb_name *required |
The name of the database to use. | string |
Body | multiple_device_patch_body *required |
The request body | object |
HTTP Code | Description | Schema |
---|---|---|
200 | Device Patch Statuses | object |
400 | Invalid request. | object |
404 | Not found. | object |
500 | Internal error. | object |
GET /cuwbnets/{cuwb_name}/devices/{device_key}-{interface_identifier}/roles
Type | Name | Description | Schema |
---|---|---|---|
Path | cuwb_name required |
The name of the database to use. | string |
Path | device_key required |
Either a Ciholas serial number or an integer ID. | string |
Path | interface_identifier required |
An identifier for interfaces. | integer |
HTTP Code | Description | Schema |
---|---|---|
200 | Device Roles | Response 200 |
404 | Not found. | Response 404 |
Name | Schema |
---|---|
roles optional |
string |
Name | Schema |
---|---|
message optional |
string |
GET /cuwbnets/{cuwb_name}/devices/{device_key}-{interface_identifier}/roles/{role_id}
Type | Name | Description | Schema |
---|---|---|---|
Path | cuwb_name required |
The name of the database to use. | string |
Path | device_key required |
Either a Ciholas serial number or an integer ID. | string |
Path | interface_identifier required |
An identifier for interfaces. | integer |
Path | role_id required |
An id for roles. | integer |
HTTP Code | Description | Schema |
---|---|---|
200 | Device Role | Response 200 |
404 | Not found. | Response 404 |
Name | Schema |
---|---|
role optional |
string |
Name | Schema |
---|---|
message optional |
string |
DELETE /cuwbnets/{cuwb_name}/devices/{device_key}-{interface_identifier}/roles/{role_id}
Type | Name | Description | Schema |
---|---|---|---|
Path | cuwb_name required |
The name of the database to use. | string |
Path | device_key required |
Either a Ciholas serial number or an integer ID. | string |
Path | interface_identifier required |
An identifier for interfaces. | integer |
Path | role_id required |
An id for roles. | integer |
HTTP Code | Description | Schema |
---|---|---|
204 | Item deleted. | Response 204 |
Name | Schema |
---|---|
message optional |
string |
GET /cuwbnets/{cuwb_name}/devices/{device_key}/interfaces/{interface_identifier}/roles
Type | Name | Description | Schema |
---|---|---|---|
Path | cuwb_name required |
The name of the database to use. | string |
Path | device_key required |
Either a Ciholas serial number or an integer ID. | string |
Path | interface_identifier required |
An identifier for interfaces. | integer |
HTTP Code | Description | Schema |
---|---|---|
200 | Device Roles | Response 200 |
404 | Not found. | Response 404 |
Name | Schema |
---|---|
roles optional |
string |
Name | Schema |
---|---|
message optional |
string |
GET /cuwbnets/{cuwb_name}/devices/{device_key}/interfaces/{interface_identifier}/roles/{role_id}
Type | Name | Description | Schema |
---|---|---|---|
Path | cuwb_name required |
The name of the database to use. | string |
Path | device_key required |
Either a Ciholas serial number or an integer ID. | string |
Path | interface_identifier required |
An identifier for interfaces. | integer |
Path | role_id required |
An id for roles. | integer |
HTTP Code | Description | Schema |
---|---|---|
200 | Device Role | Response 200 |
404 | Not found. | Response 404 |
Name | Schema |
---|---|
role optional |
string |
Name | Schema |
---|---|
message optional |
string |
DELETE /cuwbnets/{cuwb_name}/devices/{device_key}/interfaces/{interface_identifier}/roles/{role_id}
Type | Name | Description | Schema |
---|---|---|---|
Path | cuwb_name required |
The name of the database to use. | string |
Path | device_key required |
Either a Ciholas serial number or an integer ID. | string |
Path | interface_identifier required |
An identifier for interfaces. | integer |
Path | role_id required |
An id for roles. | integer |
HTTP Code | Description | Schema |
---|---|---|
204 | Item deleted. | Response 204 |
Name | Schema |
---|---|
message optional |
string |
GET /cuwbnets/{cuwb_name}/devices/{device_key}-{interface_identifier}
Type | Name | Description | Schema |
---|---|---|---|
Path | cuwb_name required |
The name of the database to use. | string |
Path | device_key required |
Either a Ciholas serial number or an integer ID. | string |
Path | interface_identifier required |
An identifier for interfaces. | integer |
HTTP Code | Description | Schema |
---|---|---|
200 | Device Interface | Response 200 |
404 | Not found. | Response 404 |
Name | Schema |
---|---|
interface optional |
string |
Name | Schema |
---|---|
message optional |
string |
DELETE /cuwbnets/{cuwb_name}/devices/{device_key}-{interface_identifier}
Type | Name | Description | Schema |
---|---|---|---|
Path | cuwb_name required |
The name of the database to use. | string |
Path | device_key required |
Either a Ciholas serial number or an integer ID. | string |
Path | interface_identifier required |
An identifier for interfaces. | integer |
HTTP Code | Description | Schema |
---|---|---|
204 | Item deleted. | Response 204 |
Name | Schema |
---|---|
message optional |
string |
GET /cuwbnets/{cuwb_name}/devices/{device_key}/interfaces
Type | Name | Description | Schema |
---|---|---|---|
Path | cuwb_name required |
The name of the database to use. | string |
Path | device_key required |
Either a Ciholas serial number or an integer ID. | string |
HTTP Code | Description | Schema |
---|---|---|
200 | Device Interface | Response 200 |
404 | Not found. | Response 404 |
Name | Schema |
---|---|
interfaces optional |
string |
Name | Schema |
---|---|
message optional |
string |
GET /cuwbnets/{cuwb_name}/devices/{device_key}/interfaces/{interface_identifier}
Type | Name | Description | Schema |
---|---|---|---|
Path | cuwb_name required |
The name of the database to use. | string |
Path | device_key required |
Either a Ciholas serial number or an integer ID. | string |
Path | interface_identifier required |
An identifier for interfaces. | integer |
HTTP Code | Description | Schema |
---|---|---|
200 | Device Interface | Response 200 |
404 | Not found. | Response 404 |
Name | Schema |
---|---|
interface optional |
string |
Name | Schema |
---|---|
message optional |
string |
DELETE /cuwbnets/{cuwb_name}/devices/{device_key}/interfaces/{interface_identifier}
Type | Name | Description | Schema |
---|---|---|---|
Path | cuwb_name required |
The name of the database to use. | string |
Path | device_key required |
Either a Ciholas serial number or an integer ID. | string |
Path | interface_identifier required |
An identifier for interfaces. | integer |
HTTP Code | Description | Schema |
---|---|---|
204 | Item deleted. | Response 204 |
Name | Schema |
---|---|
message optional |
string |
GET /cuwbnets/{cuwb_name}/log_messages
Type | Name | Description | Schema |
---|---|---|---|
Path | cuwb_name required |
The name of the database to use. | string |
HTTP Code | Description | Schema |
---|---|---|
200 | Log Message List | Response 200 |
Name | Schema |
---|---|
log_messages optional |
< string > array |
POST /cuwbnets/{cuwb_name}/devices/{device_key}/set_magnetometer_calibration
Type | Name | Description | Schema |
---|---|---|---|
Path | cuwb_name required |
The name of the database to use. | string |
Path | device_key required |
Either a Ciholas serial number or an integer ID. | string |
Body | mangetometer_calibration_body required |
The request body | mangetometer_calibration_body |
Name | Schema |
---|---|
x_offset optional |
integer |
y_offset optional |
integer |
z_offset optional |
integer |
HTTP Code | Description | Schema |
---|---|---|
201 | Magnetometer Calibration | Response 201 |
400 | Invalid request. | Response 400 |
404 | Not found. | Response 404 |
409 | Conflict. | Response 409 |
500 | Internal error. | Response 500 |
Name | Schema |
---|---|
magnetometer_calibration optional |
string |
Name | Schema |
---|---|
message optional |
string |
Name | Schema |
---|---|
message optional |
string |
Name | Schema |
---|---|
message optional |
string |
Name | Schema |
---|---|
message optional |
string |
GET /packages
HTTP Code | Description | Schema |
---|---|---|
200 | Packages | Response 200 |
404 | Not found. | Response 404 |
Name | Schema |
---|---|
ppa_status optional |
string |
Name | Schema |
---|---|
ppa_status optional |
string |
PUT /cuwbnets/{cuwb_name}/devices/{device_key}/{interface_identifier}/{_type}_interfaces
Type | Name | Description | Schema |
---|---|---|---|
Path | cuwb_name required |
The name of the cuwbnet to use. | string |
Path | device_key required |
A Ciholas serial number. | string |
Path | interface_identifier required |
An identifier for interfaces. | string |
Path | _type required |
A type of paired interfaces. | string |
HTTP Code | Description | Schema |
201 | Paired Interface | Response 201 |
400 | Invalid Request. | Response 400 |
409 | Conflict. | Response 409 |
500 | Internal error. | Response 500 |
Name | Schema |
---|---|
paired_interface optional |
string |
Name | Schema |
---|---|
message optional |
string |
Name | Schema |
---|---|
message optional |
string |
Name | Schema |
---|---|
message optional |
string |
DELETE /cuwbnets/{cuwb_name}/devices/{device_key}/{interface_identifier}/{_type}_interfaces/{interface}
Type | Name | Description | Schema |
---|---|---|---|
Path | cuwb_name required |
The name of the cuwbnet to use. | string |
Path | device_key required |
A Ciholas serial number. | string |
Path | interface_identifier required |
An identifier for interfaces. | string |
Path | _type required |
A type of paired interfaces. | string |
Path | interface required |
The paired interface to interact with. | string |
HTTP Code | Description | Schema |
204 | Item deleted. | Response 204 |
409 | Conflict. | Response 409 |
Name | Schema |
---|---|
message optional |
string |
Name | Schema |
---|---|
message optional |
string |
POST /cuwbnets/{cuwb_name}/position_limits
Type | Name | Description | Schema |
---|---|---|---|
Path | cuwb_name required |
The name of the database to use. | string |
Body | position_limits_post_body required |
The POST body - must include all fields. | position_limits_post_body |
Name | Schema |
---|---|
max_x optional |
integer |
max_y optional |
integer |
max_z optional |
integer |
min_x optional |
integer |
min_y optional |
integer |
min_z optional |
integer |
name optional |
string |
HTTP Code | Description | Schema |
---|---|---|
200 | Position Limit | Response 200 |
400 | Invalid request. | Response 400 |
409 | Conflict. | Response 409 |
Name | Schema |
---|---|
position_limits optional |
string |
Name | Schema |
---|---|
message optional |
string |
Name | Schema |
---|---|
message optional |
string |
GET /cuwbnets/{cuwb_name}/position_limits
Type | Name | Description | Schema |
---|---|---|---|
Path | cuwb_name required |
The name of the database to use. | string |
HTTP Code | Description | Schema |
---|---|---|
200 | Position Limits List | Response 200 |
Name | Schema |
---|---|
position_limits optional |
string |
GET /cuwbnets/{cuwb_name}/position_limits/{name}
Type | Name | Description | Schema |
---|---|---|---|
Path | cuwb_name required |
The name of the database to use. | string |
Path | name required |
The name of the position limit to use. | string |
HTTP Code | Description | Schema |
---|---|---|
200 | Position Limits | Response 200 |
404 | Not found. | Response 404 |
Name | Schema |
---|---|
position_limits optional |
string |
Name | Schema |
---|---|
message optional |
string |
DELETE /cuwbnets/{cuwb_name}/position_limits/{name}
Type | Name | Description | Schema |
---|---|---|---|
Path | cuwb_name required |
The name of the database to use. | string |
Path | name required |
The name of the position limit to use. | string |
HTTP Code | Description | Schema |
---|---|---|
204 | Item deleted. | Response 204 |
Name | Schema |
---|---|
message optional |
string |
PATCH /cuwbnets/{cuwb_name}/position_limits/{name}
Type | Name | Description | Schema |
---|---|---|---|
Path | cuwb_name required |
The name of the database to use. | string |
Path | name required |
The name of the position limit to use. | string |
Body | position_limits_patch_body required |
The PATCH body - must include at least one field. | position_limits_patch_body |
Name | Schema |
---|---|
max_x optional |
integer |
max_y optional |
integer |
max_z optional |
integer |
min_x optional |
integer |
min_y optional |
integer |
min_z optional |
integer |
HTTP Code | Description | Schema |
---|---|---|
200 | Position Limits | Response 200 |
404 | Not found. | Response 404 |
500 | Internal error. | Response 500 |
Name | Schema |
---|---|
position_limits optional |
string |
Name | Schema |
---|---|
message optional |
string |
Name | Schema |
---|---|
message optional |
string |
POST /cuwbnets/{cuwb_name}/rf_settings
Type | Name | Description | Schema |
---|---|---|---|
Path | cuwb_name required |
The name of the database to use. | string |
Body | rf_settings_post_body required |
The POST body - must include all fields. | rf_settings_post_body |
Name | Schema |
---|---|
bit_rate optional |
integer |
channel optional |
integer |
name optional |
string |
preamble_code optional |
integer |
preamble_length optional |
integer |
prf optional |
integer |
HTTP Code | Description | Schema |
---|---|---|
200 | RF Setting | Response 200 |
400 | Invalid request. | Response 400 |
409 | Conflict. | Response 409 |
Name | Schema |
---|---|
rf_settings optional |
string |
Name | Schema |
---|---|
message optional |
string |
Name | Schema |
---|---|
message optional |
string |
GET /cuwbnets/{cuwb_name}/rf_settings
Type | Name | Description | Schema |
---|---|---|---|
Path | cuwb_name required |
The name of the database to use. | string |
HTTP Code | Description | Schema |
---|---|---|
200 | RF Settings List | Response 200 |
Name | Schema |
---|---|
rf_settings optional |
string |
GET /cuwbnets/{cuwb_name}/rf_settings/{name}
Type | Name | Description | Schema |
---|---|---|---|
Path | cuwb_name required |
The name of the database to use. | string |
Path | name required |
The name of the RF Settings to use. | string |
HTTP Code | Description | Schema |
---|---|---|
200 | RF Setting | Response 200 |
404 | Not found. | Response 404 |
Name | Schema |
---|---|
rf_settings optional |
string |
Name | Schema |
---|---|
message optional |
string |
DELETE /cuwbnets/{cuwb_name}/rf_settings/{name}
Type | Name | Description | Schema |
---|---|---|---|
Path | cuwb_name required |
The name of the database to use. | string |
Path | name required |
The name of the RF Settings to use. | string |
HTTP Code | Description | Schema |
---|---|---|
204 | Item deleted. | Response 204 |
Name | Schema |
---|---|
message optional |
string |
PATCH /cuwbnets/{cuwb_name}/rf_settings/{name}
Type | Name | Description | Schema |
---|---|---|---|
Path | cuwb_name required |
The name of the database to use. | string |
Path | name required |
The name of the RF Settings to use. | string |
Body | rf_settings_patch_body required |
The PATCH body - must include at least one field. | rf_settings_patch_body |
Name | Schema |
---|---|
bit_rate optional |
integer |
channel optional |
integer |
preamble_code optional |
integer |
preamble_length optional |
integer |
prf optional |
integer |
HTTP Code | Description | Schema |
---|---|---|
200 | RF Setting | Response 200 |
404 | Not found. | Response 404 |
500 | Internal error. | Response 500 |
Name | Schema |
---|---|
rf_settings optional |
string |
Name | Schema |
---|---|
message optional |
string |
Name | Schema |
---|---|
message optional |
string |
POST /cuwbnets/{cuwb_name}/roles
Type | Name | Description | Schema |
---|---|---|---|
Path | cuwb_name required |
The name of the database to use. | string |
Body | role_body required |
The request body | role_body |
Name | Schema |
---|---|
name optional |
string |
network_period optional |
integer |
window_duration optional |
integer |
HTTP Code | Description | Schema |
---|---|---|
201 | Device Role | Response 201 |
400 | Invalid request. | Response 400 |
409 | Conflict. | Response 409 |
500 | Internal errror. | Response 500 |
Name | Schema |
---|---|
role optional |
string |
Name | Schema |
---|---|
message optional |
string |
Name | Schema |
---|---|
message optional |
string |
Name | Schema |
---|---|
message optional |
string |
GET /cuwbnets/{cuwb_name}/roles
Type | Name | Description | Schema |
---|---|---|---|
Path | cuwb_name required |
The name of the database to use. | string |
HTTP Code | Description | Schema |
---|---|---|
200 | Device Roles | Response 200 |
404 | Not found. | Response 404 |
Name | Schema |
---|---|
roles optional |
string |
Name | Schema |
---|---|
message optional |
string |
GET /cuwbnets/{cuwb_name}/roles/{role_id}
Type | Name | Description | Schema |
---|---|---|---|
Path | cuwb_name required |
The name of the database to use. | string |
Path | role_id required |
An id for roles. | integer |
HTTP Code | Description | Schema |
---|---|---|
200 | Device Role | Response 200 |
404 | Not found. | Response 404 |
Name | Schema |
---|---|
role optional |
string |
Name | Schema |
---|---|
message optional |
string |
DELETE /cuwbnets/{cuwb_name}/roles/{role_id}
Type | Name | Description | Schema |
---|---|---|---|
Path | cuwb_name required |
The name of the database to use. | string |
Path | role_id required |
An id for roles. | integer |
HTTP Code | Description | Schema |
---|---|---|
204 | Item deleted. | Response 204 |
Name | Schema |
---|---|
message optional |
string |
PATCH /cuwbnets/{cuwb_name}/roles/{role_id}
Type | Name | Description | Schema |
---|---|---|---|
Path | cuwb_name required |
The name of the database to use. | string |
Path | role_id required |
An id for roles. | integer |
Body | role_body required |
The request body | role_body |
Name | Schema |
---|---|
name optional |
string |
network_period optional |
integer |
window_duration optional |
integer |
HTTP Code | Description | Schema |
---|---|---|
200 | Role | Response 200 |
400 | Invalid request. | Response 400 |
404 | Not found. | Response 404 |
500 | Internal error. | Response 500 |
Name | Schema |
---|---|
role optional |
string |
Name | Schema |
---|---|
message optional |
string |
Name | Schema |
---|---|
message optional |
string |
Name | Schema |
---|---|
message optional |
string |
POST /cuwbnets/{cuwb_name}/settings
Type | Name | Description | Schema |
---|---|---|---|
Path | cuwb_name required |
The name of the database to use. | string |
Body | settings_body required |
The request body | object |
HTTP Code | Description | Schema |
---|---|---|
200 | Setting | Response 200 |
409 | Conflict. | Response 409 |
500 | Internal error. | Response 500 |
Name | Schema |
---|---|
setting optional |
string |
Name | Schema |
---|---|
message optional |
string |
Name | Schema |
---|---|
message optional |
string |
GET /cuwbnets/{cuwb_name}/settings
Type | Name | Description | Schema |
---|---|---|---|
Path | cuwb_name required |
The name of the database to use. | string |
HTTP Code | Description | Schema |
---|---|---|
200 | Setting List | Response 200 |
Name | Schema |
---|---|
settings_list optional |
string |
PUT /cuwbnets/{cuwb_name}/settings
Type | Name | Description | Schema |
---|---|---|---|
Path | cuwb_name required |
The name of the database to use. | string |
Body | settings_body required |
The request body | object |
HTTP Code | Description | Schema |
---|---|---|
200 | Setting | Response 200 |
500 | Internal erorr. | Response 500 |
Name | Schema |
---|---|
setting optional |
string |
Name | Schema |
---|---|
message optional |
string |
PATCH /cuwbnets/{cuwb_name}/settings
Type | Name | Description | Schema |
---|---|---|---|
Path | cuwb_name required |
The name of the database to use. | string |
Body | settings_body required |
The request body | object |
HTTP Code | Description | Schema |
---|---|---|
200 | Setting | Response 200 |
404 | Not found. | Response 404 |
500 | Internal error. | Response 500 |
Name | Schema |
---|---|
setting optional |
string |
Name | Schema |
---|---|
message optional |
string |
Name | Schema |
---|---|
message optional |
string |
GET /cuwbnets/{cuwb_name}/settings/{key}
Type | Name | Description | Schema |
---|---|---|---|
Path | cuwb_name required |
The name of the database to use. | string |
Path | key required |
The key of the setting to use. | string |
HTTP Code | Description | Schema |
---|---|---|
200 | Setting | Response 200 |
404 | Not found. | Response 404 |
Name | Schema |
---|---|
setting optional |
string |
Name | Schema |
---|---|
message optional |
string |
DELETE /cuwbnets/{cuwb_name}/settings/{key}
Type | Name | Description | Schema |
---|---|---|---|
Path | cuwb_name required |
The name of the database to use. | string |
Path | key required |
The key of the setting to use. | string |
HTTP Code | Description | Schema |
---|---|---|
204 | Item deleted. | Response 204 |
Name | Schema |
---|---|
message optional |
string |