Skip to content

Giant-Jelly/countcals

Repository files navigation

Countcals

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published