GET
/
v1
/
repositories
/
{id}
/
inspections
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 repositoryInspectionListView = await client.repositories.listInspections('id');

console.log(repositoryInspectionListView.inspections);
{
  "inspections": [
    {
      "commit_sha": "<string>",
      "inspected_at": 123,
      "repository_manifest": {
        "container_config": {
          "base_image_name": "<string>",
          "setup_commands": [
            "<string>"
          ]
        },
        "workspaces": [
          {
            "name": "<string>",
            "path": "<string>",
            "package_manager": "<string>",
            "workspace_setup_commands": [
              "<string>"
            ],
            "workspace_refresh_commands": [
              "<string>"
            ],
            "dev_commands": {
              "install": "<string>",
              "build": "<string>",
              "test": "<string>",
              "lint": "<string>"
            },
            "required_env_vars": [
              "<string>"
            ]
          }
        ]
      },
      "status": "invalid",
      "blueprint_id": "<string>",
      "blueprint_name": "<string>"
    }
  ]
}

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

The response is of type object.