Commit Graph

37 Commits

Author SHA1 Message Date
Paul 56877c271e feat: add masquerade to messages 2021-11-04 19:37:02 +00:00
Paul 252ca10571 chore: bump version / remove nonce from req 2021-11-04 18:30:44 +00:00
Jan0660 1ef0c24a0f Add servers to GET /users/:user/mutual 2021-09-25 21:08:59 +02:00
Jan0660 e20e10c875 Route GET /users/@me 2021-09-14 22:20:03 +02:00
Paul 094f8e650d These should be PATCH. 2021-09-12 22:03:11 +01:00
Paul 78454aa18d Logout should not include path params. 2021-09-11 13:18:30 +01:00
Paul a743aff8fa Logout should be a POST. 2021-09-11 13:17:41 +01:00
Paul 55fe45e1eb Migrate to rAuth v1. 2021-09-11 12:35:04 +01:00
jack1142 40afcf8535 Change channel to server in roleParams for Server Permissions routes 2021-09-06 19:03:09 +02:00
insert cede4a2638 Merge branch 'jack1142-master-patch-82501' into 'master'
Update response from `/sync/reads` to be an array

See merge request revolt/api!6
2021-08-23 11:50:01 +00:00
jack1142 3307df42b2 Update response from /sync/reads to be an array 2021-08-20 21:19:18 +00:00
jack1142 34ef79dd9b [Send Message] replies is an array of objects, not an object 2021-08-16 23:58:21 +00:00
Paul 21a4abced0 Add nsfw flags to channels / servers. 2021-08-16 13:56:48 +01:00
Paul 0bee7c99a8 Change: Return 204 for empty content.
Change: Return bots and users.
2021-08-16 13:52:05 +01:00
Paul acd17d95ea Use Username for bot name. 2021-08-11 17:51:57 +01:00
Paul 11dab44269 Semantic changes. 2021-08-11 17:36:01 +01:00
insert 709479b613 Merge branch 'draft-bots' into 'master'
Bot API

See merge request revolt/api!1
2021-08-11 14:08:26 +00:00
Paul 0602c5936c Add role hoisting / ranking. 2021-08-11 14:16:16 +01:00
Paul d70bdd4932 Add mark server as read route.
Include member count in invites.
2021-08-07 11:17:44 +01:00
Paul 64603c1b42 Fix export. 2021-07-27 13:51:45 +01:00
Paul 333d770c0d Use Pick<User> instead of listing out fields. 2021-07-24 16:44:41 +01:00
Paul 0d60fe8543 Update "fetch bans". 2021-07-24 16:17:29 +01:00
Paul 496292f83c Add bot token authentication. 2021-07-21 18:25:10 +01:00
Paul 922f64e321 Add a route for fetching own bots. 2021-07-21 18:19:59 +01:00
Paul dc0e8acf89 Draft bot API. 2021-07-21 18:11:00 +01:00
Paul 170c588409 Minor fixes. 2021-07-21 17:10:35 +01:00
Paul 676cf920c9 0.5.1-alpha.8
Route: Added `Edit Role`.
Structure: Moved `Colour` into its own type.
Fix: Missing bodies on two auth routes.
Fix: First entry to edits should be optional.
Library: Ignore temp file.
Library: Add guidelines.
2021-07-12 20:32:18 +01:00
Paul a9407c3798 Update groupings. 2021-07-11 19:41:50 +01:00
Paul 0e44f57de2 Add auth routes. 2021-07-11 19:39:56 +01:00
Paul ddc634b1d2 Finish misc. routes. 2021-07-11 19:17:00 +01:00
Paul a4cd54d579 Finish server routes. 2021-07-11 18:45:09 +01:00
Paul a0904b9909 Add channel routes. 2021-07-11 17:59:20 +01:00
Paul 5bfdb16b03 Add OpenAPI generators, automation, and user routes. 2021-07-11 16:02:15 +01:00
Paul 032fa85a6b Finish up object typings, start work on generating OAPI specs. 2021-07-11 10:56:19 +01:00
Paul 2b5a28e500 Start writing Typescript defns. 2021-07-11 00:29:10 +01:00
Paul 3c55c7b0c6 ApiB attempt. 2021-07-10 23:11:03 +01:00
Paul 05721a0873 Initial Commit 2021-07-10 21:04:39 +01:00