Web application with REST for IoT
The application does provide simple API which you can use for your own purposes.
The documentary is not compleate, you can perform many more actions such as [PUT, PATCH, DELETE, HEAD, OPTIONS]
Currently there is only one server [There will be IP Address]
Method type: [GET]
Endpoint: /api/stations/
Method type: [GET]
Endpoint: /api/stations/[int]/
Method type: [GET]
Endpoint: /api/stations/[int]/sensors/
Important You need to be logged in + you have to be owner of the specific station
Method type: [POST]
Endpoint: /api/stations/[int]/sensors/
Form-data: 'name' = [string]
Method type: [GET]
Endpoint: /api/stations/[int]/sensors/[int]
Method type: [GET]
Endpoint: /api/stations/[int]/sensors/[int]/data/
Important You need to be logged in + you have to be owner of the specific station
Method type: [POST]
Endpoint: /api/stations/[int]/sensors/[int]/data/
Form-data: 'value' = [int]