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 response = await client.repositories.refresh('id');
console.log(response);{}Refresh a repository connection by inspecting the latest version including repo’s technical stack and developer environment requirements.
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 response = await client.repositories.refresh('id');
console.log(response);{}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Repo Connection ID
OK
The response is of type object.
Was this page helpful?