Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

hackage.haskell.org : mellon-web

The mellon-web package wraps a mellon-core controller in a REST web service, making it possible to control physical access devices from an HTTP client. The package includes both a WAI application server, and native Haskell client bindings for the service. Like the mellon-core controller interface, the mellon-web REST API is quite simple. There are only 3 methods: GET /time returns the system time on the server. This is made available for diagnostic purposes, primarily to ensure the server has an accurate clock. GET /state returns the controller's current state (either Locked or Unlocked date where date is the UTC time at which the controller will automatically lock again). PUT /state sets the controller's current state. Use this method to lock and unlock the controller. For detailed documentation, the server includes a self-documenting Swagger spec. Note that the mellon-web server does not provide an authentication mechanism! You should proxy it behind a secure, authenticating HTTPS server such as Nginx.

Registry - Source - Homepage - JSON
purl: pkg:hackage/mellon-web
Keywords: bsd3, library, web, haskell, iot, physical-access
License: BSD-3-Clause
Latest release: about 6 years ago
First release: almost 8 years ago
Dependent repositories: 1
Downloads: 5,590 total
Stars: 3 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 7 days ago

    Loading...
    Readme
    Loading...