Journal
Available Methods
List Habits
GET
https://api.habitify.me/journal
Filter habits with conditions like Journal screen on client-app.
Query Parameters
Name | Type | Description |
---|---|---|
target_date | string | See more: Date Format |
order_by | string | Enum: |
status | string | See more: Status |
area_id | string | The area ID that contains |
time_of_day | string | One or multiple enums, join with commas. Enum: |
Headers
Name | Type | Description |
---|---|---|
Authorization | string | API Key |
target_date:
All the response habits are running on target_date.
The format of target_date is Date Format.
status:
The status of habit filtering. See more: Status
Constants:
in_progress
The status of the habit is
in_progress
completed
The status of the habit is
completed
failed
The status of the habit is
failed
skipped
The status of the habit is
skipped
order_by:
The condition to sort the habits by condition.
Constants:
priority
To order the habits by priority.
reminder_time
To order the habits by reminder time.
status
The order the habits by status. By default:
none
,in_progress
,failed
,skipped
,completed
time_of_day:
The time of day of the habit
Constants:
morning:
The time of day of the habit is morning.
afternoon:
The time of day of the habit is afternoon.
evening:
The time of day of the habit is evening.
any_time:
The time of day of the habit is all day.
area_id:
The area contains the habits.
area_id
and time_of_day
is mutually exclusive.
Last updated