MCPcopy Create free account
hub / github.com/adcontextprotocol/adcp / getCredentialDesigns

Function getCredentialDesigns

server/src/services/certifier-client.ts:99–103  ·  view source on GitHub ↗
(credentialId: string)

Source from the content-addressed store, hash-verified

97 * Get credential designs (certificate and badge images).
98 */
99export async function getCredentialDesigns(credentialId: string): Promise<CertifierDesign[]> {
100 const client = getClient();
101 const response = await client.get<CertifierDesign[]>(`/credentials/${credentialId}/designs`);
102 return response.data;
103}
104
105/**
106 * Get the badge image PNG URL for a credential.

Callers 1

getCredentialBadgeUrlFunction · 0.85

Calls 1

getClientFunction · 0.70

Tested by

no test coverage detected