mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 08:36:03 -04:00
Add field total
to device list in admin API (#8644)
This commit is contained in:
parent
7b13780c54
commit
913f8a06e4
4 changed files with 23 additions and 2 deletions
|
@ -375,7 +375,8 @@ A response body like the following is returned:
|
|||
"last_seen_ts": 1474491775025,
|
||||
"user_id": "<user_id>"
|
||||
}
|
||||
]
|
||||
],
|
||||
"total": 2
|
||||
}
|
||||
|
||||
**Parameters**
|
||||
|
@ -400,6 +401,8 @@ The following fields are returned in the JSON response body:
|
|||
devices was last seen. (May be a few minutes out of date, for efficiency reasons).
|
||||
- ``user_id`` - Owner of device.
|
||||
|
||||
- ``total`` - Total number of user's devices.
|
||||
|
||||
Delete multiple devices
|
||||
------------------
|
||||
Deletes the given devices for a specific ``user_id``, and invalidates
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue