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

Add ability to trigger events directly from the API #137

Merged
merged 3 commits into from
Jul 25, 2019
Merged

Add ability to trigger events directly from the API #137

merged 3 commits into from
Jul 25, 2019

Conversation

rick-nu
Copy link
Member

@rick-nu rick-nu commented Jul 24, 2019

What

This PR adds the ability to trigger configured events directly from the API.

Why

If you want to trigger an event, you now had to push a status that fitted the event you want to trigger. This PR exposes an endpoint that allows you to directly trigger an event instead.

To do

  • Add documentation on POST /event

Copy link
Collaborator

@eXistenZNL eXistenZNL left a comment

Choose a reason for hiding this comment

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

Small textual changes, code looks good. Functional review will commence once my battery is full again (both of my laptop and my body)

docs/API.md Outdated Show resolved Hide resolved
@rick-nu rick-nu requested a review from eXistenZNL July 25, 2019 06:42
@eXistenZNL eXistenZNL merged commit 5c8996d into FuturePortal:master Jul 25, 2019
@T-888 T-888 mentioned this pull request Jul 26, 2019
@rick-nu rick-nu deleted the api-event-trigger branch April 9, 2022 19:56
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