summaryrefslogtreecommitdiffstats
path: root/api4/api.go
Commit message (Collapse)AuthorAgeFilesLines
* APIv4 DELETE /users/{user_id}/posts/{post_id}/reactions/name (#6117)Saturnino Abril2017-04-221-0/+6
| | | | | | | | | | * APIv4 DELETE /users/{user_id}/posts/{post_id}/reactions/name * updated v3 deleteReaction endpoint * update parameter of app.DeleteReactionForPost() * update utils.IsValidAlphaNum, add utils.IsValidAlphaNumHyphenUnderscore, and add related tests
* Implement v4 endpoints for OAuth (#6040)Joram Wilander2017-04-201-3/+9
| | | | | | | | | | | | | | | | | | * Implement POST /oauth/apps endpoint for APIv4 * Implement GET /oauth/apps endpoint for APIv4 * Implement GET /oauth/apps/{app_id} and /oauth/apps/{app_id}/info endpoints for APIv4 * Refactor API version independent oauth endpoints * Implement DELETE /oauth/apps/{app_id} endpoint for APIv4 * Implement /oauth/apps/{app_id}/regen_secret endpoint for APIv4 * Implement GET /user/{user_id}/oauth/apps/authorized endpoint for APIv4 * Implement POST /oauth/deauthorize endpoint
* PLT-1384 Added websocket event when preferences are updated/deleted (#6107)Harrison Healey2017-04-201-1/+1
|
* APIv4 POST /reactions (#6092)Saturnino Abril2017-04-181-0/+3
| | | | | | * APIv4 POST /reactions * update corresponding V3 endpoint
* Implement GET /webrtc/token endpoint for APIv4 (#6046)Joram Wilander2017-04-161-0/+1
|
* PLT-5860 Updated copyright date (#6058)Harrison Healey2017-04-121-1/+1
| | | | | | | | | | | | * PLT-5860 Updated copyright date in about modal * PLT-5860 Updated copyright notice in JSX files * PLT-5860 Updated copyright notice in go files * Fixed misc copyright dates * Fixed component snapshots
* APIv4 GET /posts/{post_id}/reactions (#6047)Saturnino Abril2017-04-111-0/+1
|
* implement POST /emoji for apiV4 (#5868)Carlos Tadeu Panato Junior2017-04-061-0/+1
|
* APIv4 GET /users/{user_id}/posts/flagged (#5984)Saturnino Abril2017-04-051-0/+2
| | | | | | * APIv4 GET /users/{user_id}/posts/flagged * change permission check
* Move WebSocket API to it's own package and add websocket v4 endpoint (#5881)Joram Wilander2017-03-281-1/+1
|
* Implement some team endpoints for APIv4 (#5870)Joram Wilander2017-03-251-7/+9
| | | | | | * Implement GET /users/{user_id}/teams/members endpoint for APIv4 * Implement DELETE /teams/{team_id}/members/{user_id} endpoint for APIv4
* [APIV4] GET /users/{user_id}/status - user status endpoint for apiV4 (#5824)Carlos Tadeu Panato Junior2017-03-241-0/+1
|
* implement POST /commands for apiv4 (#5849)Carlos Tadeu Panato Junior2017-03-231-0/+1
|
* Implement some channel endpoints for APIv4 (#5767)Joram Wilander2017-03-161-0/+2
|
* Implement brand image endpoints for APIv4 (#5733)Joram Wilander2017-03-141-0/+4
| | | | | | * Implement brand image endpoints for APIv4 * Fix unit test
* Implement admin LDAP endpoints for APIv4 (#5720)Joram Wilander2017-03-141-0/+4
|
* APIv4: GET /files/{file_id}/public (#5665)Saturnino Abril2017-03-131-0/+3
|
* Implement GET /cluster/status endpoint for APIv4 (#5732)Joram Wilander2017-03-131-6/+6
|
* Implement compliance endpoints for APIv4 (#5683)Joram Wilander2017-03-131-0/+4
| | | | | | * Implement compliance endpoints for APIv4 * Add paging to get reports endpoint
* Implement some team endpoints for APIv4 (#5745)Joram Wilander2017-03-131-0/+2
| | | | | | | | | | * Implement PUT /teams/{team_id} endpoint for APIv4 * Implement GET /users/{user_id}/teams/{team_id}/unread endpoint for APIv4 * Implement POST /teams/{team_id}/members/ids endpoint for APIv4 * Remove debug statement
* Implement GET /users/autocomplete endpoint for APIv4 (#5742)Joram Wilander2017-03-131-1/+1
|
* Implement SAML endpoints for APIv4 (#5671)Joram Wilander2017-03-131-0/+4
| | | | | | | | * Implement SAML endpoints for APIv4 * Fix unit test * Only disable encryption when removing puplic/private certs
* Implemented preferences endpoints for apiv4 (#5531)Ruzette Tanyag2017-02-281-1/+2
| | | | | | * implemented preferences endpoints for apiv4 * added user id in preferences endpoints
* Implement create and get incoming webhook endpoints for APIv4 (#5407)Joram Wilander2017-02-211-5/+6
| | | | | | | | * Implement POST /hooks/incoming endpoint for APIv4 * Implement GET /hooks/incoming endpoint for APIv4 * Updates per feedback
* 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