Metadata Methods
Available Methods
Method
Description
getBadgeDefinitions()
Usage
const definitions = await client.getBadgeDefinitions();Parameters
Response Type
interface BadgeDefinitions {
badges: BadgeDefinition[];
}
interface BadgeDefinition {
key: string;
title: string;
shortDescription: string;
longDescription: string;
metric: string;
imageUrl?: string;
levels: BadgeLevel[];
}
interface BadgeLevel {
level: number;
key: string;
value: number;
title: string;
shortDescription: string;
longDescription: string;
}Example
Use Cases
getCategoryDefinitions()
Usage
Parameters
Response Type
Example
Building a Score Improvement Guide
Caching Recommendations
Error Handling
Related
Last updated
