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: