173 Commits

Author SHA1 Message Date
Jimmy Cuadra
651fe9b3e3 Use ruma-api-macros for the receipt endpoints. 2017-07-06 00:57:29 -07:00
Jimmy Cuadra
beacb5f268 Use ruma-api-macros for the profile endpoints. 2017-07-05 22:45:33 -07:00
Jimmy Cuadra
a5427a5daf Use UserId instead of String for the login endpoint. 2017-07-05 20:37:57 -07:00
Jimmy Cuadra
6aceca259e Add missing docs, fix a bunch of bugs and inconsistencies. 2017-07-04 22:47:14 -07:00
Jimmy Cuadra
c447a612d3 Use ruma-api-macros for the presence endpoints. 2017-07-04 16:39:30 -07:00
Jimmy Cuadra
ebb05dc076 Merge pull request #20 from jplatte/more-modules
Use ruma-api-macros for more endpoints
2017-07-04 12:09:55 -07:00
Jonas Platte
351a6dbd0c Add event body to send requests 2017-07-04 22:02:47 +10:00
Jonas Platte
5c43a32b00 Use ruma-api-macros for the create_room endpoint 2017-07-04 22:02:47 +10:00
Jonas Platte
0a997d28a4 Remove unused serde attributes 2017-07-04 22:02:47 +10:00
Ross Schulman
a1a9064d28 Squash a bunch of bugs 2017-07-04 22:02:47 +10:00
Ross Schulman
3a854bf64a Update lib.rs with newly available calls 2017-07-04 22:02:47 +10:00
Ross Schulman
a097aa02f2 Port session.rs to ruma_api_macro 2017-07-04 22:02:47 +10:00
Ross Schulman
f715124190 Implement ruma_api macro 2017-07-04 22:02:47 +10:00
Jimmy Cuadra
06ddfdd681 Use ruma-api-macros for the membership endpoints. 2017-07-03 16:41:25 -07:00
Jimmy Cuadra
e0bb81ad67 Use ruma-api-macros for the media endpoints. 2017-07-01 15:39:45 -07:00
Jonas Platte
5f880dfbb1 Use ruma-api-macros for the send endpoints. 2017-06-29 03:35:41 +10:00
Simon Goller
6f9cb39506 Make aliases optional for global rooms query.
The server response cannot be deserialized because the aliases
attribute can be missing.  Wrapped the alias attribute with an
Option to fix the issue.
2017-06-18 18:20:12 +02:00
Jimmy Cuadra
392dc69b17 Use ruma-api-macros for the filter endpoints. 2017-05-21 02:19:54 -07:00
Jimmy Cuadra
dfb45a762f Use ruma-api-macros for the directory endpoints. 2017-05-19 21:25:18 -07:00
Jimmy Cuadra
4b728514ca Use ruma-api-macros for the context endpoints. 2017-05-19 21:09:58 -07:00
Jimmy Cuadra
a40ec4e07f Use ruma-api-macros for the contact endpoints. 2017-05-19 21:01:25 -07:00
Jimmy Cuadra
088aed514e Use ruma-api-macros for the config endpoints. 2017-05-19 06:02:28 -07:00
Jimmy Cuadra
11985ed337 Use ruma-api-macros for the alias endpoints. 2017-05-19 04:51:31 -07:00
Jimmy Cuadra
422043cf51 Use ruma-api-macros for the account endpoints. 2017-05-14 17:58:15 -07:00
Jimmy Cuadra
30fbb891fd Use ruma-api-macros for the versions endpoint. 2017-05-14 04:19:34 -07:00
Jimmy Cuadra
d28912a148 WIP 2017-05-11 23:35:17 -07:00
Andreas Brönnimann
3da855c56e The member event response contains the field chunk, not chunks 2017-01-15 16:05:40 +01:00
Victor Berger
8ab3c737b8
Update to ruma-api v0.3.
Also fixes a few errors encountered in the process and remove depcrecated tokenrefresh endpoint.
2017-01-08 18:19:27 +01:00
Jimmy Cuadra
28598352aa Implement serialization for QueryParams. 2017-01-07 05:28:33 -08:00
Victor Berger
a7bce18b59 Update /register to most recent spec 2017-01-05 10:57:59 +01:00
Antoine Proulx
4acdf9018e Convert path parameters in docs from colon-snake-case to brace-lower-camel-case 2017-01-02 10:21:16 -05:00
Jimmy Cuadra
1ca92148c5 Move the supported versions API endpoint into an "unversioned" module. 2017-01-02 01:51:35 -08:00
Victor Berger
472ce01769
Point-out inconsistencies with spec 2016-12-31 12:50:56 +01:00
Jimmy Cuadra
0535405ae6 Derive Clone, Copy, and Debug for Endpoint structs. 2016-12-30 23:13:19 -08:00
Jimmy Cuadra
130a4b5a98 Implement search endpoints. 2016-12-30 23:12:11 -08:00
Jimmy Cuadra
0b295fe0f0 Use consistent wording for QueryParams docs. 2016-12-30 17:42:46 -08:00
Jimmy Cuadra
8f0905adba Implement server administration endpoints. 2016-12-30 15:12:22 -08:00
Jimmy Cuadra
35672b968b Implement receipt endpoints. 2016-12-30 14:53:51 -08:00
Jimmy Cuadra
b103b87090 Link endpoint paths directly to the spec. 2016-12-30 14:53:51 -08:00
Jimmy Cuadra
8df29f8898 Implement content/media repository endpoints. 2016-12-30 14:53:43 -08:00
Jimmy Cuadra
e7562be4db Rename various modules. 2016-12-30 05:59:25 -08:00
Jimmy Cuadra
48727f1968 The filter parameter to /sync can be a full filter definition or a filter ID. 2016-12-30 05:13:58 -08:00
Jimmy Cuadra
9c1dd9e51f Warn on missing docs. 2016-12-30 05:04:23 -08:00
Andreas Brönnimann
501692aa2d The event_type is never used 2016-12-29 19:44:09 +01:00
Victor Berger
3c324d526c
Add serde attributes to Option and Vec, and missing #[derive]s 2016-12-28 19:38:50 +01:00
Victor Berger
6da028c0fe
fix doc error in get_filter 2016-12-28 17:36:25 +01:00
Victor Berger
6e3406ea97
events retrieveing endpoints 2016-12-28 17:29:54 +01:00
Victor Berger
db7f614ad7
filter endpoints 2016-12-28 17:13:57 +01:00
Victor Berger
4e7d85aa04
profile endpoints 2016-12-28 16:34:17 +01:00
Victor Berger
419031a767
publicRooms endpoint 2016-12-28 16:16:42 +01:00