Grey Himmel
ef68a5250f
Return member after create/edit
...
Changing the POST and PATCH routes to return the member that's been created/edited, similar to how it worked before. Makes it easier to compare changes and get a newly created member's ID
2019-07-28 23:23:48 +02:00
xBelladonna
924924b10e
Add endpoint to create new member by POST request
2019-07-27 12:56:35 +02:00
Ske
d5c0856abf
Fix bounds checking on member patch endpoint
2019-07-19 18:36:47 +02:00
Ske
0b4335ccaa
Add logger to API service setup
2019-07-18 17:26:06 +02:00
Ske
483611702e
Fix error when switching with no previous switches
2019-07-18 12:09:19 +02:00
Ske
ca73a215c8
Add endpoint for querying messages by ID
2019-07-17 14:05:44 +02:00
Ske
e28ed585ce
Add endpoint for querying systems by Discord snowflake
2019-07-17 13:45:52 +02:00
Bella | Nightshade
1c48cb2fc7
Send CORS allowed headers in API response ( #114 )
...
Sends Access-Control-Allow-Headers Content-Type and Authorization in the API response headers
2019-07-17 13:39:07 +02:00
Ske
a188c64a0e
Clean up unused imports
2019-07-17 13:38:23 +02:00
Ske
e0a93ba608
Enable CORS for the API
2019-07-16 14:20:25 +02:00
Ske
29180bcd2e
Fix broken member info endpoint
2019-07-16 12:14:48 +02:00
Ske
39152dbd27
Add an endpoint to view your own system
2019-07-15 20:06:28 +02:00
Ske
cc31664f8b
Fix API port binding hopefully for good
2019-07-15 19:08:47 +02:00
Ske
cabbae0679
Have Kestrel listen on any IP
2019-07-15 18:09:14 +02:00
Ske
4450826241
Disable HTTPS redirection on API server
2019-07-15 17:58:05 +02:00
Ske
ebc311ecc3
Remove message query reaction AND open DB connection when obtaining one
2019-07-14 05:23:27 +02:00
Ske
d829630a35
Fix database connection pool contention (maybe)
...
Instead of acquiring a connection per service per request, we
acquire connections more often but at a more granular level, meaning
they're also disposed of more quickly instead of staying for a long time
in case of long-running commands or leaks.
2019-07-11 21:25:23 +02:00
Ske
641532daec
Fix API system fronter endpoint crashing on system with no switches
2019-07-10 12:54:54 +02:00
Ske
802eeb8d39
Version API endpoints
2019-07-10 00:23:41 +02:00
Ske
204404bd8d
Bounds check system details
2019-07-10 00:21:00 +02:00
Ske
9a5152a74c
Add member routes to API
2019-07-10 00:19:18 +02:00
Ske
4874879979
Add basic API, only with system endpoints
2019-07-09 20:39:29 +02:00