mirror of
https://github.com/gabehf/BudgetBuddy.git
synced 2026-03-07 13:38:16 -08:00
update API doc
This commit is contained in:
parent
d2312648e7
commit
3873bd1cdc
1 changed files with 17 additions and 0 deletions
17
API.md
17
API.md
|
|
@ -248,3 +248,20 @@ Response:
|
|||
"decimal": int,
|
||||
}
|
||||
```
|
||||
## GET /income
|
||||
Get the total amount of income in each category
|
||||
|
||||
Response:
|
||||
```json
|
||||
{
|
||||
"status": int,
|
||||
"income_by_category": {
|
||||
"example_category": {
|
||||
"currency": string,
|
||||
"whole": int,
|
||||
"decimal": int,
|
||||
},
|
||||
...
|
||||
}
|
||||
}
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue