Users
How to get/remove/modify users in the database through requests.
👨💼 Getting a License User
This will get stored key/values from the user, Here is what stored in the user data object.
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
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
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
}
👶 Creating a License User
This will create a user in the database based on what the values have been given.
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
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
String
A email that we use to link to the user
{
// Response
}
💀 Deleting a License User
This will remove a License User from the database
Once a license user is removed they are removed FOREVER.
DELETE
https://localhost:8080/api/v1/license/users/remove
This will remove the user data from the database.
Query Parameters
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
}
Last updated