Get the GitHub repository connection for a server, if one exists.
GET
/
servers
/
{namespace}
/
repo
JavaScript
Copy
Ask AI
import Smithery from '@smithery/api';const client = new Smithery({ apiKey: process.env['SMITHERY_API_KEY'], // This is the default and can be omitted});const response = await client.servers.repo.getByNamespace('namespace');console.log(response.autoDeploy);
import Smithery from '@smithery/api';const client = new Smithery({ apiKey: process.env['SMITHERY_API_KEY'], // This is the default and can be omitted});const response = await client.servers.repo.getByNamespace('namespace');console.log(response.autoDeploy);