Browse Source

Add API documentation for "objectType" and "objectId"

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
pull/1193/head
Daniel Calviño Sánchez 7 years ago
parent
commit
fc85ff8aba
  1. 2
      docs/api-v1.md

2
docs/api-v1.md

@ -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)

Loading…
Cancel
Save