analytics/lib/plausible_web/plugins/api/views
Adam Rutkowski 99fd33522d
Expose goals w/ custom props through Sites/Plugins API (#5952)
* Improve goal custom props validation

* Implement goals with custom props in Plugins API

* Implement goals with custom props in Sites API

* DRY: Extract CustomProps schemas

* rename test

* Check for Props feature availability on goals with custom props creation

* Guard goals w/ custom props with billing feature checks

* ce

* ce

* Tidy up test

* credo

* Fix error wording for Sites API

* Update test/support/teams/test.ex

Co-authored-by: Artur Pata <artur.pata@gmail.com>

* Use strict map assertion per @apata's suggestion

* Stronger match

* Improve custom props validation

* Keep the hybrid feature encapsulated

* Format

* Revert "Keep the hybrid feature encapsulated"

This reverts commit 3d5d7cf4c8.

* Fixup

---------

Co-authored-by: Artur Pata <artur.pata@gmail.com>
2025-12-18 08:12:47 +00:00
..
capabilities.ex Add `GET /capabilities` to Plugins API (#3808) 2024-02-21 12:41:56 +01:00
custom_props.ex Update deps - follow up to #4255 (#4267) 2024-06-24 16:50:19 +02:00
error.ex OpenAPI: first pass on Plugins API - Shared Links (#3378) 2023-10-02 11:18:49 +02:00
goal.ex Expose goals w/ custom props through Sites/Plugins API (#5952) 2025-12-18 08:12:47 +00:00
pagination.ex Merge `Plugins.API.Router` into main one (#3767) 2024-02-12 10:44:32 +01:00
shared_link.ex Validate password cookie for password-protected shared links on internal stats API requests (#5932) 2025-12-08 07:05:31 +00:00
tracker_script_configuration.ex tracker_script_configuration: plugins API (step 5) (#5410) 2025-05-27 06:05:27 +00:00