Commit Graph

18 Commits

Author SHA1 Message Date
Hypolite Petovan 9cc675233d Add a second parameter to BaseApi::getRequest to enable API tests 2021-11-27 18:38:09 -05:00
Philipp Holzer 8bdd90066f
Make `BaseModule` a real entity
- Add all dependencies, necessary to run the content (baseUrl, Arguments)
- Encapsulate all POST/GET/DELETE/PATCH/PUT methods as protected methods inside the BaseModule
- Return Module content ONLY per `BaseModule::run()` (including the Hook logic there as well)
2021-11-27 12:40:36 +01:00
Philipp Holzer 5879535822
Switch `static::$parameters` to `$this->parameters` 2021-11-14 23:49:07 +01:00
Philipp Holzer 489cd0884a
Make BaseModule methods dynamic 2021-11-14 23:49:06 +01:00
Philipp Holzer 714f0febc4
Replace `$parameters` argument per method with `static::$parameters` 2021-11-14 23:49:05 +01:00
Michael 78d4aff878 Set the "Link" header 2021-06-16 15:02:33 +00:00
Michael 11c8dfe73a Unified request for uid 2021-06-08 08:28:14 +00:00
Michael e3d227f3c9 API: Parameter cleanup 2021-05-19 06:18:42 +00:00
Michael e5c1b90668 API: Reworked request parameter handling 2021-05-18 19:26:46 +00:00
Michael f001f52e39 API: Fix relationships 2021-05-15 15:02:15 +00:00
Michael 494e852c1a Removed old comment 2021-05-12 15:41:05 +00:00
Michael 9125d296a1 Improved error messages 2021-05-12 14:00:15 +00:00
Michael 0ea2241eed Support the "only_media" parameter 2021-05-08 01:52:23 +00:00
Michael dd38cc330f API: We now support two more timeline api endpoints 2021-05-07 21:28:48 +00:00
Balázs Úr 054c301ef0 Update copyright 2021-03-29 08:40:20 +02:00
Michael 2b1d0b9db8 "selectForUser" and "" selectFirstForUser" is now moved to Post 2021-01-16 22:37:27 +00:00
Michael ba4685dfb1 API: Support for reshared items 2020-11-01 11:01:57 +00:00
Michael c030275815 API: accounts and trends 2020-10-31 22:32:26 +00:00