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

Added support for filtering by event type when listing events #564

Merged

Conversation

mrashed-dev
Copy link
Collaborator

Description

This PR adds support for filtering events by event type. Note that this feature is only for Google events.

License

I confirm that this contribution is made under the terms of the MIT license and that I have the authority necessary to make this contribution on behalf of its copyright owner.

Copy link
Contributor

@kraju3 kraju3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mrashed-dev Just curious when you pass in multiple eventTypes, do we join them together in the API request like this:

event_type=default&event_type=outOfOffice

https://developer.nylas.com/docs/api/v3/ecc/#get-/v3/grants/-grant_id-/events

@mrashed-dev
Copy link
Collaborator Author

@kraju3 good call out, fixed it

Copy link
Contributor

@kraju3 kraju3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mrashed-dev mrashed-dev merged commit 457477a into main May 17, 2024
4 checks passed
@mrashed-dev mrashed-dev deleted the TW-3072-node-add-support-for-event-type-filter-for-events branch May 17, 2024 19:56
@mrashed-dev mrashed-dev mentioned this pull request May 17, 2024
mrashed-dev added a commit that referenced this pull request May 17, 2024
# Changelog
* Added support for filtering by event type when listing events (#564)
* Added support for filtering a list of folders (#565)
* Fixed query parameters not being formatted properly (#564)
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

Successfully merging this pull request may close these issues.

2 participants