Save internal_name and display_name in channel

This commit is contained in:
2022-12-22 11:22:36 +01:00
parent f65c231ba0
commit 0cb2a977a0
20 changed files with 414 additions and 296 deletions

View File

@@ -1356,6 +1356,14 @@
"schema": {
"type": "string"
}
},
{
"description": "Change the cahnnel display-name (only chnages to lowercase/uppercase are allowed - internal_name must stay the same)",
"name": "display_name",
"in": "body",
"schema": {
"type": "string"
}
}
],
"responses": {
@@ -2826,12 +2834,15 @@
"channel_id": {
"type": "integer"
},
"display_name": {
"type": "string"
},
"internal_name": {
"type": "string"
},
"messages_sent": {
"type": "integer"
},
"name": {
"type": "string"
},
"owner_user_id": {
"type": "integer"
},
@@ -2912,7 +2923,7 @@
"channel_id": {
"type": "integer"
},
"channel_name": {
"channel_internal_name": {
"type": "string"
},
"content": {
@@ -2956,7 +2967,7 @@
"channel_id": {
"type": "integer"
},
"channel_name": {
"channel_internal_name": {
"type": "string"
},
"channel_owner_user_id": {

View File

@@ -340,10 +340,12 @@ definitions:
properties:
channel_id:
type: integer
display_name:
type: string
internal_name:
type: string
messages_sent:
type: integer
name:
type: string
owner_user_id:
type: integer
send_key:
@@ -397,7 +399,7 @@ definitions:
properties:
channel_id:
type: integer
channel_name:
channel_internal_name:
type: string
content:
type: string
@@ -426,7 +428,7 @@ definitions:
properties:
channel_id:
type: integer
channel_name:
channel_internal_name:
type: string
channel_owner_user_id:
type: integer
@@ -1433,6 +1435,12 @@ paths:
name: send_key
schema:
type: string
- description: Change the cahnnel display-name (only chnages to lowercase/uppercase
are allowed - internal_name must stay the same)
in: body
name: display_name
schema:
type: string
responses:
"200":
description: OK