Kévin Commaille
1aa2eadd70
client-api: Remove RuleScope
...
The `global` scope is hardcoded due to a clarification in the spec.
2024-10-19 14:58:59 -04:00
Kévin Commaille
2b986e1226
chore: Fix new rustfmt errors
2024-05-12 15:49:28 +02:00
Kévin Commaille
d6c4533b7d
chore: Fix new warnings
2024-05-12 15:49:28 +02:00
Nicolas Mauri
a2b64c20bc
client-api: Fix the http method of set_pushrule request serialization
...
… by using METADATA.method.
2023-06-05 19:23:20 +00:00
Kévin Commaille
f159776f52
chore: Make all applicable spec links use the latest spec instead of a specific version
2023-02-12 12:39:24 +01:00
Jonas Platte
ff8ab6b085
Replace ruma_common::serde::urlencoded with serde_html_form
2023-01-02 17:47:33 +01:00
Jonas Platte
3211fccab0
Remove borrowing in requests
2022-11-28 14:02:35 +01:00
Kévin Commaille
e8bec10c6d
push: Make SimplePushRule generic over the type of the rule_id
2022-11-12 10:59:52 +01:00
Jonas Platte
ae3394a6df
api: Turn metadata name and description fields into docstrings
2022-11-12 10:17:24 +01:00
Jonas Platte
80c060cb69
Remove usage of ruma_api!
2022-11-12 10:17:24 +01:00
Jonas Platte
2500e8f8fa
api: Make query_string parameter of make_endpoint_url non-optional
...
When Some(_), the argument would often be an empty string. By always
using the empty string to mean "no query", we avoid trailing a `?` on
URLs without having two parameter values that mean the same thing.
2022-11-11 11:27:07 +01:00
Jonas Platte
d25e40764b
client-api: Fix warnings when compiling with client and without server feature
2022-11-11 11:09:32 +01:00
Kévin Commaille
aa2e905ce3
client-api: Use an enum to construct set_pushrule's Request
2022-11-09 14:45:12 +01:00
Kévin Commaille
f31530e02c
client-api: Use an enum for the scope of the push rule endpoints
2022-11-09 14:45:12 +01:00
Kévin Commaille
045861441a
doc: Update Matrix spec links to v1.4
2022-10-21 10:41:20 +02:00
Kévin Commaille
f32dcb9254
common: Merge ruma-api into ruma-common
2022-03-03 14:01:51 +01:00
Jonathan de Jong
4787bab6ac
client-api: Transition from r0 to versioned endpoints
2022-02-18 11:03:55 +01:00