summaryrefslogtreecommitdiffstats
path: root/api4/channel.go
Commit message (Collapse)AuthorAgeFilesLines
* Implement a few channel member endpoints for APIv4 (#5444)Joram Wilander2017-02-201-4/+92
| | | | | | | | * 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
* Implement GET channels endpoints for APIv4 (#5363)Ruzette Tanyag2017-02-141-0/+70
| | | | | | | | | | | | * 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 a few channel member endpoints for APIv4 (#5304)Joram Wilander2017-02-071-0/+66
| | | | | | | | | | * 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 POST /channels/direct endpoint for APIv4 (#5283)Joram Wilander2017-02-031-0/+40
|
* Implement POST /channels endpoint for APIv4 (#5241)Joram Wilander2017-02-021-0/+45