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

Make Mac Adress not required in devices #7

Closed
pral2a opened this issue Sep 8, 2015 · 1 comment
Closed

Make Mac Adress not required in devices #7

pral2a opened this issue Sep 8, 2015 · 1 comment
Assignees

Comments

@pral2a
Copy link
Member

pral2a commented Sep 8, 2015

In order the register process to work in 2 steps we should be able to POST a new device without mac_address and later add it or updated over a PATCH. Ensure devices with no mac_address have state: not_configured

http://new-apidocs.smartcitizen.me/#add-a-device

https://github.com/fablabbcn/smartcitizen/blob/723d0117238d7ca86b757bd738025458e523795c/app/models/device.rb#L9

@johnrees
Copy link
Member

johnrees commented Sep 9, 2015

314bfec

@johnrees johnrees closed this as completed Sep 9, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants