merge profiles with user directory into user data, also fix typo
This commit is contained in:
parent
605510e965
commit
3d8fe6e090
2 changed files with 10 additions and 4 deletions
|
@ -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.
|
||||||
|
|
|
@ -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}}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue