added api docs

This commit is contained in:
2025-06-13 03:33:07 -05:00
parent 66aa62e624
commit 53302ff29b
3 changed files with 151 additions and 1 deletions

18
content/docs/api.md Normal file
View File

@@ -0,0 +1,18 @@
---
weight: 100
title: "MoonVeil REST API"
description: "Perform obfuscations programmatically"
icon: "article"
date: "2025-05-01T18:47:58-05:00"
lastmod: "2025-05-01T18:47:58-05:00"
---
MoonVeil is available to be used programmatically via it's web API if you'd like. Start by [creating an API token](/account).
## Authorization
Each API request expects an `Authorization` header in the format of `Authorization: Bearer mv-secret-...` where `mv-secret-...` is the API token you just created.
{{% alert context="warning" text="**DO NOT** share this token with anyone else!" /%}}
{{< swagger >}}

View File

@@ -9,4 +9,4 @@ lastmod: "2025-05-01T18:47:58-05:00"
[Macros](./macros/) are a collection of reserved global functions available for use in your scripts. These are only available at obfuscation-time and are not available at runtime, meaning trying to access these functions dynamically will fail.
They can be used in any script in [your dashboard](./dashboard/) and provide many useful tools for obfuscation.
They can be used in any script in [your dashboard](./dashboard/) or through the [API](./api/) and provide many useful tools for obfuscation.