summaryrefslogtreecommitdiffstats
path: root/api4
Commit message (Collapse)AuthorAgeFilesLines
* APIv4: GET /teams/{team_id}/members (#5460)Saturnino Abril2017-02-222-0/+75
| | | | | | | | | | * APIv4: GET /teams/{team_id}/members * removed unecessary comment * changed route to session required, and logout test to unauthorized Signed-off-by: Saturnino Abril <saturnino.abril@gmail.com>
* Implement create and get incoming webhook endpoints for APIv4 (#5407)Joram Wilander2017-02-214-5/+256
| | | | | | | | * Implement POST /hooks/incoming endpoint for APIv4 * Implement GET /hooks/incoming endpoint for APIv4 * Updates per feedback
* Implement posts endpoints for APIv4 (#5480)Ruzette Tanyag2017-02-213-0/+333
| | | | | | | | | | * Implement delete post endpoint for apiv4 * Implement POST search post endpoint for APIv4 * removed delete post quotes * rearrange formatting
* Implement endpoint for APIv4: PUT /teams/{team_id}/members/{user_id}/roles ↵Saturnino Abril2017-02-212-0/+106
| | | | (#5471)
* Implement endpoint for APIv4: GET /users/{user_id}/audits (#5472)Saturnino Abril2017-02-212-46/+92
|
* Various APIv4 fixes (#5474)Joram Wilander2017-02-203-1/+7
|
* Implement a few channel member endpoints for APIv4 (#5444)Joram Wilander2017-02-202-7/+288
| | | | | | | | * Implement POST /channels/members/{user_id}/view endpoint for APIv4 * Implement PUT /channels/{channel_id}/members/{user_id}/roles endpoint for APIv4 * Implement DELETE /channels/{channel_id}/members/{user_id} endpoint for APIv4
* Implementation endpoint for APIv4: GET /teams/name/{name} (#5473)Saturnino Abril2017-02-202-0/+52
| | | | | | | | | | * APIv4: GET /teams/name/{name} Signed-off-by: Saturnino Abril <saturnino.abril@gmail.com> * reorganized test with SystemAdminClient Signed-off-by: Saturnino Abril <saturnino.abril@gmail.com>
* Implement GET teams/{team_id}/stats - apiv4 (#5453)Saturnino Abril2017-02-173-1/+86
| | | | | | | | * api4 GET teams/{team_id}/stats * api4 GET teams/{team_id}/stats * moved TeamStats router to team.go
* Implement upload and get file endpoints for APIv4 (#5396)Joram Wilander2017-02-175-4/+348
| | | | | | * Implement POST /files endpoint for APIv4 * Implement GET /files/{file_id} endpoint for APIv4
* Implement user sessions endpoints for APIv4 (#5449)Ruzette Tanyag2017-02-172-0/+150
| | | | | | | | | | | | | | * added get session and revoke session endpoints, unittests and drivers * removed BasicUser2 and added teardown * added badrequest unit test case for sessions * added session loop to check if user id and session user id matches * fixed indentation issues for user_test * match indentation from spaces to tabs
* Add APIv4 /system/ping endpoint (#5443)Robin Naundorf2017-02-173-0/+40
|
* Implement PUT /users/{user_id}/patch endpoint for APIv4 (#5418)Joram Wilander2017-02-162-0/+94
|
* Implement GET channels endpoints for APIv4 (#5363)Ruzette Tanyag2017-02-148-33/+213
| | | | | | | | | | | | * implement get channels endpoints and updated drivers and unittests * removed channel deletion on tear down, removed manage permission on get channels endpoints, and updated utils to add constant channel length * added constants for user, team and channel length, updated context to use the model functions * make sure team name length should be less than the minimum length and revert underscore to team name validity * changed post test condition from notfound to unauthorized
* Implement some post endpoints for APIv4 (#5353)Joram Wilander2017-02-136-2/+409
| | | | | | | | | | | | * Implement POST /posts endpoint for APIv4 * Implement GET /channels/{channel_id}/posts endpoint for APIv4 * Implement GET /posts/{post_id} endpoint for APIv4 * Implement GET /posts/{post_id}/thread endpoint for APIv4 * Skip team get if it's a DM channel in handlePostEvents
* Implement GET `/users/username/{username}` endpoint for APIv4 (#5310)Ruzette Tanyag2017-02-086-2/+117
| | | | | | | | | | | | * added get user by username endpoint * added get user by username unit test and driver * changed username length to 22 characters max * changed Params to UserName to Username * reorganized get user by username and get user by email formatting in model/client4
* Implement a few channel member endpoints for APIv4 (#5304)Joram Wilander2017-02-073-2/+214
| | | | | | | | | | * Implement GET /channels/{channel_id}/members * Implement GET /channels/{channel_id}/members/{user_id} endpoint for APIv4 * Implement /users/{user_id}/teams/{team_id}/channels/members endpoint for APIv4 * Fix unit test
* Implement password reset endpoints for APIv4 (#5256)Joram Wilander2017-02-072-3/+138
|
* Implement PUT /users/{user_id}/password endpoint for APIv4 (#5243)Joram Wilander2017-02-073-4/+117
|
* Implement a few team endpoints for APIv4 (#5296)Joram Wilander2017-02-073-4/+185
| | | | | | | | * Implement GET /teams/{team_id} endpoint for APIv4 * Implement GET /users/{user_id}/teams endpoint for APIv4 * Implement GET /teams/{team_id}/members/{user_id} endpoint for APIv4
* Implement GET `/users/email/{email}` endpoint for APIv4 (#5309)Ruzette Tanyag2017-02-074-3/+114
| | | | | | | | | | * added get user by email endpoint for APIv4 * added get user by email endpoint unit test and driver * removed the appended return of user ids on logout * Added RequireEmail to validate user email. Also updated the get user by email endpoint and unit test
* Implement DELETE /users/{user_id endpoint for APIv4 - rebase cleanup (#5307)Ruzette Tanyag2017-02-052-0/+61
| | | | | | | | * added delete user endpoint * added unit test for delete user endpoint * added delete user driver
* Implement GET /users endpoint for APIv4 (#5277)Joram Wilander2017-02-035-6/+265
|
* Implement POST /channels/direct endpoint for APIv4 (#5283)Joram Wilander2017-02-032-0/+92
|
* Implement POST /users/ids endpoint for APIv4 (#5274)Joram Wilander2017-02-032-0/+52
|
* Add tear down to APIv4 tests (#5250)Joram Wilander2017-02-023-1/+34
| | | | | | * Add tear down to APIv4 tests * Defer tear downs
* Implement POST /channels endpoint for APIv4 (#5241)Joram Wilander2017-02-024-0/+245
|
* Implement PUT /users/{user_id}/roles endpoint for APIv4 (#5238)Joram Wilander2017-02-013-1/+69
|
* Improve APIv4 test lib (#5237)Joram Wilander2017-01-313-23/+105
|
* Implement POST /teams endpoint (#5220)Joram Wilander2017-01-313-0/+118
|
* Implement APIv4 infrastructure (#5191)Joram Wilander2017-01-306-0/+1176
* Implement APIv4 infrastructure * Update parameter requirement functions per feedback