Skip to content

Conversation

@qinxx108
Copy link
Contributor

@qinxx108 qinxx108 commented Jun 20, 2023

Add API call back so the caller can perform action to the result of the api response

Use cases:

  • Limit the response size
  • Change the response order (eg: the callback might sort the alerts by creation timestamp)
  • Perform some extra filters on the response

An example of usage of this callback qinxx108@798c84b

Signed-off-by: Yijie Qin <qinyijie@amazon.com>
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.

1 participant