1.0.5 • Published 3 years ago

osiota-app-rest-api v1.0.5

Weekly downloads
3
License
MIT
Repository
github
Last release
3 years ago

osiota application rest-api

Osiota is a software platform capable of running distributed IoT applications written in JavaScript to enable any kind of IoT tasks. See osiota.

Configuration: rest-api

This application starts a seperate HTTP server to provide a REST api. With this REST api it is possible get the current state of a node or to call a RPC function. As REST (without extention) does not provide the publish subscribe pattern, we recommend to not use this application. You could use multiple instances of osiota and connect them with WebSocket connections instead.

See OpenAPI definition

Properties

NameTypeDescriptionRequired
server(HTTP server port)numberyes
base_pathstringServer path where to attach the REST API.Default: ""no

Additional Properties: not allowed Example

{
    "server": 8081,
    "base_path": ""
}

How to setup

Add a configuration object for this application, see osiota configuration:

{
    "name": "rest-api",
    "config": CONFIG
}

License

Osiota and this application are released under the MIT license.

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

1.0.5

3 years ago

1.0.2

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.1

3 years ago

1.0.0

4 years ago