Skip to main content
GET
/
servers
/
{qualifiedName}
/
icon
JavaScript
import Smithery from '@smithery/api';

const client = new Smithery({
  apiKey: process.env['SMITHERY_API_KEY'], // This is the default and can be omitted
});

const icon = await client.servers.icon.get('qualifiedName');

console.log(icon);

const content = await icon.blob();
console.log(content);
"<string>"

Authorizations

Authorization
string
header
required

Smithery API key as Bearer token

Path Parameters

qualifiedName
string
required

The server's qualified name (e.g. 'namespace/server' or 'namespace' for namespace-only servers). Use %2F to encode the slash.

Response

Icon image

The response is of type file.