Users
Since users are not currently stored in the database, the REST interface for them is not as full-fledged as that of nodes, etc.
You cannot use hibernate criteria for filtering.
You may need to touch the ${OPENNMS_HOME}/etc/users.xml file on the filesystem for any addition or modification actions to take effect (see NMS-6469 for details).
|
GETs (reading data)
Parameter | Description |
---|---|
/users |
Get a list of users. |
/users/{username} |
Get a specific user, by username. |
POST (adding data)
Parameter | Description |
---|---|
/users |
Add a user.
If supplying a password it is assumed to be hashed or encrypted already. |
PUTs (modifying data)
Parameter | Description |
---|---|
/users/{username} |
Update an existing user’s |
/users/{username}/roles/{rolename} |
Add a security role to the user. |