Retrieve a badge with given ID (if it exists).
Badge is identified by its stringified ObjectID.
ObjectID
const bagdeId: string = "5f5e555d5a578b6";const badge: Badge = await sdk.getBadgeById({ badgeId });
ID of the badge to fetch.
Generated using TypeDoc
Retrieve a badge with given ID (if it exists).
Badge is identified by its stringified
ObjectID
.Usage