Back to TOC
Concorda will expose the following HTTP API:
Method | URL | Description | Documentation |
---|---|---|---|
POST | /auth/change_password | Change password | https://github.com/senecajs/seneca-auth |
POST | /auth/register | Register user and login automatically | https://github.com/senecajs/seneca-auth |
POST | /auth/confirm | Confirm login | https://github.com/senecajs/seneca-auth |
GET/POST | /auth/logout | Logout current user | https://github.com/senecajs/seneca-auth |
POST | /auth/create_reset | Create reset password token | https://github.com/senecajs/seneca-auth |
POST | /auth/load_reset | Load reset token | https://github.com/senecajs/seneca-auth |
POST | /auth/execute_reset | Execute reset password | https://github.com/senecajs/seneca-auth |
GET/POST | /auth/user | Get current user data | https://github.com/senecajs/seneca-auth |
POST | /auth/update_user | Update current logged in user | https://github.com/senecajs/seneca-auth |
GET/POST | /auth/login | Login | https://github.com/senecajs/seneca-auth |
Method | URL | Description | Since |
---|---|---|---|
POST | /api/user/{user_id}/session/close | Close sessions for selected user | |
GET | /api/user | Get list of users | |
GET | /api/user/user_id | Load user by id | |
POST | /api/user | Create an user, different from the one logged in | |
PUT | /api/user | Update an user, different from the one logged in | |
DELETE | /api/user/{user_id} | Delete an user |
Method | URL | Description | Since |
---|---|---|---|
GET | /api/client | Get list of clients | |
GET | /api/client/:clientId | Get client | |
GET | /client/:client_name | Public service for getting client & its settings | |
GET | /api/clients | Get list of clients | |
POST | /api/client | Create a client | |
PUT | /api/client | Update a client | |
PUT | /client | Public service for updating a client. Can be used just when client.configured=false | |
DELETE | /api/client/{client_id} | Delete a client |
Method | URL | Description | Since |
---|---|---|---|
GET | /api/tag | Get list of tags | |
GET | /api/tags | Get list of tags. An alias for /api/tag |
Method | URL | Description | Since |
---|---|---|---|
POST/PUT | /api/user/:userId/groups | Add groups to a user. Request must contain groups list of ids | 0.1.0 |
POST/PUT | /api/user/:userId/clients | Add clients to a user. Request must contain clients list of ids | 0.1.0 |