Short Update: API v2 Now Available in Unstable Branch for Testing! #93
ChrispyBacon-dev
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
Just a quick update on DockFlare's development. I've implemented initial API v2 support in the
unstable
branch!This new API is a significant step towards:
).
Want to try it out?
You can pull the latest unstable build with API v2 support:
(Please remember this is an unstable build, primarily for testing and development.)
Example API v2 Endpoints:
Once your container is running (e.g., on
http://localhost:5000
):Get an overview of the current DockFlare state:
Add a new manual ingress rule:
First, create a
rule.json
file:Then, send the request:
curl -X POST -H "Content-Type: application/json" -d @rule.json http://localhost:5000/api/v2/rules/manual
This API includes endpoints for managing rules, access policies, agent status, and more. The full list of endpoints and their expected payloads are being finalized and will be documented soon.
Your feedback and testing on these new API endpoints would be very helpful.
Cheers,
Chris
Beta Was this translation helpful? Give feedback.
All reactions