Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Repo Connection ID
Response
200 - application/json
OK
List of inspections for this repository.
import Runloop from '@runloop/api-client';
const client = new Runloop({
bearerToken: 'My Bearer Token',
});
const repositoryInspectionListView = await client.repositories.listInspections('id');
console.log(repositoryInspectionListView.inspections);{
"inspections": [
{
"id": "<string>",
"commit_sha": "<string>",
"inspected_at": 123,
"repository_manifest": {
"container_config": {
"base_image_name": "<string>",
"setup_commands": [
"<string>"
],
"architecture": "x86_64"
},
"workspaces": [
{
"name": "<string>",
"path": "<string>",
"build_tool": [
"<string>"
],
"workspace_setup_commands": [
"<string>"
],
"workspace_refresh_commands": [
"<string>"
],
"dev_commands": {
"install": [
"<any>"
],
"build": [
"<any>"
],
"test": [
"<any>"
],
"lint": [
"<any>"
],
"scripts": [
"<any>"
]
}
}
],
"containerized_services": [
{
"name": "<string>",
"image": "<string>",
"credentials": {
"username": "<string>",
"password": "<string>"
},
"env": {},
"port_mappings": [
"<string>"
],
"options": "<string>"
}
],
"languages": [
{
"language": "<string>",
"version": "<string>"
}
],
"required_env_vars": [
"<string>"
],
"env_vars": {}
},
"user_manifest": {
"container_config": {
"base_image_name": "<string>",
"setup_commands": [
"<string>"
],
"architecture": "x86_64"
},
"workspaces": [
{
"name": "<string>",
"path": "<string>",
"build_tool": [
"<string>"
],
"workspace_setup_commands": [
"<string>"
],
"workspace_refresh_commands": [
"<string>"
],
"dev_commands": {
"install": [
"<any>"
],
"build": [
"<any>"
],
"test": [
"<any>"
],
"lint": [
"<any>"
],
"scripts": [
"<any>"
]
}
}
],
"containerized_services": [
{
"name": "<string>",
"image": "<string>",
"credentials": {
"username": "<string>",
"password": "<string>"
},
"env": {},
"port_mappings": [
"<string>"
],
"options": "<string>"
}
],
"languages": [
{
"language": "<string>",
"version": "<string>"
}
],
"required_env_vars": [
"<string>"
],
"env_vars": {}
},
"status": "invalid",
"build_status": "image_building",
"blueprint_id": "<string>",
"blueprint_name": "<string>",
"workflow_contexts": {}
}
]
}List all inspections of a repository connection including automatically generated insights for each inspection.
import Runloop from '@runloop/api-client';
const client = new Runloop({
bearerToken: 'My Bearer Token',
});
const repositoryInspectionListView = await client.repositories.listInspections('id');
console.log(repositoryInspectionListView.inspections);{
"inspections": [
{
"id": "<string>",
"commit_sha": "<string>",
"inspected_at": 123,
"repository_manifest": {
"container_config": {
"base_image_name": "<string>",
"setup_commands": [
"<string>"
],
"architecture": "x86_64"
},
"workspaces": [
{
"name": "<string>",
"path": "<string>",
"build_tool": [
"<string>"
],
"workspace_setup_commands": [
"<string>"
],
"workspace_refresh_commands": [
"<string>"
],
"dev_commands": {
"install": [
"<any>"
],
"build": [
"<any>"
],
"test": [
"<any>"
],
"lint": [
"<any>"
],
"scripts": [
"<any>"
]
}
}
],
"containerized_services": [
{
"name": "<string>",
"image": "<string>",
"credentials": {
"username": "<string>",
"password": "<string>"
},
"env": {},
"port_mappings": [
"<string>"
],
"options": "<string>"
}
],
"languages": [
{
"language": "<string>",
"version": "<string>"
}
],
"required_env_vars": [
"<string>"
],
"env_vars": {}
},
"user_manifest": {
"container_config": {
"base_image_name": "<string>",
"setup_commands": [
"<string>"
],
"architecture": "x86_64"
},
"workspaces": [
{
"name": "<string>",
"path": "<string>",
"build_tool": [
"<string>"
],
"workspace_setup_commands": [
"<string>"
],
"workspace_refresh_commands": [
"<string>"
],
"dev_commands": {
"install": [
"<any>"
],
"build": [
"<any>"
],
"test": [
"<any>"
],
"lint": [
"<any>"
],
"scripts": [
"<any>"
]
}
}
],
"containerized_services": [
{
"name": "<string>",
"image": "<string>",
"credentials": {
"username": "<string>",
"password": "<string>"
},
"env": {},
"port_mappings": [
"<string>"
],
"options": "<string>"
}
],
"languages": [
{
"language": "<string>",
"version": "<string>"
}
],
"required_env_vars": [
"<string>"
],
"env_vars": {}
},
"status": "invalid",
"build_status": "image_building",
"blueprint_id": "<string>",
"blueprint_name": "<string>",
"workflow_contexts": {}
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Repo Connection ID
OK
List of inspections for this repository.
Show child attributes
Was this page helpful?