Orbital · Capability

Orbital Query API — Connections

Orbital Query API — Connections. 4 operations. Lead operation: Orbital List data source connections. Self-contained Naftiko capability covering one Orbital business surface.

Run with Naftiko OrbitalConnections

What You Can Do

GET
Listconnections — Orbital List data source connections
/v1/api/connections
POST
Createconnection — Orbital Create a data source connection
/v1/api/connections
GET
Getconnection — Orbital Get a data source connection
/v1/api/connections/{connectionid}
DELETE
Deleteconnection — Orbital Delete a data source connection
/v1/api/connections/{connectionid}

MCP Tools

orbital-list-data-source-connections

Orbital List data source connections

read-only idempotent
orbital-create-data-source-connection

Orbital Create a data source connection

orbital-get-data-source-connection

Orbital Get a data source connection

read-only idempotent
orbital-delete-data-source-connection

Orbital Delete a data source connection

idempotent

Capability Spec

query-connections.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Orbital Query API — Connections
  description: 'Orbital Query API — Connections. 4 operations. Lead operation: Orbital List data source connections. Self-contained
    Naftiko capability covering one Orbital business surface.'
  tags:
  - Orbital
  - Connections
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ORBITAL_API_KEY: ORBITAL_API_KEY
capability:
  consumes:
  - type: http
    namespace: query-connections
    baseUri: https://localhost:9022
    description: Orbital Query API — Connections business capability. Self-contained, no shared references.
    resources:
    - name: api-connections
      path: /api/connections
      operations:
      - name: listconnections
        method: GET
        description: Orbital List data source connections
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createconnection
        method: POST
        description: Orbital Create a data source connection
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-connections-connectionId
      path: /api/connections/{connectionId}
      operations:
      - name: getconnection
        method: GET
        description: Orbital Get a data source connection
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: connectionId
          in: path
          type: string
          required: true
      - name: deleteconnection
        method: DELETE
        description: Orbital Delete a data source connection
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: connectionId
          in: path
          type: string
          required: true
  exposes:
  - type: rest
    namespace: query-connections-rest
    port: 8080
    description: REST adapter for Orbital Query API — Connections. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/api/connections
      name: api-connections
      description: REST surface for api-connections.
      operations:
      - method: GET
        name: listconnections
        description: Orbital List data source connections
        call: query-connections.listconnections
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createconnection
        description: Orbital Create a data source connection
        call: query-connections.createconnection
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/connections/{connectionid}
      name: api-connections-connectionid
      description: REST surface for api-connections-connectionId.
      operations:
      - method: GET
        name: getconnection
        description: Orbital Get a data source connection
        call: query-connections.getconnection
        with:
          connectionId: rest.connectionId
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deleteconnection
        description: Orbital Delete a data source connection
        call: query-connections.deleteconnection
        with:
          connectionId: rest.connectionId
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: query-connections-mcp
    port: 9090
    transport: http
    description: MCP adapter for Orbital Query API — Connections. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: orbital-list-data-source-connections
      description: Orbital List data source connections
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: query-connections.listconnections
      outputParameters:
      - type: object
        mapping: $.
    - name: orbital-create-data-source-connection
      description: Orbital Create a data source connection
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: query-connections.createconnection
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: orbital-get-data-source-connection
      description: Orbital Get a data source connection
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: query-connections.getconnection
      with:
        connectionId: tools.connectionId
      outputParameters:
      - type: object
        mapping: $.
    - name: orbital-delete-data-source-connection
      description: Orbital Delete a data source connection
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: query-connections.deleteconnection
      with:
        connectionId: tools.connectionId
      outputParameters:
      - type: object
        mapping: $.