analytics/test/plausible_web/plugs
hq1 6035618213
Add GET /capabilities to Plugins API (#3808)
* Add `GET /capabilities` to Plugins API

It aims to:

 - help the client verify the data-domain the token is associated with
 - list all the features available for the site's owner
   (and therefore determine availability of the subset of those for the current
   Plugins API caller)

The endpoint does not require authentication, in the sense that it'll
always respond with 200 OK. However when the token is provided,
a verification lookup is made.

* Remove IO.inspect() call

* Credo

* Aesthetics

* s/send_resp/send_error/

* Call preload just once
2024-02-21 12:41:56 +01:00
..
auth_plug_test.exs Run tests in async mode where applicable (#2542) 2022-12-26 10:20:29 -03:00
authorise_site_access_test.exs Google APIs integration improvements (#2358) 2022-10-24 09:34:02 +02:00
authorize_plugins_api_test.exs Add GET /capabilities to Plugins API (#3808) 2024-02-21 12:41:56 +01:00
favicon_test.exs Escape domain when creating URL for favicon (#2942) 2023-05-19 13:26:13 +02:00
first_launch_plug_test.exs Remove custom domains support + update build options (#3559) 2023-11-29 11:04:54 +01:00
no_robots_test.exs Prevent robots from looking too much into public dashboards (#3118) 2023-07-11 10:47:03 +02:00
session_timeout_plug_test.exs Formatting only changes - No code change (#75) 2020-06-08 10:35:13 +03:00
tracker_test.exs Run tests in async mode where applicable (#2542) 2022-12-26 10:20:29 -03:00