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.retrieve('id');
console.log(repositoryConnectionView.id);{
"id": "<string>",
"name": "<string>",
"owner": "<string>"
}Get Repository Connection details including latest inspection status and generated repository insights.
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.retrieve('id');
console.log(repositoryConnectionView.id);{
"id": "<string>",
"name": "<string>",
"owner": "<string>"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Repo Connection ID
Was this page helpful?