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 machine info route using serial number #51

Merged
merged 3 commits into from
Feb 16, 2018

Conversation

sheagcraig
Copy link
Contributor

This should do it right?

I did this all in the GitHub web UI, but it looks right. (I tested using some Sal views to make sure it works like I expect).

Add additional route to retrieve computer info by serial.
Handle computer lookups by either ID or serial.
Might as well restrict computer ID to numbers while we're here, just to prevent someone with around a trillion computers from hitting the serial number route instead of the ID route.
@erikng
Copy link

erikng commented Feb 16, 2018

You are a machine.

@grahamgilbert
Copy link
Owner

LGTM. In the spirit of this PR, I will yolo merge and test later ;)

@grahamgilbert grahamgilbert merged commit e0f737f into grahamgilbert:master Feb 16, 2018
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.

3 participants