Skip to content

djung460/api-package-monitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

api-package-monitor

API for our Home Package Monitor project

USAGE

Mobile Facing

Sign up

http --json put http://host/api/signup username=username password=password phonenum=phonenumber deviceid=deviceid

Login

http --json put http://host/api/login username=username password=password

Update User's Phonenumber

http --json put http://138.197.213.158/api/updatenumber username=username password=password phonenumber=7788675309

Acknowledge - Acknowledges a request

http --json put http://host/api/acknowledge username=username password=password deviceid=deviceid approved=boolean

Check pending - Returns device info for if the device has a pending request (Should be called before getstatus)

http --json put http://host/api/checkpending username=username password=password deviceid=deviceid

Get owned devices - Returns devices and their status owned by the user

http --json put http://host/api/viewdevices username=username

Get status - Returns device info

http --json put http://host/api/getstatus username=username password=password deviceid=deviceid

Add a device - Adds a device to a user

http --json put http://host/api/adddevice username=username deviceid=deviceid

Remove a device - Removes a device from a user

http --json put http://host/api/removedevice username=username deviceid=deviceid

View Requests Log - Returns log of device

http --json put http://host/api/viewlog username=username deviceid=deviceid

About

API for our Home Package Monitor project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages