Path: / security / authentication / user

get a list of users


Sub-Resources
Resources
NameDescription
{username}Get a user

Resource Methods
Method Summary
NameDescription
POST /security/authentication/userCreate a new user
GET /security/authentication/userget a list of users

Method Detail

POST /security/authentication/user

Create a new user

HTTP Example:
POST /security/authentication/user
Input:
TreqsUser - the user to create
Output:
TreqsUser
Produces:
application/json
Consumes:
application/json
HTTP return codes:
201 - if the user was successfully created
400 - if username or password not provided
409 - if a user with the same username already exists
HTTP response headers:
Location - the URI of the newly created user

GET /security/authentication/user

get a list of users

HTTP Example:
GET /security/authentication/user
Output:
List<TreqsUser> - a list of users
Produces:
application/json
Consumes:
text/plain
HTTP return codes:
200 - if no error occurred