mattermost/server/channels
Miguel de la Cruz 809ad4f76d
Adds Remote Cluster related API endpoints (#27432)
* Adds Remote Cluster related API endpoints

New endpoints for the following routes are added:

- Get Remote Clusters at `GET /api/v4/remotecluster`
- Create Remote Cluster at `POST /api/v4/remotecluster`
- Accept Remote Cluster invite at `POST
/api/v4/remotecluster/accept_invite`
- Generate Remote Cluster invite at `POST
/api/v4/remotecluster/{remote_id}/generate_invite`
- Get Remote Cluster at `GET /api/v4/remotecluster/{remote_id}`
- Patch Remote Cluster at `PATCH /api/v4/remotecluster/{remote_id}`
- Delete Remote Cluster at `DELETE /api/v4/remotecluster/{remote_id}`

These endpoints are planned to be used from the system console, and
gated through the `manage_secure_connections` permission.

* Update server/channels/api4/remote_cluster_test.go

Co-authored-by: Doug Lauder <wiggin77@warpmail.net>

* Fix AppError names

---------

Co-authored-by: Doug Lauder <wiggin77@warpmail.net>
Co-authored-by: Mattermost Build <build@mattermost.com>
2024-07-04 10:35:26 +02:00
..
api4 Adds Remote Cluster related API endpoints (#27432) 2024-07-04 10:35:26 +02:00
app Adds Remote Cluster related API endpoints (#27432) 2024-07-04 10:35:26 +02:00
audit Add whitespace linter (#24855) 2023-10-11 10:13:36 +02:00
db MM-58525 Fix upload file permissions (#27298) 2024-06-24 10:47:52 -06:00
doc/help Mono repo -> Master (#22553) 2023-03-22 17:22:27 -04:00
jobs Move HTTP service to public for plugin use (#27284) 2024-06-05 09:58:04 -07:00
manualtesting Cleanup usage of global logger (#26835) 2024-04-24 11:52:33 +02:00
store Adds Remote Cluster related API endpoints (#27432) 2024-07-04 10:35:26 +02:00
testlib [MM-56074] mmctl job commands (#26855) 2024-06-17 12:07:05 -04:00
utils MM-57839: Rewrite static assets only if needed (#27076) 2024-06-13 12:01:57 +02:00
web Adds Remote Cluster related API endpoints (#27432) 2024-07-04 10:35:26 +02:00
wsapi Using correct type for websocket events (#26825) 2024-04-22 11:06:58 +02:00