mirror of
https://github.com/eitchtee/WYGIWYH.git
synced 2026-01-15 05:33:26 +01:00
Import API #76
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Polsaker on GitHub (Nov 30, 2025).
Heya, it'd be neat if this project had a proper API so I can externally automate imports. I guess the existing access token feature of DRF could be used to facilitate this.
@eitchtee commented on GitHub (Nov 30, 2025):
Hey there, what do you mean by "proper"? We do have an API, it's not 1:1 with the UI, but it should cover most basic functions. Check the documentation on:
<your-wygiwyh-url>/api/docs/.@Polsaker commented on GitHub (Nov 30, 2025):
I can't upload CSV/XLS files via api to import using the very neat yaml configurable import engine. Being able to do that would be a game changer to automatically import balance reports I get by mail for example.
Instead I have to make a script to parse the file and shoot a bazillion requests to the
/api/transactions/endpoint.PS: While doing the above I noticed there's no way to get an account's "balance" via the API, so I can't make reconciliation transactions eithar
@eitchtee commented on GitHub (Dec 7, 2025):
@Polsaker I forgot to answer you, but I loved the idea. So much so the next update will have endpoints for sending files to import and to get the balance of an account. Let me know if have any other suggestions (or problems).
@Polsaker commented on GitHub (Dec 7, 2025):
awesome! this opens a ton of avenues for automation