feature/90-implement-public-website-for-device #17
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/90-implement-public-website-for-device"
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?
Implemented public website for a device:
The website is rendered when clicking the "Web" tab.ç
"New" and "Legacy" snapshots are supported.
Website is public, no authentication needed to render it.
If "application-json" header is set, the public information of the device is returned. For example:
Response:
Unit tests have been implemented in
device/tests/test_public_device_web.py
to validate this expected behaviour.