Fetch All
/api/v2/badge/fetch
Post
badges
jwt
pgn
Purpose
To allow a user to fetch all badges on the platform.
Body Content [input]
{
uid: string
}
Returns if valid [output]
{
badges: {
badgeID: string,
name: string,
description: string,
icon_type: string,
members: string[]
}[],
error: 0,
amount: int
}
What the API does
- Finds and returns all records from the
badges
collection.