From 91fe8bb2c0d520f13269b2eadc2717a5ec4eea1c Mon Sep 17 00:00:00 2001 From: Joram Wilander Date: Fri, 17 Feb 2017 10:31:21 -0500 Subject: Implement upload and get file endpoints for APIv4 (#5396) * Implement POST /files endpoint for APIv4 * Implement GET /files/{file_id} endpoint for APIv4 --- api4/api.go | 1 + 1 file changed, 1 insertion(+) (limited to 'api4/api.go') diff --git a/api4/api.go b/api4/api.go index b352d0b15..df45ff1a3 100644 --- a/api4/api.go +++ b/api4/api.go @@ -143,6 +143,7 @@ func InitApi(full bool) { InitTeam() InitChannel() InitPost() + InitFile() InitSystem() app.Srv.Router.Handle("/api/v4/{anything:.*}", http.HandlerFunc(Handle404)) -- cgit v1.2.3-1-g7c22