summaryrefslogtreecommitdiffstats
path: root/api4/api.go
Commit message (Collapse)AuthorAgeFilesLines
* Implement upload and get file endpoints for APIv4 (#5396)Joram Wilander2017-02-171-0/+1
| | | | | | * Implement POST /files endpoint for APIv4 * Implement GET /files/{file_id} endpoint for APIv4
* Add APIv4 /system/ping endpoint (#5443)Robin Naundorf2017-02-171-0/+1
|
* Implement GET channels endpoints for APIv4 (#5363)Ruzette Tanyag2017-02-141-8/+10
| | | | | | | | | | | | * 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-131-0/+1
| | | | | | | | | | | | * 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-081-1/+1
| | | | | | | | | | | | * 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-071-2/+2
| | | | | | | | | | * 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 a few team endpoints for APIv4 (#5296)Joram Wilander2017-02-071-4/+3
| | | | | | | | * 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 POST /channels endpoint for APIv4 (#5241)Joram Wilander2017-02-021-0/+1
|
* Implement POST /teams endpoint (#5220)Joram Wilander2017-01-311-0/+1
|
* Implement APIv4 infrastructure (#5191)Joram Wilander2017-01-301-0/+189
* Implement APIv4 infrastructure * Update parameter requirement functions per feedback