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

feat(core-manager): implement watcher.getEvents action #3760

Merged
merged 4 commits into from
Jun 3, 2020

Conversation

sebastijankuzner
Copy link
Contributor

Summary

This PR add new action which is used for querying related data from the watcher database.

Action

Name: watcher.getEvents

Params:

Name Type Description
query Object Query.

Query:

Name Type Description
limit Number Query limit.
offset Number Query offset.
event String Name of event.

Response:

Name Type Description
total Number Total number of items matching the given query (without limit and offset).
limit Number Query limit.
offset Number Query offset.
data Array Array of watcher data items.

Checklist

  • Tests (if necessary)
  • Ready to be merged

@faustbrian faustbrian merged commit 4757531 into develop Jun 3, 2020
@ghost ghost deleted the feat/core-watcher/get-events branch June 3, 2020 05:09
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.

None yet

2 participants