forked from plausible/analytics
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add listing sites, goals and custom props to Sites API (plausible#4302)
* Add listing sites, goals and custom props to Sites API * Rename exmaple props in tests * Rename `allowed_custom_props` -> `custom_properties` * Expose goal name in GET endpoints for goals in Sites API * Bump default pagination limit to 100 and max to 1000 * Introduce Goal.name/display_name and use the first one for name in API * Extend goal list response but hide currency * Settle on `display_name` instead of `name` * Allow viewer members to get site details and list site goals * Don't include currency in goal's display name
- Loading branch information
Showing
7 changed files
with
428 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.