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

Restore lock-zone REST endpoint #64

Merged
merged 2 commits into from
Jan 25, 2018

Conversation

ice9js
Copy link
Member

@ice9js ice9js commented Dec 26, 2017

This PR adds back the lock endpoint to the REST API:

PUT /zones/{zoneId}/lock

Returns:

  • 400: If a the zoneId is missing or is invalid, or if the zone is already locked by another user.
  • 404: When the zoneId doesn't match any existing zone.
  • 200: When a lock has been placed successfully.

Copy link
Contributor

@pgk pgk left a comment

Choose a reason for hiding this comment

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

LGTM 💯

@ice9js ice9js merged commit dae5e60 into add/rest-api Jan 25, 2018
@ice9js ice9js deleted the update/restore-lock-zone-endpoint branch January 25, 2018 16:59
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