Skip to main content
POST
/
achievements
/
test
/
monthly-badges
Test Monthly Badge Calculation
curl --request POST \
  --url https://www.api.baselink.tech/achievements/test/monthly-badges \
  --header 'bearer: <api-key>'
{
  "success": true,
  "message": "<string>",
  "calculatedBadges": [
    {}
  ],
  "calculatedBadges[].userId": "<string>",
  "calculatedBadges[].badgeType": "<string>",
  "calculatedBadges[].criteria": {}
}
Test the monthly badge calculation system. This is a testing endpoint used to verify badge calculation logic.
success
boolean
Indicates if the monthly badge calculation test completed successfully.
message
string
Test result message.
calculatedBadges
array
Array of badges that would be calculated for the current month.
calculatedBadges[].userId
string
The ID of the user who would receive this badge.
calculatedBadges[].badgeType
string
The type of badge that would be awarded.
calculatedBadges[].criteria
object
The criteria used to determine badge eligibility.