WIP: API Public Mode #1
Reference in New Issue
Block a user
Delete Branch "public_mode"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Allow clients to create themselves and write their IP without any authentication or authorization.
Makes it possible to quickly deploy devices in a (trusted) local IoT environment without having to create and distribute API keys.
Implementation
Enabled by setting
ENV['RAILS_API_PUBLIC']to any value.New route:
POST /public/{client_name}View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.