LuaShield Documentation
  • What is LuaShield?
  • API Documentation
    • Projects
      • User Management
      • Script Management
Powered by GitBook
On this page
  • Quick Tips
  • Get Projects
  • Get Project
  • Make Project
  • Update Project
  • Delete Project
  1. API Documentation

Projects

This page shows you how to interact with your projects using our API

Quick Tips

Project names cannot exceed a length of 30 and they must have a minimum length of 3, they also cannot contain any special characters

The allowed_exploits object is structured as the following: { synapse_x: Boolean, script_ware: Boolean, synapse_v3: Boolean }

Get Projects

GET https://api.luashield.com/projects/

This will return all projects you own.

Headers

Name
Type
Description

LuaShield-API-Key*

String

API Key

[
	{
		"id": "1e23e699-d4b1-458e-add0-1745b733e7ab",
		"Executions": 1,
		"CrackAttempts": 0,
		"Users": 1,
		"Name": "Test23",
		"SuccessWebhook": "https://discord.com/api/webhooks/107954407617...",
		"BlacklistWebhook": "https://discord.com/api/webhooks/107954414352...",
		"UnauthorizedWebhook": "https://discord.com/api/webhooks/107954420517...",
		"Online": true,
		"SynapseX": true,
		"ScriptWare": false,
		"SynapseV3": true,
		"Scripts": [
			{
				"id": "a4954534-6e03-4095-8a4a-90f0d831e614",
				"Name": "dsf likes men",
				"ProjectID": "1e23e699-d4b1-458e-add0-1745b733e7ab",
				"Version": "v1.0.0",
				"Versions": [
					"v1.0.0"
				]
			}
		]
	},
	{
		"id": "44536b5a-74ad-461a-a36e-001518022321",
		"Executions": 0,
		"CrackAttempts": 0,
		"Users": 0,
		"Name": "LuaShield Internal",
		"SuccessWebhook": "https://discord.com/api/webhooks/107954407617...",
		"BlacklistWebhook": "https://discord.com/api/webhooks/107954...",
		"UnauthorizedWebhook": "https://discord.com/api/webhooks/107954420517...",
		"Online": true,
		"SynapseX": true,
		"ScriptWare": false,
		"SynapseV3": true,
		"Scripts": []
	}
]
{
    "error": "Invalid API Key"
}
{
    "error": "Your subscription has expired"
}

Get Project

GET https://api.luashield.com/projects/:project_id

Get information about a specific project

Path Parameters

Name
Type
Description

project_id*

String

The ID of the project

Headers

Name
Type
Description

LuaShield-API-Key*

String

API Key

{
	"id": "3851df88-139e-4e1d-8229-02ed58595e9b",
	"Executions": 0,
	"CrackAttempts": 0,
	"Users": 0,
	"Name": "LuaShield Internal",
	"SuccessWebhook": "https://discord.com/api/webhooks/...",
	"BlacklistWebhook": "https://discord.com/api/webhooks/10...vbx0z0mN0KyEt7lqLMk-Rxee3z",
	"UnauthorizedWebhook": "https://discord.com/api/webhooks/10...ssGCapVSR1P3uGfFrOC",
	"Online": true,
	"SynapseX": true,
	"ScriptWare": false,
	"SynapseV3": true,
	"Scripts": []
}
{
    "error": "Invalid API Key"
}
{
    "error": "This project doesn't exist"
}
{
    "error": "You don't own this project"
}
{
    "error": "Your subscription has expired"
}

Make Project

This endpoint has a limit of 5 requests per minute

POST https://api.luashield.com/projects

Make a project

Headers

Name
Type
Description

LuaShield-API-Key*

String

API Key

Request Body

Name
Type
Description

name*

String

Project Name

success_webhook*

String

Success Webhook

blacklist_webhook*

String

Blacklist Webhook

unauthorized_webhook*

String

Unauthorized Webhook

allowed_exploits*

Object

Choose what exploits to limit your project to

{
	"id": "3851df88-139e-4e1d-8229-02ed58595e9b",
	"Executions": 0,
	"CrackAttempts": 0,
	"Users": 0,
	"Name": "LuaShield Internal",
	"SuccessWebhook": "https://discord.com/api/webhooks/1079544076178829412/SLB0",
	"BlacklistWebhook": "https://discord.com/api/webhooks/1079544143526760470/nmRxee3z",
	"UnauthorizedWebhook": "https://discord.com/api/webhooks//Ej4LbEluR5JssGCapVSR1P3uGfFrOC",
	"Online": true,
	"SynapseX": true,
	"ScriptWare": false,
	"SynapseV3": true
}

{
    "error": "You have reached your maximum amount of projects for your account"
}

{
    "error": "Your subscription has expired"
}

Update Project

This endpoint has a limit of 5 requests per minute

PATCH https://api.luashield.com/projects/:project_id

Update a project

Path Parameters

Name
Type
Description

project_id*

String

ID of the project

Headers

Name
Type
Description

LuaShield-API-Key*

String

API Key

Request Body

Name
Type
Description

name*

String

Project Name

success_webhook

String

Success Webhook

blacklist_webhook

String

Blacklist Webhook

unauthorized_webhook

String

Unauthorized Webhook

allowed_exploits

Object

Choose which exploits have access

Online

Boolean

Project Online

{
	"id": "3851df88-139e-4e1d-8229-02ed58595e9b",
	"Executions": 0,
	"CrackAttempts": 0,
	"Users": 0,
	"Name": "LuaShield Internal",
	"SuccessWebhook": "https://discord.com/api/webhooks/1079544076178829412/SLB0",
	"BlacklistWebhook": "https://discord.com/api/webhooks/1079544143526760470/nmRxee3z",
	"UnauthorizedWebhook": "https://discord.com/api/webhooks//Ej4LbEluR5JssGCapVSR1P3uGfFrOC",
	"Online": true,
	"SynapseX": true,
	"ScriptWare": false,
	"SynapseV3": true
}

{
    "error": "This project doesn't exist"
}
{
    "error": "This project isn't owned by you"
}
{
    "error": "Your subscription has expired"
}

Delete Project

DELETE https://api.luashield.com/projects/:project_id

Delete a project

Headers

Name
Type
Description

LuaShield-API-Key*

String

API Key

{
	"success": true
}
{
    "error": "This project doesn't exist"
}
{
    "error": "This project isn't owned by you"
}
{
    "error": "Your subscription has expired"
}
PreviousAPI DocumentationNextUser Management

Last updated 2 years ago