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 |
---|---|
|
Get a list of users. |
|
Get a specific user, by username. |
POSTs (Adding Data)
Parameter | Description |
---|---|
|
Add a user. If supplying a password it is assumed to be hashed or encrypted already.
To indicate that the supplied password uses the salted encryption algorithm rather than the older MD5-based algorithm, you need to pass an element named |
PUTs (Modifying Data)
Parameter | Description |
---|---|
|
Update an existing user’s full-name, user-comments, password, passwordSalt, and duty-schedule values.
Note: If you are setting the password, you may also add the query parameter |
|
Add a security role to the user. |