DP Technology (Bohrium) 容器镜像 (bohrium-image) API

容器镜像管理 — 查询、拉取、创建、删除镜像。免费。镜像地址位于 registry.dp.tech / registry.bohrium.dp.tech。

Operations 11

GET /openapi/v2/image/public/version/search 搜索公开镜像版本
GET /openapi/v2/image/public 公开镜像分类
GET /openapi/v2/image/public/{image_id}/version 公开镜像版本
POST /openapi/v2/image/private 创建私有镜像(Dockerfile 构建)
GET /openapi/v2/image/private 私有镜像列表
GET /openapi/v2/image/private/{image_id} 私有镜像详情
PUT /openapi/v2/image/private/{image_id} 更新镜像描述
POST /openapi/v2/image/dockerfile/check 校验 Dockerfile
GET /openapi/v2/image/last_used 最近使用镜像
POST /openapi/v2/image/{image_id}/share 分享镜像
DELETE /openapi/v2/image/{image_id}/share 取消分享

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/dp-bohrium-image-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

dp-bohrium-image-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Bohrium Open AI 科学小导师 (bohrium-mentor) AI 科学小导师 (bohrium-mentor) 容器镜像 (bohrium-image) 容器镜像 (bohrium-image) API
  description: 'Bohrium 平台对外 OpenAPI 的单一事实源(single source of truth)。


    本文档由仓库 `dptech-corp/bohrium-skills` 的 `docs/api/openapi.json` 维护,内容基于各 Skill(`zh/<skill>/SKILL.md`)中记录的真实接口生成;Apifox 定时从本仓库抓取并同步到 https://open.bohrium.com 。


    鉴权:所有接口使用 `Authorization: Bearer <BOHR_ACCESS_KEY>`。业务返回通常为 `{code, data, message}` 信封,`code==0` 成功,`code==2000` 未授权。


    计费端点在 operation 上以 `x-bohrium-price` 扩展标注机器可读价格,并在 description 末尾追加人类可读的「计费」行。


    说明:`bohrium-database`(SDK/CLI)与 `bohrium-sandbox`(CLI)不直接暴露 REST 端点,故本文档未收录其路径。'
  version: 2.0.0
servers:
- url: https://open.bohrium.com
  description: Bohrium OpenAPI 正式环境
security:
- bearerAuth: []
tags:
- name: 容器镜像 (bohrium-image)
  description: 容器镜像管理 — 查询、拉取、创建、删除镜像。免费。镜像地址位于 registry.dp.tech / registry.bohrium.dp.tech。
paths:
  /openapi/v2/image/public/version/search:
    get:
      tags:
      - 容器镜像 (bohrium-image)
      summary: 搜索公开镜像版本
      parameters:
      - name: keyword
        in: query
        required: false
        schema:
          type: string
      - name: page
        in: query
        required: false
        schema:
          type: integer
      - name: pageSize
        in: query
        required: false
        schema:
          type: integer
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiResponse'
  /openapi/v2/image/public:
    get:
      tags:
      - 容器镜像 (bohrium-image)
      summary: 公开镜像分类
      parameters:
      - name: page
        in: query
        required: false
        schema:
          type: integer
      - name: pageSize
        in: query
        required: false
        schema:
          type: integer
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiResponse'
  /openapi/v2/image/public/{image_id}/version:
    get:
      tags:
      - 容器镜像 (bohrium-image)
      summary: 公开镜像版本
      parameters:
      - name: image_id
        in: path
        required: true
        schema:
          type: string
      - name: page
        in: query
        required: false
        schema:
          type: integer
      - name: pageSize
        in: query
        required: false
        schema:
          type: integer
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiResponse'
  /openapi/v2/image/private:
    post:
      tags:
      - 容器镜像 (bohrium-image)
      summary: 创建私有镜像(Dockerfile 构建)
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                projectId:
                  type: string
                device:
                  type: string
                buildType:
                  type: string
                dockerfile:
                  type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiResponse'
    get:
      tags:
      - 容器镜像 (bohrium-image)
      summary: 私有镜像列表
      parameters:
      - name: device
        in: query
        required: false
        schema:
          type: string
      - name: type
        in: query
        required: false
        schema:
          type: integer
      - name: page
        in: query
        required: false
        schema:
          type: integer
      - name: pageSize
        in: query
        required: false
        schema:
          type: integer
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiResponse'
  /openapi/v2/image/private/{image_id}:
    get:
      tags:
      - 容器镜像 (bohrium-image)
      summary: 私有镜像详情
      parameters:
      - name: image_id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiResponse'
    put:
      tags:
      - 容器镜像 (bohrium-image)
      summary: 更新镜像描述
      parameters:
      - name: image_id
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                desc:
                  type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiResponse'
  /openapi/v2/image/dockerfile/check:
    post:
      tags:
      - 容器镜像 (bohrium-image)
      summary: 校验 Dockerfile
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                dockerfile:
                  type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiResponse'
  /openapi/v2/image/last_used:
    get:
      tags:
      - 容器镜像 (bohrium-image)
      summary: 最近使用镜像
      parameters:
      - name: type
        in: query
        required: false
        schema:
          type: integer
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiResponse'
  /openapi/v2/image/{image_id}/share:
    post:
      tags:
      - 容器镜像 (bohrium-image)
      summary: 分享镜像
      parameters:
      - name: image_id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiResponse'
    delete:
      tags:
      - 容器镜像 (bohrium-image)
      summary: 取消分享
      parameters:
      - name: image_id
        in: path
        required: true
        schema:
          type: string
      - name: device
        in: query
        required: false
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiResponse'
components:
  schemas:
    ApiResponse:
      type: object
      properties:
        code:
          type: integer
          description: 0 成功,2000 未授权
        message:
          type: string
        data:
          type: object
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Bohrium AccessKey,环境变量 BOHR_ACCESS_KEY,作为 Bearer token