WIP: API Public Mode #1

Draft
pascal wants to merge 1 commits from public_mode into trunk
Owner

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}

### 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}`
pascal added 1 commit 2021-03-07 15:51:16 -06:00
This pull request is marked as a work in progress.
This branch is out-of-date with the base branch
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin public_mode:public_mode
git checkout public_mode
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: pascal/rynDNS#1