The API
An API to track circadian rhythm.
Say goodbye to loading spreadsheets in the browser followed by manual data entry!
Built using Express.JS.
POSTInput data
localhost:3000/hourdata
Create new hourly data about the Circadian Rhythm.
HEADERS
Content-Type
Bodyraw
Example Request
Input data
Example Response
No response body
This request doesn't return any response body
No response headers
This request doesn't return any response headers
GETRetrieve data
localhost:3000/hourdata/:id?hour=11
Retrieve hourly data about the Circadian Rhythm.
PARAMS
date
hour
PATH VARIABLES
id
Example Request
Retrieve data
Example Response
No response body
This request doesn't return any response body
No response headers
This request doesn't return any response headers
GETRetrieve all data
localhost:3000/hourdata/?date=6-5-2019
Retrieve hourly data about the Circadian Rhythm.
HEADERS
Content-Type
PARAMS
date
hour
Example Request
Retrieve all data
Example Response
No response body
This request doesn't return any response body
No response headers
This request doesn't return any response headers
DELETEDelete data
localhost:3000/hourdata/:id
Delete hourly data about the Circadian Rhythm.
HEADERS
Content-Type
PATH VARIABLES
id
Example Request
Delete data
Example Response
No response body
This request doesn't return any response body
No response headers
This request doesn't return any response headers