From e672d083f2be5a00bdb8d04a6a8f0098d330e003 Mon Sep 17 00:00:00 2001 From: Owen Date: Thu, 18 Sep 2025 11:23:34 -0400 Subject: [PATCH] Add info about the api now that its docs are up --- manage/blueprints.mdx | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/manage/blueprints.mdx b/manage/blueprints.mdx index 5d01891..1ec1785 100644 --- a/manage/blueprints.mdx +++ b/manage/blueprints.mdx @@ -25,6 +25,22 @@ YAML config can be applied using the API or from a Newt site. _Application throu + + + You can also apply blueprints directly through the Pangolin API with an API key. [Take a look at the API documentation for more details.](https://api.pangolin.fossorial.io/v1/docs/#/Organization/put_org__orgId__blueprint) + + POST to `/org/{orgId}/blueprint` with a base64 encodes JSON body like the following: + + ```json + { + "blueprint": "base64-encoded-json-content" + } + ``` + + [See this python example](https://github.com/fosrl/pangolin/blob/dev/blueprint.py) + + + ### Proxy Resources Proxy resources are used to expose HTTP, TCP, or UDP services through Pangolin. Below is an example configuration for proxy resources: