items
Gets all items
GET https://api.gwapes.com/items
Endpoint to return all dank items
Response
{
"message": "Success",
"success": true,
"body": [
{
"name": "A Plus",
"value": 8599000,
"attachment": "https://cdn.discordapp.com/emojis/991732639348293663.gif",
"lastUpdate": "2024-04-01T11:23:08.662Z"
}
]
}Creates or updates an item
PATCH https://api.gwapes.com/items
Creates or updates a dank member item.
Body
Name
Type
Description
name
string
Name of the item
value
number
Value of the item
attachment
string
url of the image for the item
Headers
Name
Value
Content-Type
application/json
Authorization
Your authentication token
Response
{
"message": "Success",
"success": true,
"body": {
"attachment": "https://cdn.discordapp.com/emojis/1007023088493400084.png",
"name": "Adventure Voucher",
"value": 2650000,
"lastUpdate": "2024-03-16T22:17:07.056Z"
}
}{
"message": "Error updating",
"success": true,
"body": {}
}Last updated