POST
/
v1
/
repositories
/
inspections
/
{id}
/
add_user_manifest
Add user-defined manifest to repository 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": {}
}

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

Body

application/json

Response

200 - application/json

OK

The repository manifest contains container configuration and workspace definitions for a repository.