Moods
Properties
The table describes all properties of a Mood object.
Name | Type | Required | Description |
id |
|
| |
value |
|
| |
created_at |
|
|
Available Methods
List Moods
GET
https://api.habitify.me/moods
Query Parameters
Name | Type | Description |
---|---|---|
target_date | string | Date Format |
Headers
Name | Type | Description |
---|---|---|
Authorization | string | API Key |
Get mood by id
GET
https://api.habitify.me/moods/:mood_id
Path Parameters
Name | Type | Description |
---|---|---|
mood_id | string |
Headers
Name | Type | Description |
---|---|---|
Authorization | string | API Key |
Create a new mood
POST
https://api.habitify.me/moods
Headers
Name | Type | Description |
---|---|---|
Authorization | string | API Key |
Request Body
Name | Type | Description |
---|---|---|
value | string | Only accept the value in |
created_at | string | Date Format |
Update mood
PUT
https://api.habitify.me/moods/:mood_id
Path Parameters
Name | Type | Description |
---|---|---|
mood_id | string |
Headers
Name | Type | Description |
---|---|---|
Authorization | string | API Key |
Request Body
Name | Type | Description |
---|---|---|
created_at | string | Date Format |
value | string | Only accept the value in |
Delete mood
DELETE
https://api.habitify.me/moods/:mood_id
Path Parameters
Name | Type | Description |
---|---|---|
mood_id | string |
Last updated