import Runloop from '@runloop/api-client';const client = new Runloop({ bearerToken: process.env['RUNLOOP_API_KEY'], // This is the default and can be omitted});const repositoryConnectionView = await client.repositories.create({ name: 'name', owner: 'owner' });console.log(repositoryConnectionView.id);
Create a connection to a Github Repository and trigger an initial inspection of the repo’s technical stack and developer environment requirements.
POST
/
v1
/
repositories
JavaScript
Copy
Ask AI
import Runloop from '@runloop/api-client';const client = new Runloop({ bearerToken: process.env['RUNLOOP_API_KEY'], // This is the default and can be omitted});const repositoryConnectionView = await client.repositories.create({ name: 'name', owner: 'owner' });console.log(repositoryConnectionView.id);