curl --request POST \
--url https://api.runloop.ai/v1/repositories/inspections/{id}/add_user_manifest \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"container_config": {
"base_image_name": "<string>",
"setup_commands": [
"<string>"
]
},
"workspaces": [
{
"name": "<string>",
"path": "<string>",
"build_tool": [
"<string>"
],
"workspace_setup_commands": [
"<string>"
],
"workspace_refresh_commands": [
"<string>"
],
"dev_commands": {
"install": [
"<string>"
],
"build": [
"<string>"
],
"test": [
"<string>"
],
"lint": [
"<string>"
],
"scripts": [
"<string>"
]
}
}
],
"required_env_vars": [
"<string>"
],
"env_vars": {}
}'
{
"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": [
"<string>"
],
"build": [
"<string>"
],
"test": [
"<string>"
],
"lint": [
"<string>"
],
"scripts": [
"<string>"
]
}
}
],
"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": {}
}
Create and save a user-defined repository manifest to the latest inspection.
curl --request POST \
--url https://api.runloop.ai/v1/repositories/inspections/{id}/add_user_manifest \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"container_config": {
"base_image_name": "<string>",
"setup_commands": [
"<string>"
]
},
"workspaces": [
{
"name": "<string>",
"path": "<string>",
"build_tool": [
"<string>"
],
"workspace_setup_commands": [
"<string>"
],
"workspace_refresh_commands": [
"<string>"
],
"dev_commands": {
"install": [
"<string>"
],
"build": [
"<string>"
],
"test": [
"<string>"
],
"lint": [
"<string>"
],
"scripts": [
"<string>"
]
}
}
],
"required_env_vars": [
"<string>"
],
"env_vars": {}
}'
{
"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": [
"<string>"
],
"build": [
"<string>"
],
"test": [
"<string>"
],
"lint": [
"<string>"
],
"scripts": [
"<string>"
]
}
}
],
"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": {}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Repo Connection ID
OK
The repository manifest contains container configuration and workspace definitions for a repository.
Was this page helpful?