element-hq / element-hq/synapse
User admin API returns integers instead of booleans on SQLite, or the documentation is incorrect
Open
A-Admin-API
A-Database
A-SQLite
O-Uncommon
S-Tolerable
T-Defect
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 600
- Avg merge
- 5d 22h
- Merged PRs (30d)
- 51
Description
This issue has been migrated from [#13519](https://github.com/matrix-org/synapse/issues/13519).
---
Similar to #13505.
Originally reported by @jplatte in https://github.com/matrix-org/synapse/pull/13509#issuecomment-1212916888:
### Description
The first example on https://matrix-org.github.io/synapse/develop/admin_api/user_admin_api.html shows this:
```
"is_guest": 0,
"admin": 0,
"deactivated": 0,
"shadow_banned": 0,
```
but some of these fields are mentioned as being `bool` further down.
Contributor guide
Assessment
This issue has not been assessed yet.