tadhgboyle
|
86bdaad50d
|
Remove redundant try/catch blocks (#3647)
|
2025-05-10 17:43:44 -07:00 |
|
Partydragen
|
309e3b431a
|
Allow custom endpoint params (#3493)
|
2024-06-07 23:14:56 +01:00 |
|
tadhgboyle
|
0c80570609
|
Enable StyleCI (#3475)
* Create StyleCI config file
* Disable `phpdoc_separation`
* Apply fixes from StyleCI (#3476)
Co-authored-by: StyleCI Bot <bot@styleci.io>
* style: styleci fixes
---------
Co-authored-by: StyleCI Bot <bot@styleci.io>
Co-authored-by: Sam <samerton@users.noreply.github.com>
|
2024-03-09 11:19:55 +00:00 |
|
tadhgboyle
|
fcaa51708c
|
Use Symfony Response HTTP status code constants (#3472)
|
2023-12-16 09:23:59 -08:00 |
|
Tadhg Boyle
|
8d09a86cb8
|
Misc fixes + improvements (#3270)
|
2023-03-23 20:01:23 -07:00 |
|
Tadhg Boyle
|
a231335ce2
|
Fix style
|
2022-05-24 23:09:04 -06:00 |
|
Tadhg Boyle
|
e3b51b7337
|
New namespaced API error codes (Closes #2779)
|
2022-05-24 23:05:15 -06:00 |
|
Tadhg Boyle
|
ae354a5288
|
Catch errors when invalid endpoints are loaded
|
2022-05-22 17:37:04 -06:00 |
|
Robin
|
c89c158045
|
Use standard Authorization header (#2712)
|
2022-04-24 12:15:48 -07:00 |
|
Tadhg Boyle
|
ced66c580d
|
Simplify endpoint autoloading
|
2022-03-26 12:10:17 -07:00 |
|
Tadhg Boyle
|
54942769e9
|
Support looking up a user in the API many different ways (#2646)
|
2022-03-26 10:57:47 -07:00 |
|
Tadhg Boyle
|
b585a84de7
|
Add never return typehints to API methods
|
2022-03-20 11:33:38 -07:00 |
|
Tadhg Boyle
|
94e64c1207
|
Add PHPDocs to core classes for new class docs site (#2602)
|
2022-02-14 20:48:15 -08:00 |
|
Tadhg Boyle
|
8b577ce1fc
|
Fix API error code and route
|
2022-01-15 12:06:46 -08:00 |
|
Tadhg Boyle
|
c6a9f86f4d
|
API auth revamp (#2564)
|
2022-01-15 11:48:52 -08:00 |
|
Tadhg Boyle
|
4fa6f2f718
|
API route binding (#2561)
|
2022-01-15 11:45:26 -08:00 |
|
Tadhg Boyle
|
5a7cda9608
|
Add warning log message when a deprecated API endpoint route alias is used
|
2022-01-10 11:59:53 -08:00 |
|
Tadhg Boyle
|
1680427f6f
|
Add API endpoint "route aliases"
This lets us make the endpoints main routes different while keeping backwards compatibility and REST-ifying the API
|
2022-01-10 01:37:06 -08:00 |
|
Tadhg
|
e0133a5cd5
|
Get PHP-CS to pass!
|
2021-12-07 22:14:12 -08:00 |
|
Tadhg
|
cdb6c27bd9
|
Add optional $status param to throwError and returnArray API methods + implement some
|
2021-11-20 21:56:50 -08:00 |
|
Tadhg
|
6746b2fa30
|
Add HTTP response codes when invalid API action is made
|
2021-11-20 17:23:32 -08:00 |
|
Tadhg
|
6b59339eff
|
Fix same route endpoint handling + allow using "/" in endpoint routes
Credit: Supercrafter
|
2021-11-18 08:48:36 -08:00 |
|
Tadhg
|
814f771bb8
|
Add appropriate error for invalid HTTP method on an endpoint
|
2021-11-17 19:36:26 -08:00 |
|
Tadhg
|
748227d07e
|
Allow multiple endpoints with name route but different http methods be registered
|
2021-11-16 22:06:54 -08:00 |
|
Tadhg
|
868461b002
|
Check request method matches endpoint method, closes #2494
|
2021-11-16 21:54:39 -08:00 |
|
Tadhg
|
805e1e9e27
|
organize classes into folders + implement new autoloader
|
2021-10-27 22:26:24 -07:00 |
|