Endpoint | Response | Params | Method |
---|---|---|---|
/auth |
{
token: (string)
}
|
username, password | GET |
/account |
{
id: (int),
username: (string),
limit: (int)
}
|
GET | |
/entries |
[
{
id: (int),
timestamp: (timestamp),
food: {
id: (int),
name: (string),
calories: (int)
}
}
]
|
date('YYYY-MM-DD') | GET |
/entries/new |
{
id: (int),
timestamp: (timestamp),
food: {
id: (int),
name: (string),
calories: (int)
})
}
|
date('YYYY-MM-DD'), foodId | POST |
/entries/{id} |
{
id: (int),
timestamp: (timestamp),
food: {
id: (int),
name: (string),
calories: (int)
})
}
|
GET | |
/entries/{id} |
{
id: (int),
timestamp: (timestamp),
food: {
id: (int),
name: (string),
calories: (int)
})
}
|
date('YYYY-MM-DD'), foodId | PUT |
/entries/{id} |
{
id: (int)
}
|
DELETE |
-
Notifications
You must be signed in to change notification settings - Fork 0
Giant-Jelly/countcals
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published