Skip to content
This repository was archived by the owner on Jan 24, 2019. It is now read-only.

WyTho/NoSi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repository is ⚰️ ARCHIVED ⚰️

This repository is not being used anymore, the replacement is the Python flask backend/API

NoSI (NodeJS Service)

Routes


Route descriptions

Method Path Description
GET /getallhardware?apikey=APIKEY Returns a list of all hardware in the database
GET /getstate/name?apikey=APIKEY Returns the state of hardware with the name: name
GET /getactionlog?apikey=APIKEY Returns the entire actionlog
POST /updatestate?apikey=APIKEY Changes the state of hardware, exspects the body to be in this format:
name: Wekker
interaction: alarm
state: off
POST /newhardware?apikey=APIKEY Add hardware to database

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •