Admin API

Supported operations on Role

POST addRole
add a new role
PUT putDescription
change role's description
GET getRoles
list roles
DELETE deleteRole
remove a role

Supported operations on User

POST addUser
add a new user with a password
PUT putPassword
change user's password
PUT putDescription
change user's description
PUT putUsername
change user's (login) username
GET getUsers
list users
DELETE deleteUser
remove a user
GET getRoles
list security labels
POST addRole
add a security label
DELETE deleteRole
remove a security label
PUT regeneratePassword
send email to an user with a password regeneration token
PUT commitPassword
accept the password regeneration token and set a new password

Supported operations on DataResource

POST addDataResource
add a new data resource
PUT putDataResource
change attributes of data resource
GET getDataResources
list data resources
DELETE deleteDataResource
remove a data resource
GET getRoles
list security labels
POST addRole
add a security label
DELETE deleteRole
remove a security label

Supported operations on Sensor

POST addSensor
add a new sensor
PUT putSensor
change attributes of sensor
GET getSensors
list sensors
DELETE deleteSensor
remove a sensor

Supported operations on Unit

POST addUnit
add a new unit
PUT putUnit
change attributes of unit
GET getUnits
list units
GET getUnit
print attributes of a unit
DELETE deleteUnit
remove a unit
GET getRoles
list security labels
POST addRole
add a security label
DELETE deleteRole
remove a security label

Supported operations on Firmware

POST addFirmware
adds a new firmware into the system catalogue
PUT putPatch
installs a firmware patch for a given unit
PUT activateFirmware
activates a firmware for a given unit
GET getFirmware
retrieves a firmware for a given unit, supports partial retrieval of firmware chunks together with respective CRC-CCITT

Supported operation on Topology

PUT putTopo
set a master node for routing topology
DELETE deleteTopo
remove a master node for routing topology

Supported operations on Logging

GET /gate/logger
shows last packets processed (authorization required for "watch" role)
GET /gate/message
shows last error messages (authorization required for "watch" role)

Firmware management is described here.