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

Add eventSubtype to insights client #749

Open
raed667 opened this issue Jan 24, 2024 · 1 comment
Open

Add eventSubtype to insights client #749

raed667 opened this issue Jan 24, 2024 · 1 comment

Comments

@raed667
Copy link

raed667 commented Jan 24, 2024

  • Algolia Client Version: 3.31.0
  • Language Version: 1.21.5

Description

According to this documentation the insights API accepts an eventSubtype that seems to be missing from the package's type:

type Event struct {
	EventType string    `json:"eventType"`
	EventName string    `json:"eventName"`
	Index     string    `json:"index"`
	UserToken string    `json:"userToken"`
	Timestamp time.Time `json:"-"`
	ObjectIDs []string  `json:"objectIDs,omitempty"`
	Positions []int     `json:"positions,omitempty"`
	QueryID   string    `json:"queryID,omitempty"`
	Filters   []string  `json:"filters,omitempty"`
}

This would be a useful parameter to support.

@vredens
Copy link

vredens commented May 17, 2024

+1

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

No branches or pull requests

2 participants