synapse icon indicating copy to clipboard operation
synapse copied to clipboard

Admin API documentation seems inconsistent with implementation

Open jplatte opened this issue 3 years ago • 3 comments

Description

According to https://github.com/ruma/synapse-admin-api/issues/14, the federatable and public fields in the response of the List room API return 0 / 1 instead of true / false, while the example in the linked documentation shows boolean values.

Steps to reproduce

Use the list room API? 🤷🏼

Homeserver

any

Synapse Version

unknown

Installation Method

No response

Platform

unknown

Relevant log output

-

Anything else that would be useful to know?

No response

jplatte avatar Aug 11 '22 13:08 jplatte

Is the server you are querying using a sqlite database rather than postgres?

DMRobertson avatar Aug 11 '22 15:08 DMRobertson

I haven't reproduced this myself, just carried over the bug report in https://github.com/ruma/synapse-admin-api/issues/14. @avp90 can you answer?

jplatte avatar Aug 11 '22 15:08 jplatte

Yes in my test case it's a SQLite database.

avp90 avatar Aug 11 '22 16:08 avp90