Add API documentation for "objectType" and "objectId"

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
This commit is contained in:
Daniel Calviño Sánchez 2018-09-14 22:59:45 +02:00
Родитель 9043948f8c
Коммит fc85ff8aba
1 изменённых файлов: 2 добавлений и 0 удалений

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

@ -139,6 +139,8 @@ Base endpoint is: `/ocs/v2.php/apps/spreed/api/v1`
`unreadMessages` | int | Number of unread chat messages in the room (only available with `chat-v2` capability)
`unreadMention` | bool | Flag if the user was mentioned since their last visit
`lastMessage` | message | Last message in a room if available, otherwise empty
`objectType` | string | The type of object that the room is associated with; "share:password" if the room is used to request a password for a share, otherwise empty
`objectId` | string | Share token if "objectType" is "share:password", otherwise empty
### Get single room (also for guests)