Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sample data utility #38

Open
3 tasks
naz opened this issue Oct 28, 2020 · 1 comment
Open
3 tasks

Sample data utility #38

naz opened this issue Oct 28, 2020 · 1 comment
Assignees

Comments

@naz
Copy link
Contributor

naz commented Oct 28, 2020

Problem

Sample data used across different actions/triggers is often duplicated and needs synchronization.

Solution

  • as a warm up - update the member's sample data to the newest available (more context in this issue)
  • Make an audit of of what is actually returned currently.
  • Create an utility which would store sample data in a consistent way. ~When working on it API versioning should be taken into account. ~ There's no longer API versioning since Ghost v5.
    • for now this could be quite a manual filling out of data, just to make things work in a nicer way for Zapier clients. in the future we could come up with some automatic way of syncing the sample data (or at least notifying us of a change in the API response). few ways that come off the bat: looking up changes in snapshot files for relevant endpoints OR having Open API endpoint definition files that would generate sample content for Zapier integraion.

References

@naz naz added the bug label Sep 2, 2022
@naz
Copy link
Contributor Author

naz commented Sep 2, 2022

@royalfig this issue requires a little bit of experimentation around how to orgranize the "sample data" so that it's maintainable long term. Right now it's really hard to get an overview of what sample data is prompted to the user and where it's coming from on Ghost side. The very first point in the todo list might be a good exploration task to do first to familiarize yourself with what kind of beast we are dealing with here. Let me know if you need any help figuring that bit out!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants