Application server
post/_twake/app/v1/rooms

Request body

ldapFilterobject required

An object containing keys/values to build a ldap filter

aliasNamestring required

The desired room alias local part. If aliasName is equal to foo the complete room alias will be

namestring

The room name

topicstring

A short message detailing what is currently being discussed in the room.

visibility'public' | 'private'

visibility values:

  • public - The room will be shown in the published room list
  • private - Hide the room from the published room list

Response

Success

errcodestring
errorstring

Example response

[
  {
    "uid": "test1",
    "errcode": "M_FORBIDDEN",
    "error": "The user has been banned from the room"
  },
  {
    "uid": "test2",
    "errcode": "M_UNKNOWN",
    "error": "Internal server error"
  }
]

Changes