merge profiles with user directory into user data, also fix typo

This commit is contained in:
Michael Telatynski 2017-12-18 17:01:52 +00:00
parent 605510e965
commit 3d8fe6e090
No known key found for this signature in database
GPG key ID: 3F879DA5AD802A5E
2 changed files with 10 additions and 4 deletions

View file

@ -75,17 +75,20 @@ paths:
items: items:
title: User title: User
type: object type: object
require: ["user_id"] required: ["user_id"]
properties: properties:
user_id: user_id:
type: string type: string
example: "@foo:bar.com" example: "@foo:bar.com"
description: The MXID of the user.
display_name: display_name:
type: string type: string
example: "Foo" example: "Foo"
description: The display name of the user, if one exists.
avatar_url: avatar_url:
type: string type: string
example: "mxc://bar.com/foo" example: "mxc://bar.com/foo"
description: The avatar url, as an MXC, if one exists.
limited: limited:
type: boolean type: boolean
description: Indicates if the result list has been truncated by the limit. description: Indicates if the result list has been truncated by the limit.

View file

@ -1336,14 +1336,17 @@ Listing rooms
{{list_public_rooms_cs_http_api}} {{list_public_rooms_cs_http_api}}
Users User Data
----- ---------
User Directory
~~~~~~~~~~~~~~
{{users_cs_http_api}} {{users_cs_http_api}}
Profiles Profiles
-------- ~~~~~~~~
{{profile_cs_http_api}} {{profile_cs_http_api}}