mirror of
https://github.com/fosrl/pangolin.git
synced 2026-07-17 07:04:36 -05:00
[GH-ISSUE #37] Access via API #12070
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 @akhil-naidu on GitHub (Jan 12, 2025).
Original GitHub issue: https://github.com/fosrl/pangolin/issues/37
Pangolin is great, but to use it for automations, having access to API calls would be great.
@oschwartz10612 commented on GitHub (Jan 12, 2025):
It does have an external API but it is fairly undocumented. You could take a look at https://github.com/fosrl/pangolin/blob/main/server/routers/external.ts for now to see all of the endpoints and also the Bruno folder in the root. We have some endpoints like login in there and it is used by https://www.usebruno.com/.
You could use this right now to integrate. For auth you would need to log in with a user and pass to get a token.
We will definitely work on more documentation in the future and maybe easier API auth.