Implement upload and get file endpoints for APIv4 (#5396)
* Implement POST /files endpoint for APIv4
* Implement GET /files/{file_id} endpoint for APIv4
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
4e7dbc3bb0
Коммит
91fe8bb2c0
@@ -143,6 +143,7 @@ func InitApi(full bool) {
|
||||
InitTeam()
|
||||
InitChannel()
|
||||
InitPost()
|
||||
InitFile()
|
||||
InitSystem()
|
||||
|
||||
app.Srv.Router.Handle("/api/v4/{anything:.*}", http.HandlerFunc(Handle404))
|
||||
|
||||
Ссылка в новой задаче
Block a user