-
Notifications
You must be signed in to change notification settings - Fork 143
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
Endpoints for Event Collections and Collection Properties #139
Comments
Hi Chip! Yes, you can build a dashboard to display particular queries. There's a sample dashboard found in the Keen docs: https://keen.io/docs/data-visualization/#dashboard-template I think you'll also find this helpful (this isn't really officially launched yet) but there are more examples and sample layouts you can reference while you're building your own custom client-facing dashboard: http://keenlabs.github.io/dashboards/! |
Thanks @maggiejan for dashboard examples! RE: the collections, @chiplay – would wrapping these endpoints do the trick? |
@maggiejan Thanks for the resource links! @dzello That would work great! This one also seems useful for what we're looking to do - but using the two above should achieve the same result, just more API calls each time a new event collection is selected: https://keen.io/docs/api/reference/#event-resource |
Methods outside of a project context could sit on the namespace, and methods w/ a project context could live on the client instance. The methods could be named similarly to the API resource but with a verb and some modifications for clarity: // namespace methods
Keen.getProjects()
Keen.getProject("my-project-id")
// client methods, all use the client-configured project ID
keenClient.getProject()
keenClient.getCollection("my-collection")
keenClient.getCollections() What do you think? |
👍 I dig it, should we add |
Yeah, or keenClient.getProperty("my-collection", "my-property")
|
Ahh, ok – sounds good! On Thu, Oct 16, 2014 at 12:36 PM, Josh Dzielak notifications@github.com
|
We're looking to build out a client-side dashboard and would love the ability to fetch a list of our event collections and their respective properties for use in UI dropdowns for constructing queries / funnels. Any chance those could make it into the js lib?
The text was updated successfully, but these errors were encountered: