Apache ServiceMix Bundles API

The Bundles API from Apache ServiceMix — 2 operation(s) for bundles.

Operations 3

GET /bundles Apache ServiceMix List Bundles #
GET /bundles/{bundleId} Apache ServiceMix Get Bundle #
PUT /bundles/{bundleId} Apache ServiceMix Update Bundle State #

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/apache-servicemix-bundles-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

apache-servicemix-bundles-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Apache ServiceMix REST Bundles API
  description: Apache ServiceMix is an open-source ESB (Enterprise Service Bus) and integration container built on Apache Karaf, Camel, CXF, and ActiveMQ. This API provides REST endpoints for managing bundles, routes, endpoints, and messaging.
  version: 7.0.0
  contact:
    name: Apache ServiceMix
    url: https://servicemix.apache.org/
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0
servers:
- url: https://servicemix.example.com/api
  description: Apache ServiceMix REST API
tags:
- name: Bundles
paths:
  /bundles:
    get:
      operationId: listBundles
      summary: Apache ServiceMix List Bundles
      description: List all OSGi bundles deployed in ServiceMix.
      tags:
      - Bundles
      x-microcks-operation:
        dispatcher: RANDOM
      responses:
        '200':
          description: List of bundles
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BundleList'
  /bundles/{bundleId}:
    get:
      operationId: getBundle
      summary: Apache ServiceMix Get Bundle
      description: Get details of a specific OSGi bundle.
      tags:
      - Bundles
      x-microcks-operation:
        dispatcher: URI_PARTS
        dispatcherRules: bundleId
      parameters:
      - name: bundleId
        in: path
        required: true
        schema:
          type: integer
      responses:
        '200':
          description: Bundle details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Bundle'
    put:
      operationId: updateBundleState
      summary: Apache ServiceMix Update Bundle State
      description: Start, stop, or update the state of an OSGi bundle.
      tags:
      - Bundles
      x-microcks-operation:
        dispatcher: URI_PARTS
        dispatcherRules: bundleId
      parameters:
      - name: bundleId
        in: path
        required: true
        schema:
          type: integer
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BundleStateRequest'
      responses:
        '200':
          description: Bundle state updated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Bundle'
components:
  schemas:
    BundleStateRequest:
      type: object
      description: Request to update bundle state
      properties:
        state:
          type: string
          enum:
          - start
          - stop
          - restart
          - refresh
          - update
          description: Target state action
    Bundle:
      type: object
      description: OSGi bundle in ServiceMix
      properties:
        id:
          type: integer
          description: Bundle identifier
        name:
          type: string
          description: Bundle name
        symbolicName:
          type: string
          description: Bundle symbolic name
        version:
          type: string
          description: Bundle version
        state:
          type: string
          enum:
          - INSTALLED
          - RESOLVED
          - STARTING
          - ACTIVE
          - STOPPING
          - UNINSTALLED
          description: Bundle state
        location:
          type: string
          description: Bundle location URL
    BundleList:
      type: object
      description: List of OSGi bundles
      properties:
        bundles:
          type: array
          items:
            $ref: '#/components/schemas/Bundle'
        total:
          type: integer