GET
/
v1
/
repositories
/
{id}
/
versions
import Runloop from '@runloop/api-client';

const client = new Runloop({
  bearerToken: process.env['RUNLOOP_API_KEY'], // This is the default and can be omitted
});

async function main() {
  const repositoryVersionListView = await client.repositories.versions('id');

  console.log(repositoryVersionListView.analyzed_versions);
}

main();
{
  "analyzed_versions": [
    {
      "commit_sha": "<string>",
      "analyzed_at": 123,
      "repository_setup_details": {
        "blueprint_id": "<string>",
        "env_initialization_command": "<string>",
        "workspace_setup": [
          "<string>"
        ]
      },
      "extracted_tools": {
        "package_manager": "<string>",
        "commands": {}
      },
      "status": "inspecting"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Repo Connection ID

Response

200 - application/json
OK
analyzed_versions
object[]
required

List of analyzed versions of this repository.