12 Commits

Author SHA1 Message Date
Jonas Platte
a774771fc9
Remove verbose error types from tests 2021-04-13 14:14:27 +02:00
Jonas Platte
0e197aae0b
api: Update try_from_http_request to be generic like try_from_http_response 2021-04-12 20:38:22 +02:00
Kévin Commaille
154f9b2d58
docs: Document compat feature uses 2021-04-07 12:47:44 +02:00
Jonas Platte
a310ccc318
client-api: Move some tests behind feature flags 2021-04-06 17:20:47 +02:00
Julian Sparber
f053200462 ruma-client-api: Use Mxc type
This also fixes the wrong mxc url in the test for joined_members. Mxc
urls don't use a ":" as seperator between server name and media id.
2021-03-25 13:04:23 +01:00
Jonas Platte
f5e67d0f63
client-api: Deserialize empty avatar_url to None in set_avatar_url (feature = "compat") 2021-02-18 13:28:21 +01:00
Jonas Platte
6dd738c315
client-api: Skip avatar_url in set_avatar_url request serialization if it's None 2021-02-18 12:30:02 +01:00
Vincent Lee
d36d005b97
Change requires_authentication: bool to authentication: AuthScheme 2020-09-18 16:28:51 +02:00
Jonas Platte
67d113ba57
api: Add non_exhaustive attribute to request and reponse types through the macro 2020-09-11 21:01:02 +02:00
Jonas Platte
e7dde6850c
client-api: Update profile endpoints to the new API standards 2020-09-03 17:44:34 +02:00
Ragotzy.devin
5376a3fc6e
Add colons to ruma_api! macro after each keyword 2020-06-30 13:06:37 +02:00
Jonas Platte
6329cd471e Add 'ruma-client-api/' from commit '632eb9d520028816c5fb7224bd0aca8d1e3793f1'
git-subtree-dir: ruma-client-api
git-subtree-mainline: e5233c49f610f866e3c9bf8529a0613171fc2fe4
git-subtree-split: 632eb9d520028816c5fb7224bd0aca8d1e3793f1
2020-06-05 17:11:09 +02:00