🕵️
The Warden
  • 🕵️The Warden
  • Quick Start
  • API References
    • Configuration
    • Authentication
    • Users
    • Networks
Powered by GitBook
On this page
  • Getting a License User
  • Creating a License User
  • Deleting a License User
  1. API References

Users

How to get/remove/modify users in the database through requests.

PreviousAuthenticationNextNetworks

Last updated 2 years ago

Getting a License User

This will get stored key/values from the user, Here is what stored in the user data object.

Key
Value

License

A 19 character string we use to link it to the user

Discord ID

A discord ID string we use to link to the user

Discord Name

A discord name string we use to link to the user

Email

An email we use to link to the user

GET https://localhost:8080/api/v1/license/users/get

This will retrieve user data from the database, What the user data contains are the network, checksum, products, public key, and a array of information.

Query Parameters

Name
Type
Description

type

String

The query type we are using to look up the user data

value

String

The value we use to math with the query type to look up the user data

{
    // Response
}
{
    // Response
}

Creating a License User

This will create a user in the database based on what the values have been given.

We plan to add custom key/value information based on the user creation.

POST https://localhost:8080/api/v1/license/users/add

This will create a user in the database based on what values have been given.

Query Parameters

Name
Type
Description

license

String

A license key that we use to link to the user

discord_id

String

A discord id we use to link to the user

discord_name

String

A discord name we use to link to the user

email

String

A email that we use to link to the user

{
    // Response
}
{
    // Response
}

This will remove a License User from the database

Once a license user is removed they are removed FOREVER.

We plan to add a rollback feature to retrieve deleted users from the past

DELETE https://localhost:8080/api/v1/license/users/remove

This will remove the user data from the database.

Query Parameters

Name
Type
Description

type

String

The query type we are using to look up the user data

value

String

The value we use to math with the query type to look up the user data

{
    // Response
}
{
    // Response
}

Deleting a License User

👨‍💼
👶
💀