analytics/lib/plausible_web/plugins/api/schemas
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
..
custom_prop Plugins API exentsions (custom props, bulk goal delete, goal creation => ListResponse always) (#3593) 2023-12-06 12:33:33 +01:00
goal Expose goals w/ custom props through Sites/Plugins API (#5952) 2025-12-18 08:12:47 +00:00
shared_link Tidy up openapi schema (#3498) 2023-11-08 11:51:37 +01:00
tracker_script_configuration ScriptV2: Domain change refinement (#5657) 2025-08-21 09:25:39 +00:00
capabilities.ex Consolidated View life cycle + billing integration (#5866) 2025-11-12 13:41:24 +00:00
custom_prop.ex Plugins API exentsions (custom props, bulk goal delete, goal creation => ListResponse always) (#3593) 2023-12-06 12:33:33 +01:00
error.ex Tidy up openapi schema (#3498) 2023-11-08 11:51:37 +01:00
goal.ex Plugins API: 2nd pass with Goals resource + SharedLinks schema changes (#3396) 2023-10-05 11:54:18 +02:00
link.ex Tidy up openapi schema (#3498) 2023-11-08 11:51:37 +01:00
not_found.ex Tidy up openapi schema (#3498) 2023-11-08 11:51:37 +01:00
pagination_metadata.ex Tidy up openapi schema (#3498) 2023-11-08 11:51:37 +01:00
payment_required.ex Tidy up openapi schema (#3498) 2023-11-08 11:51:37 +01:00
shared_link.ex Plugins API: 2nd pass with Goals resource + SharedLinks schema changes (#3396) 2023-10-05 11:54:18 +02:00
tracker_script_configuration.ex ScriptV2: Domain change refinement (#5657) 2025-08-21 09:25:39 +00:00
unauthorized.ex Tidy up openapi schema (#3498) 2023-11-08 11:51:37 +01:00
unprocessable_entity.ex Tidy up openapi schema (#3498) 2023-11-08 11:51:37 +01:00