go-firefly3/docs/SummaryApi.md
2024-05-11 14:45:50 +03:00

1.9 KiB

{{classname}}

All URIs are relative to https://demo.firefly-iii.org/api

Method HTTP request Description
GetBasicSummary Get /v1/summary/basic Returns basic sums of the users data.

GetBasicSummary

map[string]BasicSummaryEntry GetBasicSummary(ctx, start, end, optional) Returns basic sums of the users data.

Returns basic sums of the users data, like the net worth, spent and earned amounts. It is multi-currency, and is used in Firefly III to populate the dashboard.

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
start string A date formatted YYYY-MM-DD.
end string A date formatted YYYY-MM-DD.
optional *SummaryApiGetBasicSummaryOpts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a SummaryApiGetBasicSummaryOpts struct

Name Type Description Notes

xTraceId | optional.Interface of string| Unique identifier associated with this request. | currencyCode | optional.String| A currency code like EUR or USD, to filter the result. |

Return type

map[string]BasicSummaryEntry

Authorization

firefly_iii_auth, local_bearer_auth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/vnd.api+json, application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]