MM-10182 & MM-10183: Adds channel scheme and team scheme API endpoint. (#8680)

* MM-10183: Adds channel scheme API endpoint.

MM-10182: Adds team scheme API endpoint.

MM-10182_3: Switch from scheme_id in path to body.

* MM-10182/MM-10183: Changes path from 'schemes' to 'scheme'.

* MM-10182: Fix merge error.
Этот коммит содержится в:
Martin Kraft
2018-05-02 07:31:14 -04:00
коммит произвёл GitHub
родитель d2cc0c5834
Коммит f4dcb4edf2
11 изменённых файлов: 370 добавлений и 0 удалений

Просмотреть файл

@@ -2506,6 +2506,14 @@
"id": "api.team.update_team.permissions.app_error",
"translation": "You do not have the appropriate permissions"
},
{
"id": "api.team.update_team_scheme.license.error",
"translation": "License does not support updating a team's scheme"
},
{
"id": "api.team.update_team_scheme.scheme_scope.error",
"translation": "Unable to set the scheme to the team because the supplied scheme is not a team scheme."
},
{
"id": "api.templates.channel_name.group",
"translation": "Group Message"
@@ -6694,6 +6702,14 @@
"id": "api.channel.update_team_member_roles.scheme_role.app_error",
"translation": "The provided role is managed by a Scheme and therefore cannot be applied directly to a Team Member"
},
{
"id": "api.channel.update_channel_scheme.license.error",
"translation": "License does not support updating a channel's scheme"
},
{
"id": "api.channel.update_channel_scheme.scheme_scope.error",
"translation": "Unable to set the scheme to the channel because the supplied scheme is not a channel scheme."
},
{
"id": "store.sql_channel.get_by_scheme.app_error",
"translation": "Unable to get the channels for the provided scheme"