Joram Wilander
5f6d50bff1
Use 201 status code where appropriate for APIv4 ( #5903 )
2017-03-31 09:56:20 -04:00
Saturnino Abril
8a31718db1
APIv4 get /channels/{channel_id}/pinned ( #5893 )
2017-03-29 08:09:05 -07:00
Joram Wilander
daca0d93f6
Move WebSocket API to it's own package and add websocket v4 endpoint ( #5881 )
2017-03-28 09:58:19 +01:00
Saturnino Abril
d0af931e6e
APIv4 put /teams/{team_id}/patch ( #5860 )
2017-03-24 08:17:46 -04:00
Joram Wilander
61b1237c20
Update channel permissions for v4 endpoints ( #5829 )
...
* Fix join channel permission for v4 endpoint
* Allow regular users to get public channels they are not in
* Fix unit test
2017-03-22 08:13:44 -07:00
Saturnino Abril
7e89077a93
Endpoint for APIv4 POST /channels/{channel_id}/members ( #5775 )
2017-03-20 12:44:08 +00:00
George Goldberg
7f266c1951
Merge branch 'release-3.7' into master.
2017-03-17 16:29:26 +00:00
Saturnino Abril
a71a9fc3bf
APIv4 DELETE channels/{channel_id} ( #5723 )
2017-03-14 12:08:58 +00:00
Carlos Tadeu Panato Junior
38958d9ac4
Add implementation for POST /email/test apiV4 - Send Test Email ( #5716 )
2017-03-13 15:09:00 +00:00
Joram Wilander
3559fb7959
Implement SAML endpoints for APIv4 ( #5671 )
...
* Implement SAML endpoints for APIv4
* Fix unit test
* Only disable encryption when removing puplic/private certs
2017-03-13 12:26:23 +00:00
Poornima
482a0fb5fc
Adding functionality to get & delete incoming webhooks ( #5648 )
2017-03-11 19:40:56 -03:00
Harrison Healey
a8e68bd890
PLT-5765 Passed SiteURL to SendNotifications ( #5705 )
2017-03-10 10:18:18 +00:00
Carlos Tadeu Panato Junior
7fc5dc236a
add implementation for verify email for apiv4 ( #5502 )
2017-02-24 08:27:47 -05:00
Joram Wilander
69cac604e0
Implement create and get incoming webhook endpoints for APIv4 ( #5407 )
...
* Implement POST /hooks/incoming endpoint for APIv4
* Implement GET /hooks/incoming endpoint for APIv4
* Updates per feedback
2017-02-21 19:42:34 -05:00
Ruzette Tanyag
9646bddd21
Implement posts endpoints for APIv4 ( #5480 )
...
* Implement delete post endpoint for apiv4
* Implement POST search post endpoint for APIv4
* removed delete post quotes
* rearrange formatting
2017-02-21 07:36:52 -05:00
Saturnino Abril
00d11e961f
Implement GET teams/{team_id}/stats - apiv4 ( #5453 )
...
* api4 GET teams/{team_id}/stats
* api4 GET teams/{team_id}/stats
* moved TeamStats router to team.go
2017-02-17 15:50:17 -05:00
Joram Wilander
91fe8bb2c0
Implement upload and get file endpoints for APIv4 ( #5396 )
...
* Implement POST /files endpoint for APIv4
* Implement GET /files/{file_id} endpoint for APIv4
2017-02-17 10:31:21 -05:00
Ruzette Tanyag
28aa7cdbf2
Implement GET channels endpoints for APIv4 ( #5363 )
...
* 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
2017-02-14 10:28:08 -05:00
Joram Wilander
e4effd0c15
Implement some post endpoints for APIv4 ( #5353 )
...
* 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
2017-02-13 10:52:50 -05:00
Ruzette Tanyag
0162d8ad08
Implement GET /users/username/{username} endpoint for APIv4 ( #5310 )
...
* 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
2017-02-08 02:00:16 -08:00
Joram Wilander
9dc76c1823
Implement PUT /users/{user_id}/password endpoint for APIv4 ( #5243 )
2017-02-07 09:35:58 -08:00
Joram Wilander
7ff2aef7fa
Implement GET /users endpoint for APIv4 ( #5277 )
2017-02-03 15:17:34 -05:00
Joram Wilander
365514174e
Add tear down to APIv4 tests ( #5250 )
...
* Add tear down to APIv4 tests
* Defer tear downs
2017-02-02 11:46:42 -05:00
Joram Wilander
609d4f43d9
Implement POST /channels endpoint for APIv4 ( #5241 )
2017-02-02 09:04:36 -05:00
Joram Wilander
36f43edba3
Implement PUT /users/{user_id}/roles endpoint for APIv4 ( #5238 )
2017-02-01 16:13:16 -05:00
Joram Wilander
0bc0a467a4
Improve APIv4 test lib ( #5237 )
2017-01-31 09:31:53 -05:00
Joram Wilander
c01d9ad6cf
Implement APIv4 infrastructure ( #5191 )
...
* Implement APIv4 infrastructure
* Update parameter requirement functions per feedback
2017-01-30 08:30:02 -05:00