mirror of
https://github.com/element-hq/synapse
synced 2024-09-12 03:35:10 +00:00
deploy: 18862f20b5
This commit is contained in:
parent
8a9c15f2d8
commit
e58a7087c6
4 changed files with 12 additions and 10 deletions
|
@ -191,8 +191,9 @@
|
||||||
<p>To use it, you will need to authenticate by providing an <code>access_token</code> for a
|
<p>To use it, you will need to authenticate by providing an <code>access_token</code> for a
|
||||||
server admin: <a href="../usage/administration/admin_api">Admin API</a></p>
|
server admin: <a href="../usage/administration/admin_api">Admin API</a></p>
|
||||||
<p>It returns a JSON body like the following:</p>
|
<p>It returns a JSON body like the following:</p>
|
||||||
<pre><code class="language-json">{
|
<pre><code class="language-jsonc">{
|
||||||
"displayname": "User",
|
"name": "@user:example.com",
|
||||||
|
"displayname": "User", // can be null if not set
|
||||||
"threepids": [
|
"threepids": [
|
||||||
{
|
{
|
||||||
"medium": "email",
|
"medium": "email",
|
||||||
|
@ -207,11 +208,11 @@ server admin: <a href="../usage/administration/admin_api">Admin API</a></p>
|
||||||
"validated_at": 1586458409743
|
"validated_at": 1586458409743
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"avatar_url": "<avatar_url>",
|
"avatar_url": "<avatar_url>", // can be null if not set
|
||||||
|
"is_guest": 0,
|
||||||
"admin": 0,
|
"admin": 0,
|
||||||
"deactivated": 0,
|
"deactivated": 0,
|
||||||
"shadow_banned": 0,
|
"shadow_banned": 0,
|
||||||
"password_hash": "$2b$12$p9B4GkqYdRTPGD",
|
|
||||||
"creation_ts": 1560432506,
|
"creation_ts": 1560432506,
|
||||||
"appservice_id": null,
|
"appservice_id": null,
|
||||||
"consent_server_notice_sent": null,
|
"consent_server_notice_sent": null,
|
||||||
|
|
|
@ -11161,8 +11161,9 @@ about the user and their local media. Objects contain the following fields:
|
||||||
<p>To use it, you will need to authenticate by providing an <code>access_token</code> for a
|
<p>To use it, you will need to authenticate by providing an <code>access_token</code> for a
|
||||||
server admin: <a href="admin_api/../usage/administration/admin_api">Admin API</a></p>
|
server admin: <a href="admin_api/../usage/administration/admin_api">Admin API</a></p>
|
||||||
<p>It returns a JSON body like the following:</p>
|
<p>It returns a JSON body like the following:</p>
|
||||||
<pre><code class="language-json">{
|
<pre><code class="language-jsonc">{
|
||||||
"displayname": "User",
|
"name": "@user:example.com",
|
||||||
|
"displayname": "User", // can be null if not set
|
||||||
"threepids": [
|
"threepids": [
|
||||||
{
|
{
|
||||||
"medium": "email",
|
"medium": "email",
|
||||||
|
@ -11177,11 +11178,11 @@ server admin: <a href="admin_api/../usage/administration/admin_api">Admin API</a
|
||||||
"validated_at": 1586458409743
|
"validated_at": 1586458409743
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"avatar_url": "<avatar_url>",
|
"avatar_url": "<avatar_url>", // can be null if not set
|
||||||
|
"is_guest": 0,
|
||||||
"admin": 0,
|
"admin": 0,
|
||||||
"deactivated": 0,
|
"deactivated": 0,
|
||||||
"shadow_banned": 0,
|
"shadow_banned": 0,
|
||||||
"password_hash": "$2b$12$p9B4GkqYdRTPGD",
|
|
||||||
"creation_ts": 1560432506,
|
"creation_ts": 1560432506,
|
||||||
"appservice_id": null,
|
"appservice_id": null,
|
||||||
"consent_server_notice_sent": null,
|
"consent_server_notice_sent": null,
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue