Commit Graph

58 Commits

Author SHA1 Message Date
Jan0660 e20e10c875 Route GET /users/@me 2021-09-14 22:20:03 +02:00
Paul 1ffad53c10 Add server flags to specification.
https://github.com/revoltchat/delta/pull/68
2021-09-14 15:56:43 +01:00
Paul 1212529499 Bump version to 0.5.3-alpha.1. 2021-09-14 14:07:03 +01:00
Paul Makles 1e23ecb9de Update last_message to just be last_message_id. 2021-09-14 13:38:50 +01:00
Paul 094f8e650d These should be PATCH. 2021-09-12 22:03:11 +01:00
Paul 097f40e371 _id should not be optional on SessionInfo 2021-09-11 17:13:26 +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
Paul Makles 097ca4df35 Merge pull request #1 from jack1142/patch-1
Change `channel` to `server` in `roleParams` for Server Permissions routes
2021-09-09 22:42:20 +01:00
Paul Makles 3eb910e08e Merge pull request #2 from goaaats/fix/youtube_timestamp
Add youtube timestamp to january types
2021-09-09 20:50:39 +01:00
goat 6111dc9455 fix: add youtube timestamp to january types 2021-09-07 17:17:20 +02:00
jack1142 40afcf8535 Change channel to server in roleParams for Server Permissions routes 2021-09-06 19:03:09 +02:00
Paul 310b3b54f1 Bump version. 2021-08-30 15:54:32 +01:00
insert 1cfbd86d55 Merge branch 'jack1142-master-patch-50191' into 'master'
Improve documentation of default_permissions

See merge request revolt/api!7
2021-08-30 14:52:45 +00:00
jack1142 7a41045a45 Improve documentation of default_permissions 2021-08-27 19:01:54 +00:00
insert 37e5ae221c Update January.ts 2021-08-23 11:51:03 +00:00
insert 8b4778c42c Merge branch 'jack1142-master-patch-20783' into 'master'
Properly mark optional fields (last_message and description)

See merge request revolt/api!5
2021-08-23 11:50:11 +00: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 f540ed38ef Mark last_message as optional as well 2021-08-19 03:17:58 +00:00
jack1142 4a367f6f8f Mark ServerChannel's description as optional 2021-08-19 03:11:25 +00:00
insert 14893a8c3e Merge branch 'jack1142-master-patch-86057' into 'master'
[Send Message] `replies` is an array of objects, not an object

See merge request revolt/api!4
2021-08-17 17:57:05 +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
Paul fb60a7db35 0.5.2-alpha.0
Bot API
2021-08-11 15:33: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
insert 221e933410 Change: Add bot description to public information. 2021-08-08 13:12:48 +00:00
Paul e9c638b126 Bump to 0.5.1-alpha.22. 2021-08-07 11:21:51 +01:00
Paul 3780f01892 Build spec. 2021-08-07 11:20:47 +01:00
Paul d70bdd4932 Add mark server as read route.
Include member count in invites.
2021-08-07 11:17:44 +01:00
Paul cdf034fe99 Fix relationship to user. 2021-07-30 12:51:53 +01:00
Paul 84edbf6557 Publish API. 2021-07-30 11:19:30 +01:00
Paul 64603c1b42 Fix export. 2021-07-27 13:51:45 +01:00
Paul 50f083b56b 0.5.1-alpha.10
Route: Changed ban member list to return users as well.
Disabled incremental compilation / fixed .gitignore.
2021-07-24 17:01:05 +01:00
insert 0471d8916c Merge branch 'fix-fetch-bans' into 'master'
Fix: Return user information on fetch bans.

See merge request revolt/api!2
2021-07-24 15:58:02 +00: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 a875288ce3 Generate OAPI 2021-07-11 19:43:31 +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