Javascript
import Runloop from '@runloop/api-client'; const client = new Runloop({ bearerToken: 'My Bearer Token', }); const repositoryConnectionView = await client.repositories.create({ name: 'name', owner: 'owner' }); console.log(repositoryConnectionView.id);
{ "id": "<string>", "name": "<string>", "owner": "<string>" }
Create a connection to a Github Repository and trigger an initial inspection of the repo’s technical stack and developer environment requirements.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Name of the repository.
Account owner of the repository.
GitHub authentication token for accessing private repositories.
ID of blueprint to use as base for resulting RepositoryVersion blueprint.
OK
The ID of the Repository.
The name of the Repository.
The account owner of the Repository.
Was this page helpful?