Dashboard chart with asset account balance information.
This endpoint returns the data required to generate a chart with basic asset account balance information. This is used on the dashboard.
Parameters
X-Trace-Idstring<uuid>headerUnique identifier associated with this request.
startstring<date>requiredqueryA date formatted YYYY-MM-DD.
endstring<date>requiredqueryA date formatted YYYY-MM-DD.
periodstring1D1W1M3M6M1YqueryOptional period to group the data by. If not provided, it will default to '1M' or whatever is deemed relevant for the range provided.
If you want to know which periods are available, see the enums or get the configuration value: GET /api/v1/configuration/firefly.valid_view_ranges
preselectedstringemptyallassetsliabilitiesqueryOptional set of preselected accounts to limit the chart to. This may be easier than submitting all asset accounts manually, for example.
If you want to know which selection are available, see the enums here or get the configuration value: GET /api/v1/configuration/firefly.preselected_accounts
empty: do not do a pre-selectionall: select all asset and all liability accountsassets: select all asset accountsliabilities: select all liability accounts
If no accounts are found, the user's "frontpage accounts" preference will be used. If that is empty, all asset accounts will be used.
Response
Line chart oriented chart information. Check out the model for more details. Each entry is a line (or bar) in the chart.
Bad request
Unauthenticated
Page not found
Validation error. The body will have the exact details.
Internal exception
Authorization
firefly_iii_authoauth2OAuth2 authorization code flow. Create a client on your installation's /profile page; it authorizes at /oauth/authorize and issues tokens at /oauth/token there. The URLs below are the demo site's. How to use the API walks through it.
local_bearer_authhttp (bearer)A Personal Access Token, sent as a bearer token. Create one on your installation under Options > Profile > OAuth > Personal Access Tokens.
