Logs
Properties
This table describes all properties of a Log object.
Name
Type
Required
Description
id
String
required
value
Double
required
created_date
Date
required
unit_type
required
habit_id
String
optional
Available Methods
List Logs
GET
https://api.habitify.me/logs/:habit_id
Path Parameters
Name
Type
Description
habit_id
string
The habit ID
Query Parameters
Name
Type
Description
from
string
Date Format
to
string
Date Format
Headers
Name
Type
Description
Authorization
string
API Key
Add Log
POST
https://api.habitify.me/logs/:habit_id
Path Parameters
Name
Type
Description
habit_id
string
Headers
Name
Type
Description
Authorization
string
API Key
Request Body
Name
Type
Description
unit_type
string
value
number
target_date
string
Date Format
Delete Log
DELETE
https://api.habitify.me/logs/:habit_id/:log_id
Path Parameters
Name
Type
Description
habit_id
string
Habit ID
log_id
string
Log ID
Headers
Name
Type
Description
Authorization
string
API Key
Delete Logs
DELETE
https://api.habitify.me/logs/:habit_id
Path Parameters
Name
Type
Description
habit_id
string
Query Parameters
Name
Type
Description
from
string
Date Format
to
string
Date Format
Headers
Name
Type
Description
Authorization
string
API Key
Last updated