You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
analytics/lib/plausible/plugins/api
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
3 years ago
..
capabilities.ex Add `GET /capabilities` to Plugins API (#3808) 3 years ago
custom_props.ex Plugins API exentsions (custom props, bulk goal delete, goal creation => ListResponse always) (#3593) 3 years ago
goals.ex Plugins API exentsions (custom props, bulk goal delete, goal creation => ListResponse always) (#3593) 3 years ago
shared_links.ex Implement new sites view (#3463) 3 years ago
token.ex Remove custom domains support + update build options (#3559) 3 years ago
tokens.ex Track tokens usage (#3438) 3 years ago