From 3873bd1cdc614853e35bc7a08f91223b358aa0bd Mon Sep 17 00:00:00 2001 From: Gabe Farrell Date: Tue, 18 Apr 2023 21:56:24 -0400 Subject: [PATCH] update API doc --- API.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/API.md b/API.md index 5201101..b7e0b8c 100644 --- a/API.md +++ b/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, + }, + ... + } +} +```