added api docs
This commit is contained in:
18
content/docs/api.md
Normal file
18
content/docs/api.md
Normal 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 >}}
|
||||
|
@@ -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.
|
Reference in New Issue
Block a user