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

[FEATURE] Add rest api to get list of trigger types - TRIGGER_TYPE #1422

Open
rblcoder opened this issue Feb 9, 2024 · 2 comments
Open

[FEATURE] Add rest api to get list of trigger types - TRIGGER_TYPE #1422

rblcoder opened this issue Feb 9, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@rblcoder
Copy link

rblcoder commented Feb 9, 2024

Is your feature request related to a problem?
Currently we need to hard-code list of trigger types in code and need to refer back to this repository from time to time to see if any additional types are added

What solution would you like?
Need to get a list of trigger types returned from a rest api

What alternatives have you considered?
Hard-coding the trigger types in code

Do you have any additional context?
Trigger types can be found here

@rblcoder rblcoder added enhancement New feature or request untriaged labels Feb 9, 2024
@rblcoder rblcoder changed the title Add rest api to get list of trigger types - TRIGGER_TYPE [FEATURE] Add rest api to get list of trigger types - TRIGGER_TYPE Feb 9, 2024
@eirsep eirsep removed the untriaged label Apr 5, 2024
@eirsep
Copy link
Member

eirsep commented Apr 5, 2024

@rblcoder Currently each trigger type is associated to specifc monitor type.

We encourage you to raise a PR to add support for such an API if you have a use case to list trigger types but i personally see more value in fetching the monitor types as that will help determine the trigger type

@rblcoder
Copy link
Author

rblcoder commented Apr 9, 2024

@eirsep Would it be better to derive the trigger types from a list of monitor types?
Is that rest API endpoint already available?

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

No branches or pull requests

2 participants