analytics/lib/plausible_web/plugins/api/views
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
..
capabilities.ex Add GET /capabilities to Plugins API (#3808) 2024-02-21 12:41:56 +01:00
custom_props.ex Plugins API exentsions (custom props, bulk goal delete, goal creation => ListResponse always) (#3593) 2023-12-06 12:33:33 +01:00
error.ex OpenAPI: first pass on Plugins API - Shared Links (#3378) 2023-10-02 11:18:49 +02:00
goal.ex Merge Plugins.API.Router into main one (#3767) 2024-02-12 10:44:32 +01:00
pagination.ex Merge Plugins.API.Router into main one (#3767) 2024-02-12 10:44:32 +01:00
shared_link.ex Merge Plugins.API.Router into main one (#3767) 2024-02-12 10:44:32 +01:00