Skip to content

Conversation

@NikosVlagoidis
Copy link
Contributor

This PR adds the functionality to filter actions on /api/v1/actions endpoint by tags.
For example:
https://{host}/api/v1/actions?tags=test

Will return all actions that are tagged with the name test.

@NikosVlagoidis NikosVlagoidis force-pushed the filter_actions_by_tag branch from d6f3433 to d23f880 Compare July 2, 2018 07:15
@Kami Kami added this to the 2.9.0 milestone Jul 3, 2018
@Kami
Copy link
Member

Kami commented Jul 3, 2018

Thanks, looks good to me.

It looks like the user can only filter by a single tag? And not multiple ones using "OR" approach?

If so, I'm fine with that since we don't really have a good existing convention for handling "OR" filters across the API (although we do have plans to work on that in the future).

@Kami
Copy link
Member

Kami commented Jul 3, 2018

Please also add a corresponding changelog entry.

This commit adds the ability to filter actions by a tag name.
@NikosVlagoidis NikosVlagoidis force-pushed the filter_actions_by_tag branch from d23f880 to 1e126a8 Compare July 4, 2018 12:16
@NikosVlagoidis
Copy link
Contributor Author

Changelog entry added!

@Kami Kami merged commit 6261a2a into StackStorm:master Jul 9, 2018
@Kami
Copy link
Member

Kami commented Jul 9, 2018

Merged - thanks!

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